Cisco4506双机冗余配置问题

来源:互联网 发布:知到智慧树登陆 编辑:程序博客网 时间:2024/05/18 01:10

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

 

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#

 

原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 扣扣帐号忘记了怎么办 扣扣帐号被冻结怎么办 xp忘了开机密码怎么办 手机怎样知道好友qq密码怎么办 找回微信密码申诉失败怎么办 若微信号被盗钱怎么办 微信号被倒了怎么办 微信支付密码忘了怎么办 微信钱包密码忘了怎么办 忘记qq锁屏密码怎么办 微信里保密柜密码忘记了怎么办 qq漫游记录密码忘了怎么办 当你很烦的时候怎么办 当你烦的时候怎么办 面对刁蛮不讲理的老婆怎么办 老是想以前的事怎么办 被心机婊陷害了怎么办 分手了还被骚扰怎么办 苹果手机屏幕出现冷暖屏怎么办 我感觉媳妇不漂亮怎么办 90后赚不到钱怎么办 处对象感觉好累怎么办 谈朋友感觉好累怎么办 家庭条件不好娶老婆难办怎么办? 异地恋闹矛盾了怎么办 有人威胁要杀我全家怎么办 分手了借我的钱怎么办 脸打架打肿了怎么办 人家不加我qq好友怎么办 一个好友被删了怎么办 dnf脸黑怎么办还有办法 我想登别人微信怎么办 昌硕工资没到怎么办 昌硕离职不批怎么办 昌硕工资不到卡怎么办 上海人去苏州工作社保怎么办 娶个个脾气暴躁的媳妇怎么办 满脸的黑头痘痘怎么办 脚底磨起泡不敢走路怎么办 老婆老是找异性朋友怎么办 喜欢的人有对象怎么办