[NTLUG:Discuss] setting routes with mandrake 9.0
Greg Edwards
greg at nas-inet.com
Tue Feb 3 00:50:42 CST 2004
Jay Urish wrote:
> Hey group-
> I am pulling my hair out over something that I know is dead simple.
>
> I have 2 NICs in my mandrake 9.0 server. One has a public IP a.a.a.a the
> other is on a private LAN b.b.b.b
>
>
> I found a file /etc/sysconfig/static routes but the kernel or netscript
> seems to be ignoring it.
>
> It looks like this at the moment
> root at ns:/etc/sysconfig>cat static-routes
> eth1 net 192.168.11.0 netmask 255.255.255.0 gw 192.168.11.1
>
> Any ideas?
>
>
> Jay Urish W5GM Systems/Network Engineer
> Unixwolf Enterprises 972.691.0125 972.965.6229
>
Jay,
There is a bug in the /sbin/ifup script in 9.0.
After many hours of pulling hair I removed the following and my routes
resolved.
=========================================================================
# [ -n "$NO_ARPING" ] || \
# if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
# echo $"Error, some other host already uses address ${IPADDR}."
# exit 1
# fi
=========================================================================
I never did figure out what the real problem was but since I KNOW that
an address collision is not an issue this worked. The problem seems to
be fixed in 9.1 since I didn't need to make this change on my 9.1 boxes.
Hope this helps.
--
Greg Edwards
New Age Software, Inc. - http://www.nas-inet.com
======================================================
Galactic Outlaw - http://goutlaw.nas-inet.com
The ultimate cyberspace challenge!
More information about the Discuss
mailing list