You are on page 1of 2

R1

conf t
no cdp run
int loopback0
ip address 200.75.0.10 255.255.255.0
ip address 8.8.8.8 255.255.255.0 secondary
ip address 8.8.4.4 255.255.255.0 secondary
no shutdown
exit

int loopback 1
ip address 1.1.1.4 255.255.255.255
no shutdown
exit

int f1/0
ip address 10.10.10.2 255.255.255.254
no shutdown
exit

int f2/0
ip address 10.10.10.4 255.255.255.254
no shutdown
exit

router bgp 123


bgp router-id 1.1.1.4
neighbor 10.10.10.3 remote-as 100
neighbor 10.10.10.5 remote-as 100
network 200.75.0.0 mask 255.255.255.0
network 8.8.8.0 mask 255.255.255.0
network 8.8.4.0 mask 255.255.255.0
exit

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

conf t
no cdp run
int loopback0
ip address 1.1.1.2 255.255.255.0
no shutdown
exit
int f0/0
ip address 10.10.10.3 255.255.255.254
no shutdown
exit
int f1/0
ip address 172.16.1.2 255.255.255.0
glbp 1 ip 172.16.1.1
glbp 1 priority 120
glbp 1 preempt
no shutdown
exit

router bgp 100


bgp router-id 1.1.1.2
network 172.16.1.0 mask 255.255.255.0
neighbor 10.10.10.2 remote-as 123
exit

-----------------------------------------------

R3

conf t
no cdp run
int loopback0
ip address 1.1.1.3 255.255.255.0
no shutdown
exit
int f0/0
ip address 10.10.10.5 255.255.255.254
no shutdown
exit
int f1/0
ip address 172.16.1.3 255.25
blgp 1 ip 172.16.1.1
blgp 1 priority 100
blgp 1 preempt
no shutdown
exit

router bgp 100


bgp router-id 1.1.1.3
network 172.16.1.0 mask 255.255.255.0
neighbor 10.10.10.4 remote-as 123
exit
do wr

------------------------------------------------

R6

conf t
int f0/0
ip address 172.16.1.10 255.255.255.254
no shutdown
exit

ip route 0.0.0.0 0.0.0.0 172.16.1.1

You might also like