Quagga: OpenWRT berdampingan dengan quagga tanpa delete config Web
Install Quagga
Pastikan OpenWRT tersambung ke Internet
opkg update opkg install quagga-bgpd quagga-isisd quagga-libospf \ quagga-libzebra quagga-ospf6d quagga-ospfd quagga-ripd \ quagga-ripngd quagga-vtysh quagga-watchquagga \ quagga-zebra quagga
Di sisi OpenWRT
Default OpenWRT
- eth0 - LAN br-lan IP 192.168.1.1
Ubah agar:
- Set eth7 - untuk WAN
- Set eth6 - untuk LAN br-lan IP 192.168.123.1
- Set eth0-5 - untuk Quagga (tidak masuk ke firewall)
Isi /etc/config/network OpenWRT
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fd40:1926:9ba8::/48' config interface 'lan' option type 'bridge' option proto 'static' option ipaddr '192.168.100.1' option netmask '255.255.255.0' option ip6assign '60' option ifname 'eth6' config interface 'wan' option proto 'dhcp' option ifname 'eth7' config interface 'wan6' option proto 'dhcpv6' option ifname 'eth7' option reqaddress 'try' option reqprefix 'auto'