- 论坛徽章:
- 0
|
PC------4507====6509A====6509B...
====表示trunk。
配置:
4507:
int vlan 100
ip address 192.168.100.1 255.255.255.0
int f1/0/1
switchport trunk encap dot1q
switchport mode trunk
desc To 6509A
int f2/1/1
switch mode access vlan 200
desc 接PC
6509A:
int vlan100
ip address 192.168.100.2 255.255.255.0
int vlan200
ip address 192.168.200.2 255.255.255.0
standby ip 192.168.200.254
int f2/1/1
switchport trunk encap dot1q
switchport mode trunk
desc To 4507
int f3/1/1
switchport trunk encap dot1q
switchport mode trunk
desc To 6509B
6509B:
int vlan100
ip address 192.168.100.3 255.255.255.0
int vlan200
ip address 192.168.200.3 255.255.255.0
standby ip 192.168.200.254
int f3/1/1
switchport trunk encap dot1q
switchport mode trunk
desc To 6509A
6509两路由器起OSPF,但都不把VLAN200的网段加入。VTP都是透明模式。4507仅仅配置VLAN100的IP。
现在的情况是: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。为什么?
想了老久还是不明白
[ 本帖最后由 bhpang2 于 2009-12-19 21:02 编辑 ] |
|