- 论坛徽章:
- 0
|
PC------4507====6509A====6509B...\r\n====表示trunk。\r\n配置:\r\n4507:\r\n int vlan 100\r\n ip address 192.168.100.1 255.255.255.0\r\n \r\n int f1/0/1\r\n switchport trunk encap dot1q\r\n switchport mode trunk\r\n desc To 6509A\r\n\r\n int f2/1/1\r\n switch mode access vlan 200\r\n desc 接PC\r\n\r\n6509A:\r\n int vlan100\r\n ip address 192.168.100.2 255.255.255.0\r\n\r\n int vlan200\r\n ip address 192.168.200.2 255.255.255.0\r\n standby ip 192.168.200.254\r\n\r\n int f2/1/1\r\n switchport trunk encap dot1q\r\n switchport mode trunk\r\n desc To 4507\r\n\r\n int f3/1/1\r\n switchport trunk encap dot1q\r\n switchport mode trunk\r\n desc To 6509B\r\n\r\n6509B:\r\n int vlan100\r\n ip address 192.168.100.3 255.255.255.0\r\n\r\n int vlan200\r\n ip address 192.168.200.3 255.255.255.0\r\n standby ip 192.168.200.254\r\n \r\n int f3/1/1\r\n switchport trunk encap dot1q\r\n switchport mode trunk\r\n desc To 6509A\r\n\r\n 6509两路由器起OSPF,但都不把VLAN200的网段加入。VTP都是透明模式。4507仅仅配置VLAN100的IP。\r\n现在的情况是:PC路由设置为192.168.200.254,PC能PING通两6509VLAN100,VLAN200的IP,但不能PING通4507上VLAN100的IP,给4507加上静态路由ip route 0.0.0.0 0.0.0.0 ip address 192.168.100.2后,情况依旧,但4507上能PING6509上的VLAN200的地址,但不能PING PC。为什么?\r\n想了老久还是不明白\n\n[ 本帖最后由 bhpang2 于 2009-12-19 21:02 编辑 ] |
|