[LRP] Redhat 6.1 routed problem

Peter John Hartman (hartman@kuntrynet.com)
Tue, 21 Dec 1999 19:15:42 -0500 (EST)


Hello everyone;

I have a network of linux machines running RedHat 6.1 and routed.
Here is an outlay of the network:
(hopefully wrapping won't confuse too much)

NETWORK A -> eth0 -> LINUX ROUTER A -> eth1 -> wireless -> eth1 -> LINUX ROUTER MAIN -> eth0 -> NETWORK MAIN
10.11.0.0 10.11.0.1 10.0.0.11 10.0.0.1 190.190.9.1 190.190.0.0
255.255.0.0 255.255.0.0 255.255.0.0 255.255.0.0 255.255.0.0 255.255.0.0

I have about 11 Machines (LINUX ROUTERS A-K) which connect to LINUX ROUTER
MAIN in the same manner. Running routed on these machines works perfectly.
The Networks all just want to speak to a single machine (190.190.1.1 -- an
as/400) and the as/400 wants to speak to various printers in each network
(example: PRINTER A 10.11.0.254) Each NETWORK has its own B class network
(NETWORK A is 10.11.0.0, NETWORK B is 10.12.0.0, NETWORK C is 10.13.0.0, etc)
190.190.1.1 can ping 10.11.0.254 and 10.11.0.254 can ping 190.190.1.1.

The wireless is all bridged (all LINUX ROUTERs eth1 go into a massive 10.0.0.0
network).

However, wireless is flaky. I'm looking to set up a backup modem system at
each Network when the wireless goes down.

I have a script running in cron every minute on LINUX ROUTER A that simply
pings 10.0.0.1, if it is missing, it will bring up ppp0 into LINUX ROUTER
MAIN. LINUX ROUTER MAIN then assigns it 10.0.0.111 (LINUX ROUTER B gets
10.0.0.112, C 10.0.0.113, etc) as its IP.

In LINUX ROUTER A's ip-up.local I have the following:
route add -net 190.190.0.0 netmask 255.255.0.0 dev ppp0
route del -host 10.0.0.1
route add default gw 10.0.0.1 dev eth1

(I don't think I need all these as routed should handle this for me).

People on NETWORK A can ping 190.190.1.1 just fine.

190.190.1.1 Cannot ping 10.11.0.254 when connected via ppp0.

I bring ppp0 down (and plug in the wireless wire) and it works fine. As soon
as I unplug the wireless and bring up ppp0, 190.190.1.1 can't ping
10.11.0.254.

Any ideas? Suggestions? I've been racking my head over this one for days.

More information?

Peter

_______________________________________________
linux-router maillist - linux-router@linuxrouter.org
http://www.linuxrouter.org/mailman/listinfo/linux-router

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu