Skip to content

Commit

Permalink
Add Quagga info
Browse files Browse the repository at this point in the history
  • Loading branch information
StenlyTU committed Feb 14, 2022
1 parent e99edab commit f19d909
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion stuff/LFCE_Networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,24 @@ nmon, vnstat

## Dynamically route IP traffic

- Quaga
- `yum install quagga`
- `cp /usr/share/doc/quagga-0.99.22.4/zebra.conf.sample /etc/quagga/zebra.conf` - Copy sample config file.
- `cp /usr/share/doc/quagga-0.99.22.4/ospfd.conf.sample /etc/quagga/ospfd.conf`- Copy the ospfd config file.
- `semanage boolean -m zebra_write_config -1` -> Configure the SELinux to be able to use "write" and edit files.
- `echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf` & `sysctl -p` -> Enable IPv4 forwarding.
- `systemctl start zebra ospfd`
- ```bash
# vtysh
configure terminal
log file /var/log/quagga/quagga.log
router ospf
router-id 10.10.10.1
network 10.10.10.0/30 area 0
do write
# Do the same on the another side.
```
- `firewall-cmd --add-protocol=ospf --permanent` - Add the protocol to the firewalld.
- From the Quagga console type: `show ip ospf neighbor` to check OSPF neighbors.

## Implement advanced packet filtering

Expand Down

0 comments on commit f19d909

Please sign in to comment.