网站页面宽度seo优化与sem推广有什么关系
实验分析:
1.R4为DR,则要通过改优先级,达到让R5、R6放弃DR和BDR的选举
2.中心到站点,接口的工作方式默认是point-to-point,这种工作方式,OSPF协议只能建一个邻居;我们需要将它改成broadcast或者是point-to-multipoint,且MGRE中的各个设备的tunnel接口都要改!!
3.全连网状,只需在中心到站点的基础上在R5和R6之间做个伪广播!
Show run
R1
hostname R1
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface Tunnel0
ip address 10.1.1.1 255.255.255.0
no ip redirects
ip nhrp map multicast dynamic
ip nhrp network-id 100
ip ospf network broadcast
tunnel source Serial0/0
tunnel mode gre multipoint
!
interface Tunnel1
ip address 20.1.1.1 255.255.255.0
tunnel source 12.1.1.1
tunnel destination 52.1.1.1
!
interface Serial0/0
ip address 12.1.1.1 255.255.255.0
clock rate 2000000
!
router ospf 1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 10.1.1.1 0.0.0.0 area 0
network 20.1.1.1 0.0.0.0 area 0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 12.1.1.2
!
R2:
hostname R2
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface Tunnel0
ip address 10.1.1.2 255.255.255.0
no ip redirects
ip nhrp map 10.1.1.1 12.1.1.1
ip nhrp network-id 100
ip nhrp nhs 10.1.1.1
ip ospf network broadcast
tunnel source Serial0/0
tunnel mode gre multipoint
!
interface Serial0/0
ip address 22.1.1.1 255.255.255.0
clock rate 2000000
!
router ospf 1
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 10.1.1.0 0.0.0.255 area 0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 22.1.1.2
!
R3:
hostname R3
!
interface Loopback0
ip address 3.3.3.3 255.255.255.0
!
interface Tunnel0
ip address 10.1.1.3 255.255.255.0
no ip redirects
ip nhrp map 10.1.1.1 12.1.1.1
ip nhrp network-id 100
ip nhrp nhs 10.1.1.1
ip ospf network broadcast
tunnel source Serial0/0
tunnel mode gre multipoint
!
interface FastEthernet0/0
ip address 42.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 32.1.1.1 255.255.255.0
clock rate 2000000
!
router ospf 1
log-adjacency-changes
network 3.3.3.3 0.0.0.0 area 0
network 10.1.1.0 0.0.0.255 area 0
network 42.1.1.0 0.0.0.255 area 1
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 32.1.1.2
!
R4:
hostname R4
!
interface Loopback0
ip address 4.4.4.4 255.255.255.0
!
interface Tunnel1
ip address 20.1.1.2 255.255.255.0
tunnel source Serial0/0
tunnel destination 12.1.1.1
!
interface Tunnel2
ip address 17.1.1.1 255.255.255.0
no ip redirects
ip nhrp map multicast dynamic
ip nhrp network-id 200
ip ospf network point-to-multipoint
ip ospf priority 10
tunnel source Serial0/0
tunnel mode gre multipoint
!
interface Serial0/0
ip address 52.1.1.1 255.255.255.0
clock rate 2000000
!
router ospf 1
log-adjacency-changes
network 4.4.4.4 0.0.0.0 area 1
network 17.1.1.1 0.0.0.0 area 1
network 20.1.1.0 0.0.0.255 area 0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 52.1.1.2
!
R5:
hostname R5
!
interface Loopback0
ip address 5.5.5.5 255.255.255.0
!
interface Tunnel2
ip address 17.1.1.2 255.255.255.0
no ip redirects
ip nhrp map 17.1.1.1 52.1.1.1
ip nhrp network-id 200
ip nhrp nhs 17.1.1.1
ip ospf network point-to-multipoint
ip ospf priority 0
tunnel source Serial0/0
tunnel mode gre multipoint
!
interface Serial0/0
ip address 62.1.1.1 255.255.255.0
ip ospf priority 0
clock rate 2000000
!
router ospf 1
log-adjacency-changes
network 5.5.5.5 0.0.0.0 area 1
network 17.1.1.2 0.0.0.0 area 1
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 62.1.1.2
!
R6:
hostname R6
!
interface Loopback0
ip address 6.6.6.6 255.255.255.0
!
interface Tunnel2
ip address 17.1.1.3 255.255.255.0
no ip redirects
ip nhrp map 17.1.1.1 52.1.1.1
ip nhrp network-id 200
ip nhrp nhs 17.1.1.1
ip ospf network point-to-multipoint
ip ospf priority 0
tunnel source Serial0/0
tunnel mode gre multipoint
!
interface FastEthernet0/0
ip address 42.1.1.2 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 72.1.1.1 255.255.255.0
ip ospf priority 0
clock rate 2000000
!
router ospf 1
log-adjacency-changes
network 6.6.6.6 0.0.0.0 area 1
network 17.1.1.0 0.0.0.255 area 1
network 42.1.1.0 0.0.0.255 area 1
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 72.1.1.2
!
R7:
hostname R7
!
interface Serial0/0
ip address 12.1.1.2 255.255.255.0
clock rate 2000000
!
interface Serial0/1
ip address 22.1.1.2 255.255.255.0
clock rate 2000000
!
interface Serial0/2
ip address 32.1.1.2 255.255.255.0
clock rate 2000000
!
interface Serial0/3
ip address 52.1.1.2 255.255.255.0
clock rate 2000000
!
interface Serial0/4
ip address 62.1.1.2 255.255.255.0
clock rate 2000000
!
interface Serial0/5
ip address 72.1.1.2 255.255.255.0
clock rate 2000000
!