- 积分
- 260
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2012-9-5
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
|
8鸿鹄币
在sw1上配置命令:
!
spanning-tree vlan 101 root priority
interface Vlan101
ip address 192.168.101.1 255.255.255.0
standby version 2
standby 1 ip 192.168.101.254
standby 1 priority 110
standby 1 preempt
!
interface Vlan102
ip address 192.168.102.1 255.255.255.0
standby version 2
standby 2 ip 192.168.102.254
在sw2上配置命令:
!
spanning-tree vlan 101 root priority
!
interface Vlan101
ip address 192.168.101.2 255.255.255.0
standby version 2
standby 1 ip 192.168.101.254
!
interface Vlan102
ip address 192.168.102.2 255.255.255.0
standby version 2
standby 2 ip 192.168.102.254
standby 2 priority 110
standby 2 preempt
sw1 和sw2 使用HSRP,sw1作为vlan101的ACtive,而且vlan101 的跟桥也是sw1
sw2 作为lan102的Active,而且vlan102 的跟桥是sw2
交换机sw1、sw2、sw3之间使用trunk。
为什么在vlan101的pc无法ping通vlan102中的pc????
|
最佳答案
查看完整内容
你的vlan101 PC能ping通vlan102 的网关么?我配了下,vlan102能ping通vlan101的网关,ping不同PC,在想是不是因为生成树的问题,sw3上的端口被locking了,
|