Configuration Steps BGP + OSPF Routing
1 . Configuration R1
ip address add address 10.10.10.1/30 interface = ether1
ip address add address 192.168.10.1/24 interface = ether2
ip address add address 192.168.11.1/24 interface = ether3
routing bgp instance set 0 as = 100 router - id = 1.1.1.1
routing bgp peer add remote - as = 200 remote - address = 10.10.10.2
routing bgp network add network = 192.168.10.0/24
routing bgp network add network = 192.168.11.0/24
2 . Configuration R2
ip address add address 10.10.10.2/30 interface = ether1
ip address add address 192.168.21.2/30 interface = ether2
routing bgp instance set 0 as = 200 router - id = 2.2.2.2
routing bgp peer add remote - as = 100 remote - address = 10.10.10.1
routing bgp instance set 0 redistribute - ospf = yes
routing bgp network add network = 192.168.21.0/30
routing bgp network add network = 192.168.20.0/24
routing bgp network add network = 192.168.30.0/24
routing ospf instance set 0 redistribute - bgp = as- type- 1
routing ospf network add network = 10.10.10.0/30 area = backbone
routing ospf network add network = 192.168.21.0/30 area = backbone
3 . Configure R3
ip address add address 192.168.20.1/24 interface = ether1
ip address add address 192.168.21.1/30 interface = ether2
ip address add address 192.168.30.1/24 interface = ether3
routing ospf interface add interface = ether1
routing ospf network add network = 192.168.30.0/24 area = backbone
routing ospf network add network = 192.168.20.0/24 area = backbone
routing ospf network add network = 192.168.21.0/30 area = backbone
0 komentar:
Posting Komentar