frr/linux bgp example
show ip bgp sum
show ip route
int eth0 | |
ip addr 192.168.0.1/24 | |
int eth1 | |
ip addr 192.168.1.1/24 | |
router bgp 65000 | |
neighbor 192.168.0.2 remote-as 65001 | |
address-family ipv4 | |
redistribute connected | |
end |
int eth0 | |
ip addr 192.168.0.2/24 | |
int eth1 | |
ip addr 192.168.2.1/24 | |
router bgp 65001 | |
neighbor 192.168.0.1 remote-as 65000 | |
address-family ipv4 | |
redistribute connected | |
end |