cisco路由器&三层交换机简单环境配置实例
一、网络拓扑图: 二、配置命令: 1、路由器的配置: interface FastEthernet0/0 ip address 10.66.88.222 255.255.255.0 ip nat outside duplex auto speed auto interface FastEthernet0/1 ip address 192.168.1.1 255.255.255.0 ip nat inside duplex auto speed auto interface Vlan1 no ip address shutdown ip nat inside source list 1 interface FastEthernet0/0 overload ip classless ip route 192.168.2.0 255.255.255.0 192.168.1.222 ip route 192.168.3.0 255.255.255.0 192.168.1.222 access-list 1 permit 192.168.0.0 0.0.255.255 三、三层交换机的配置: hostname L3-SW ip dhcp pool vlan2pool network 192.168.3.0 255.255.255.0 default-router 192.168.3.1