network_stuff:frr
INSTALLATION
- Install any of the supported base linux. eg: Debian/Ubuntu
- Follow this steps: https://deb.frrouting.org/
- Uncomment
net.ipv4.ip_forward=1in/etc/sysctl.confand then apply with:sysctl -p - If possible to access via console, remove all the network configuration from the linux level.
- restart linux
- enable daemons in
/etc/frr/daemons
INSTALL https://docs.frrouting.org/en/latest/snmp.html
- start frr
- apply first config (management)
- configure terminal → log file /var/log/frr/frr.log → end → write memory
- Restart FRR as below:
/usr/lib/frr/frr-reload.py /etc/frr/frr.conf --reload /usr/lib/frr/frrinit.sh restart
- Configure snmp agent: https://panda314159.net/doku.php?id=linux SNMP AGENT IN LINUX
- Zebra IS THE RIB
Relevant files:
/etc/frr/daemons /etc/frr/frr.conf
To restart frr:
/usr/lib/frr/frr-reload.py /etc/frr/frr.conf --reload /usr/lib/frr/frrinit.sh restart Or sudo systemctl start frr.service
Also here: https://github.com/FRRouting/frr/blob/master/tools/frr-reload.py
Most of the vantage points are now ipv4 default, so:
show bgp ipv4 unicast 203.190.181.0 ! to pull a route sh ip bgp regexp _200981$ ! regexp anything from our ASN sh ip bgp regexp _200981$ ! regexp anything from our ASN show bgp ipv4 unicast regexp 174_([0-9]+)_200981$ ! regexp anything from our ASN traversing Cogent
Binding files: External Link,
Route Servers IXP:
network_stuff/frr.txt · Last modified: by 127.0.0.1
