zebra is an IP routing manager
show running-config
sudo vtysh
frr config
internet-router# show running-config
Building configuration...
Current configuration:
!
frr version 5.0.1
frr defaults traditional
hostname internet-router
no ipv6 forwarding
log stdout
!
password zebra
!
interface bo1
ip ospf 1 area 0.0.0.1
!
interface bo2
ip ospf 2 area 0.0.0.2
!
interface dc
ip ospf 3 area 0.0.0.3
!
!
line vty
!
end
internet-router#
Install on Ubuntu |
---|
Install Ubuntu Server as VM on linux based from ISO or vmdk username and password: osboxes / osboxes.org | ||||
---|---|---|---|---|
# add GPG key curl -s https://deb.frrouting.org/frr/keys.asc | sudo apt-key add - # update and install FRR sudo apt update && sudo apt install frr frr-pythontools | ||||
Start protocols | OSPF and BGP | |||
start | vi /etc/frr/daemons service frr restart | |||
check | ps -ef | grep frr | |||
Add Interface | FRR will use the linux interfaces | |||
by default |
|
|
| ||||||||||||||||||||||
add loopback | FRR1 ifconfig lo:10 1.1.10.1 netmask 255.255.255.255 up ifconfig lo:20 1.1.10.2 netmask 255.255.255.255 up FRR2: ifconfig lo:10 1.1.20.1 netmask 255.255.255.255 up ifconfig lo:20 1.1.20.2 netmask 255.255.255.255 up
root@FRRouting:~# vtysh show interface brief
| |||||||||||||||||||||
Access the FRRouting | sudo vtysh | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
show running-config |
|
show bgp summary
| ||||||||
show bgp neighbors | ||||||||
show bgp ipv4
| ||||||||
show ip route
| ||||||||
OSPF | ||||||||
---|---|---|---|---|---|---|---|---|
show ip ospf border-routers interface mpls-te route vrf | ||||||||
show ip ospf neighbor show ip ospf interface show ip ospf database
| ||||||||