在写入擦除和重新加载一个思科871w后,开始新鲜。 我无法在wan(fa4)之外ping通。
我给vlan1(默认)一个IP,因为显然内置的“4端口交换机”是一个二层设备,所以你不能直接添加IP到端口,如2800系列。
Fa4(wan端口)实际上是一个layer3端口,所以我添加设置(ip,mask,speed,duplex)到fa4。
没有设置ACL。
我可以ping连接到其中一个端口的另一个设备,也可以ping一台连接的计算机的vlan。 我可以ping除路由器以外的任何内容。 我无法从连接的计算机ping通fa4,也不能ping通fa4以外的任何东西。
我宁愿控制台,如果可能的话使用命令行界面,但我也可以使用http界面。
ip source-route ! ! ! ! ip cef no ipv6 cef ! multilink bundle-name authenticated ! ! ! ! ! ! archive log config hidekeys ! ! ! bridge irb ! ! interface FastEthernet0 ! interface FastEthernet1 ! interface FastEthernet2 ! interface FastEthernet3 ! interface FastEthernet4 ip address 65.191.147.200 255.255.254.0 ip nat outside ip virtual-reassembly no ip route-cache cef duplex auto speed auto no cdp enable ! interface Dot11Radio0 no ip address shutdown speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0 station-role root ! interface Vlan1 ip address 192.168.1.1 255.255.255.0 bridge-group 1 ! interface BVI1 ip address 192.168.1.1 255.255.255.0 ip nat inside ip virtual-reassembly ! ip forward-protocol nd ip http server no ip http secure-server
简而言之:
no ip route 192.168.1.0 255.255.255.0 61.190.146.1 no ip route 192.168.1.0 255.255.255.0 61.190.147.0 interface vlan 1 no ip address 192.168.1.1 255.255.255.0 bridge-group 1 interface bvi1 ip address 192.168.1.1 255.255.255.0 ip nat inside exit bridge 1 route ip ip route 0.0.0.0 0.0.0.0 <your default gateway> ! (if you don't get a default route via RIP) ip nat inside source list 1 interface FastEthernet4 overload ip access-list 1 permit 192.168.1.0 0.0.0.255
你确定要启用RIP和NAT吗?
你尝试在configuration模式下添加ip routing命令吗? 你也有一个默认路由?