Cisco4506双机冗余配置问题

最近有兴趣学习下交换机的配置,在进行双机冗余配置时遇到以下问题:

 

1)同一个VLAN中的主机能和虚拟网关通讯,但主机之间不能ping 通过。

 

2)各VLAN中的主机能ping 通各VLAN IP和虚拟网关,但主机之间不能互相通讯。

 

 

可能是路由的问题但不知道如何解决,请各位前辈指点一二,谢谢!

 

下面是网络拓扑说明:

 

(1)两台Cisco 4506作核心交换,4506A是Master,4506B是备份机,之间通过各自的G1/1连接

 

(2)楼层交换机是两台3500,分别通过F0/1、F0/2和两台4506的F3/1、F3/2建立冗余线路

 

 

 以下是我对核心交换机、楼层交换机的配置:

hostname 4506A
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 1,10,20 priority 4096
power dc input 2500
!

interface GigabitEthernet1/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/2
!
interface FastEthernet3/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet3/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!

interface Vlan1
 no ip address
!
interface Vlan10
 ip address 192.168.10.3 255.255.255.0
 standby priority 120
 standby 1 ip 192.168.10.1
 standby 1 timers 3 5
 standby 1 priority 120
 standby 1 preempt
!
interface Vlan20
 ip address 192.168.20.3 255.255.255.0
 standby 2 ip 192.168.20.1
 standby 2 priority 110
 standby 2 preempt
!
interface Vlan99
 ip address 172.16.0.1 255.255.255.0

ip classless
no ip http server
!
!
!
!
!
line con 0
 stopbits 1
line vty 0 4
!
end

4506A#

===========================

 

hostname 4506B
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 1,10,20 priority 4096
power dc input 2500
!
!

interface GigabitEthernet1/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/2
!
interface FastEthernet3/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet3/2
 switchport trunk encapsulation dot1q
 switchport mode trunk

!
interface Vlan1
 no ip address
!
interface Vlan10
 ip address 192.168.10.2 255.255.255.0
 standby 1 ip 192.168.10.1
 standby 1 timers 3 5
 standby 1 priority 110
 standby 1 preempt
!
interface Vlan20
 ip address 192.168.20.2 255.255.255.0
 standby 2 ip 192.168.20.1
 standby 2 timers 3 5
 standby 2 priority 120
 standby 2 preempt
!
interface Vlan99
 ip address 172.16.0.2 255.255.255.0
  shutdown
!
ip classless
no ip http server
!
!
!
!
!
line con 0
 stopbits 1
line vty 0 4
 no login
!
end

4506B#

==========================

 

!
hostname 3500A
!
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk

interface FastEthernet0/47
 switchport access vlan 10
!
interface FastEthernet0/48
 switchport access vlan 10
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface VLAN1
 no ip directed-broadcast
 no ip route-cache
!
!
line con 0
 transport input none
 stopbits 1
line vty 5 15
!
end

==========================

 

!
hostname 3500B
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk

interface FastEthernet0/47
 switchport access vlan 20
!
interface FastEthernet0/48
 switchport access vlan 20
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface VLAN1
 no ip directed-broadcast
 no ip route-cache
!
!
line con 0
 transport input none
 stopbits 1
line vty 0 4
 login
line vty 5 15
 login
!
end

3500B#

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值