Matthew, I put the line you suggested, which is.. 10.0.254.248/30 via 63.214.2.234 in ... -rw-r--r-- 1 root root 33 Jan 20 07:52 route-eth0 under ... /etc/sysconfig/network-scripts/ then, 'shutdown -r 0' to reboot it. But it still doesn't take it.
By the way, is this described in someware like a man page or in a doc? Toshi -----Original Message----- From: Matthew Melvin [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 4:11 PM To: Toshi Esumi Cc: '[EMAIL PROTECTED]' Subject: Re: static-routes with RH8.0 On Fri, 17 Jan 2003 at 3:46pm (-0800), Toshi Esumi wrote: > Does someone have the same experience with RH8.0? I put a static router > statement in /etc/sysconfig/static-routes file as I did with RH7.0. But it > doesn't seem to work when I reboot the PC. It takes the same static route > when I put it manualy using "route" command when it's running. The route I > wanted to put is .... > > <routing table:before> > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 63.214.2.224 * 255.255.255.240 U 0 0 0 eth0 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default 63.214.2.225 0.0.0.0 UG 0 0 0 eth0 > > <adding a route:manually> > route add -net 10.0.254.248 gw 63.214.2.234 netmask 255.255.255.252 > <after> > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.0.254.248 63.214.2.234 255.255.255.252 UG 0 0 0 eth0 > 63.214.2.224 * 255.255.255.240 U 0 0 0 eth0 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default 63.214.2.225 0.0.0.0 UG 0 0 0 eth0 > > </etc/sysconfig/static-routes> > eth0 net 10.0.254.248 netmask 255.255.255.252 gw 63.214.2.234 > ....This didn't work when > I rebooted. > RH8.0 doens't use /etc/sysconfig/static-routes any more but instead has a routes file for each interface... try adding... 10.0.254.248/30 via 63.214.2.234 ... to /etc/sysconfig/network-scripts/route-eth0 instead. M. -- WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company Level 5, 100 Wickham St. Network Operations - Systems Engineer PO Box 930, Fortitude Valley. phone: +61 7 3249 2552 Queensland, Australia 4006. pgp key id: 0x900E515F -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list