天天看點

使用GRE使多點傳播穿越非多點傳播網絡

拓撲:

使用GRE使多點傳播穿越非多點傳播網絡

實驗目的:

1 使整個公司的網絡看起來像一個多點傳播域

2 使RP互相備份

配置:

-----------------------R1-----------------------------

interface FastEthernet0/0

ip address 12.1.1.1 255.255.255.0

ip pim sparse-mode

ip igmp join-group 224.1.1.1

duplex auto

speed auto

!

router ospf 100

router-id 1.1.1.1

log-adjacency-changes

network 12.1.1.0 0.0.0.255 area 0

-----------------------R2-----------------------------

interface Loopback0

ip address 2.2.2.2 255.255.255.255

interface Tunnel24

ip address 24.1.1.2 255.255.255.0

tunnel source FastEthernet0/1

tunnel destination 34.1.1.4

ip address 12.1.1.2 255.255.255.0

interface FastEthernet0/1

ip address 23.1.1.2 255.255.255.0

router-id 2.2.2.2

network 2.2.2.2 0.0.0.0 area 0

network 24.1.1.0 0.0.0.255 area 0

ip route 0.0.0.0 0.0.0.0 23.1.1.3

ip pim send-rp-announce Loopback0 scope 16 group-list 10

ip pim send-rp-discovery Loopback0 scope 16

access-list 10 permit 224.1.1.1

-----------------------R3(網際網路)-----------------------------

 ip address 34.1.1.3 255.255.255.0

 !

 ip address 23.1.1.3 255.255.255.0

-----------------------R4-----------------------------

ip address 4.4.4.4 255.255.255.255

ip address 24.1.1.4 255.255.255.0

tunnel source FastEthernet1/0

tunnel destination 23.1.1.2

ip address 45.1.1.4 255.255.255.0

ip address 46.1.1.4 255.255.255.0

interface FastEthernet1/0

ip address 34.1.1.4 255.255.255.0

router ospf 200

router-id 4.4.4.4

network 4.4.4.4 0.0.0.0 area 0

network 45.1.1.0 0.0.0.255 area 0

network 46.1.1.0 0.0.0.255 area 0

ip route 0.0.0.0 0.0.0.0 34.1.1.3

-----------------------R5-----------------------------

ip address 45.1.1.5 255.255.255.0

router-id 5.5.5.5

-----------------------R6-----------------------------

ip address 46.1.1.6 255.255.255.0

!

router-id 6.6.6.6

驗證:

上一篇: 認識VXLAN 一
下一篇: 筆記拾遺7788

繼續閱讀