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

Reply via email to