我想将我的设备设置为 L3 模式(特别是 3560X-S)。
特别是,我希望你配置多播。
因为我没有配置成组播,所以特地来问一下组播配置的问题。
从拓扑图中可以看到,共有三种交换机型号,如SG300、3560X、4500X。
3560Xs 是 IP base,IP base 没有别的选择,只能启用 stub。
一、情况:
- PC_1,PC_2 ...,整个 PC 都在使用 mDNS,因此它们使用多播。
- 基于 PC_1 的多播流量,它没有通过 GW(4500X)。
我想那是因为我没有在其他任何地方配置多播。
二、问题:
- 当我配置 3560X 交换机时,我可以在组播情况下使用存根模式吗?(4500X 的标准,这些是左右两侧不同的域。)如果不是,我可以从 3560X-S 更改为 E(IP 基础 -> IP 服务)吗?
- 我知道存根仅用于网络顶部?我怎么说.. 也就是说,存根交换机位于不同域的 2 个 IP 之间。
我想知道你是否能理解,因为我不太懂英语。。
如果你不明白我的解释,请不要犹豫告诉我。
- - - - - - - - - - 配置 - - - - - - - - - - - - -
(**SG300** Telnet permit)
conf t
ip ssh server
ip telnet server
Telnet permit (All devices are same)
username cisco secret cisco
enable secret cisco
line vty 0 4
login local
exit
!
line console 0
password cisco
!
**<4500X_1>**
en
conf t
hostname 4500X_1
ip routing
int te 1/1
no sw
ip add 192.168.200.1 255.255.255.252
!
int te 1/3
no sw
ip add 192.168.200.9 255.255.255.252
!
int te 1/5
no sw
ip add 192.168.200.17 255.255.255.252
!
int te 1/7
no sw
ip add 192.168.200.25 255.255.255.252
!
int te 1/9
no sw
ip add 192.168.200.33 255.255.255.252
!
int te 1/11
no sw
ip add 192.168.200.41 255.255.255.252
!
int te 1/13
no sw
ip add 192.168.200.49 255.255.255.252
!
int te 1/15
no sw
ip add 192.168.200.57 255.255.255.252
!
int lo 0
ip add 192.168.50.1 255.255.255.255
exit
!
router ospf 1
router-id 1.1.1.1
network 192.168.200.0 0.0.0.255 area 0
network 192.168.50.1 0.0.0.0 area 0
!
**<4500X_2>**
en
conf t
hostname 4500X_2
ip routing
int te 1/1
no sw
ip add 192.168.200.5 255.255.255.252
!
int te 1/3
no sw
ip add 192.168.200.13 255.255.255.252
!
int te 1/5
no sw
ip add 192.168.200.21 255.255.255.252
!
int te 1/7
no sw
ip add 192.168.200.29 255.255.255.252
!
int te 1/9
no sw
ip add 192.168.200.37 255.255.255.252
!
int te 1/11
no sw
ip add 192.168.200.45 255.255.255.252
!
int te 1/13
no sw
ip add 192.168.200.53 255.255.255.252
!
int te 1/15
no sw
ip add 192.168.200.61 255.255.255.252
!
int lo 0
ip add 192.168.50.2 255.255.255.255
exit
!
router ospf 1
router-id 2.2.2.2
network 192.168.200.0 0.0.0.255 area 0
network 192.168.50.2 0.0.0.0 area 0
!
**<3560X_1>**
conf t
hostname 3560X_1
vlan 5
exit
ip routing
int te 1/2
description ## 4500X_1 ##
no sw
ip add 192.168.200.2 255.255.255.252
no shut
!
int gi 0/23
description ## HSRP ##
sw mo acc
sw acc vlan 5
!
int lo 0
ip add 192.168.100.1 255.255.255.255
exit
!
int vlan 1
ip add 192.168.0.252 255.255.255.0
standby 0 ip 192.168.0.254
standby 0 priority 110
standby 0 preempt delay minimum 30
standby 0 track te 1/2 50
no shut
!
router ospf 1
router-id 3.3.3.3
network 192.168.200.2 0.0.0.0 area 0
network 192.168.100.1 0.0.0.0 area 0
network 192.168.0.0 0.0.0.255 area 0
!
**<3560X_2>**
conf t
hostname 3560X_2
vlan 5
exit
ip routing
int te 1/2
description ## 4500X_2 ##
no sw
ip add 192.168.200.6 255.255.255.252
no shut
!
int gi 0/23
sw mo acc
sw acc vlan 5
!
int lo 0
ip add 192.168.100.2 255.255.255.255
exit
!
int vlan 1
ip add 192.168.0.253 255.255.255.0
standby 0 ip 192.168.0.254
standby 0 preempt
no shut
!
router ospf 1
router-id 4.4.4.4
network 192.168.200.6 0.0.0.0 area 0
network 192.168.100.2 0.0.0.0 area 0
network 192.168.0.0 0.0.0.255 area 0
!
**<3560X_3>**
conf t
hostname 3560X_3
vlan 5
exit
ip routing
int te 1/2
description ## 4500X_1 ##
no sw
ip add 192.168.200.10 255.255.255.252
no shut
!
int gi 0/23
description ## HSRP ##
sw mo acc
sw acc vlan 5
!
int lo 0
ip add 192.168.100.3 255.255.255.255
exit
!
int vlan 1
ip add 192.168.1.252 255.255.255.0
standby 1 ip 192.168.1.254
standby 1 priority 110
standby 1 preempt delay minimum 30
standby 1 track te 1/2 50
no shut
!
router ospf 1
router-id 5.5.5.5
network 192.168.200.10 0.0.0.0 area 0
network 192.168.100.3 0.0.0.0 area 0
network 192.168.1.0 0.0.0.255 area 0
!
**<3560X_4>**
conf t
hostname 3560X_4
vlan 5
exit
ip routing
int te 1/2
description ## 4500X_2 ##
no sw
ip add 192.168.200.14 255.255.255.252
no shut
!
int gi 0/23
sw mo acc
sw acc vlan 5
!
int lo 0
ip add 192.168.100.4 255.255.255.255
exit
!
int vlan 1
ip add 192.168.1.253 255.255.255.0
standby 1 ip 192.168.1.254
standby 1 preempt
no shutd
!
router ospf 1
router-id 6.6.6.6
network 192.168.200.14 0.0.0.0 area 0
network 192.168.100.4 0.0.0.0 area 0
network 192.168.1.0 0.0.0.255 area 0
!
