On Tue, 2003-06-03 at 19:05, Joe wrote: > Hey guys, > > Do you know how to take control over the route order in RH9 ?? > when my system boots the route -n command is like this: > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.150.32.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth0 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth1 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 > lo > 0.0.0.0 10.150.32.1 0.0.0.0 UG 0 0 0 > eth0 The order of the lines isn't important.. The first three lines deal with 10.150.32.0/24 is sent out of eth1 192.168.1.0/24 is sent out of eth0 127.0.0.0/8 is sent out of lo (the loopback). With the first three lines in place, IP's not in 10.150.32.*, 192.168.1.* or 127.*.*.* can't be reached. The last line, says that traffic to any network not defined by existing rules in the routing table should be sent to 10.150.32.1, and out of eth0. Is what you are asking for that traffic should be sent to 192.168.1.1 for example rather than 10.150.32.1 ? If so, then run "neat" or edit the GATEWAY= in /etc/sysconfig/network -- Regards, Adam Allen. adam@xxxxxxxxxxxxxxxxxxxxxxxx pgp http://search.keyserver.net:11371/pks/lookup?op=vindex&search=adam%40dynamicinteraction.co.uk
Attachment:
signature.asc
Description: This is a digitally signed message part