有一校园网,已知其一级路由(与internet直接相连)
来源:百度知道 编辑:UC知道 时间:2024/05/31 04:13:59
的LAN口的地址是192.168.2.1,子网掩网为255.255.255.0,校园内有三个部门,要求用路由隔开,不能直接访问(即不能通过网上邻居互访),但都可以连接internet,请规划这个网络。(画拓扑结构图,并写出相应路由及客户机的网)
图发我邮箱:500yht@163.com 在此先谢了。
图发我邮箱:500yht@163.com 在此先谢了。
简单,练习题而已,牵扯到得知识有:
静态路由,默认路由,VLan划分
建议楼主搜索以上概念并学习。
配置如下:
interface FastEthernet0
no ip address
half-duplex
!
interface FastEthernet0.1
encapsulation dot1Q 1 native
ip address 192.168.2.0 255.255.255.0
ip nat outside
!
interface FastEthernet0.2
encapsulation dot1Q 2
ip address 192.168.1.0 255.255.255.0
ip access-group 2 out
ip nat inside
!
interface FastEthernet0.3
encapsulation dot1Q 3
ip address 192.168.3.0 255.255.255.0
ip access-group 3 out
ip nat inside
!
交换机配置如下:
switch f0/1
sw acc
sw vlan 1
switch f0/2
sw acc
sw vl