On Sun, 2006-06-04 at 08:05 +0200, A.J. Bonnema wrote: > Hi all, > > I draw my configuration of ethernetcards: > > PC (eth0 10.0.0.1)-->3com switch-->speedtouch(10.0.0.138)-->theNet > PC (eth1 192.168.1.10)-->FSG (192.168.1.1)-->speedtouch(10.0.0.138) > > Now Fedora default creates the following route: > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 > 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 > 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1 > default FSG.lan 0.0.0.0 UG 0 0 0 eth1 > > If it does, I have no internet connection. Then I have to enter the > following incantation to get internet connection: > > route add default gw 10.0.0.138 > route del default gw 192.168.1.1 (this one is optional??) > > After which the default route goes over the speedtouch in stead of the > FSG and I *do* have internet connection. > However, when I restart Fedora, I have to enter these commands again. > > The question is now: how do I get Fedora to remember that I want the > default route over 10.0.0.138 (or eth0) and not over 192.168.1.1 (or eth1)? > > P.S. i read in an old book from 1995 by Matt Welsh and Lar Kaufman > (Running Linux) that the metric can be used to have the system choose > predictably (lower metric is more preferred), but I can seem to find > this parameter in the fedora GUI tools.... > > P.S. 2. The FSG is the Freecom Storage Gateway: a network device with > storage. Regrettably it is not a switch.... > > Anyone an idea how to get Fedora to set the default route correctly > (i.e. as I want it)? Remove any GATEWAY settings in /etc/sysconfig/network-scripts/ifcfg-* and add to /etc/sysconfug/network: GATEWAY=10.0.0.138 Paul. -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list