I am running a Linux machine as a PPPoE access concentrator.
A----------------B C----------
PPP----| Concentrator | <--OSPF--> | Router |---> Internet
---------------- ----------
Interface "A" : No IP address, PPPoE tunnels only
Interface "B" : 192.168.1.1/24
Interface "C" : 192.168.1.2/24
Interface "A" handles incoming PPPoE tunnels with endpoint addresses in the
10.0.0.0/16 and 192.168.0.0/24 ranges. ospfd advertises routes to the
addresses of these tunnels through interface "B" when the interface comes
up.
Is there a way to prevent ospfd from advertising the 10.0.0.0/16 addresses
so that the router (with interface "C") will only hear about routes to
192.168.0.0/24 ?
Relevant configuration files appended.
Any help greatly appreciated.
Charlie
--- /etc/quagga/zebra.conf ---
hostname pppoe1
password xxxx
enable password xxxx
interface eth0
no multicast
interface eth1
description public
ip address 192.168.1.1/24
multicast
ip route 0.0.0.0/0 192.168.1.2
log syslog
--- EOF ---
--- /etc/quagga/ospfd.conf ---
hostname pppoe1
password xxxx
enable password xxxx
router ospf
ospf router-id 192.168.1.1
network 192.168.1.0/24 area 0
log syslog
--- EOF ---
|