Hi all, I'm trying a couple of things with 3 computers equipped with 2 wireless interfaces eachone. I'm running OSPF on all of the 3 machines and I would like to have the following setup for them: For every machine, one wifi interface is used as a backbone (same subnet), the other is used for local access to the network; ONE of the machines has access to the internet and should work as a default gw. So it should be something like this:
inet | PC1[GW] ___10.1.1.x___ PC2 ___ 10.1.1.x___PC3___ ....[PCn] | | | | local access local access [192.168.1.x] [192.168.2.x]
What I would like is to make the PC1[GW] ospf daemon create a NEW rule EVERY TIME a PCn is attached to the the 10.1.1.x network, to have in the end something like the following routing table:192.168.1.x ---> wifi_local_iface 192.168.2.x ---> wifi_backbone_iface 192.168.3.x ---> wifi_backbone_iface 192.168.4.x ---> wifi_backbone_iface =2E... 192.168.N.x ---> wifi_backbone_iface //New rule default ---> eth_inet_iface
NOW THE PROBLEM IS: it looks like OSPF is getting the neighbors routing tables and has the knowledge of these, but it's still not updating the local machine routing tables with this information... Is there any command to do it ? ___ Atm (leaving aside the IP addresses that are different) this is the ospfd.conf script I'm using now
#START OF SCRIPT ! ! Zebra configuration saved from vty !=A0 2011/01/01 01:42:55 ! hostname ospfd password xxxxxx log stdout ! ! ! interface eth0 ! interface eth1 ! interface lo ! interface wifi0 ! interface wifi1 ! interface wlan0 ! interface wlan1 ip ospf network broadcast ! router ospf ospf router-id 192.168.100.1 redistribute kernel route-map just-10 redistribute connected route-map just-10 redistribute static route-map just-10 passive-interface eth1 network 192.168.100.0/24 area 0.0.0.0 ! line vty !