Hello Mikkel and others reading this mail...

I took your advice and made the change to my eth0 netmask and also to my 'lo' 
port.   That needed changiing too otherwise things wouldn't work.

Here are my two files now. First is the ifcfg-eth0 file:


DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=44.135.34.209
NETMASK=255.255.255.0  <-------------
GATEWAY=44.135.34.201
g&)


And secondly, here is the ifcfg-lo file:

DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.255.255.0  <--------------
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
BOOTPROTO=none


So that simple 'fix' did that trick. And now I know where else I am going to 
use that.

Thanks Mikkel for the excellent suggestion and also thanks to all others who
took time to comment..





On Wednesday 18 April 2001 15:31, you wrote:
> On Wed, 18 Apr 2001, Ted Gervais wrote:
> > # This is my /etc/sysconfig/network-scripts/ifcfg-eth0 file:
> > # I added the delete statement to the bottom. ..
> > --
> > [root@localhost network-scripts]# more ifcfg-eth0
> > DEVICE=eth0
> > ONBOOT=yes
> > BOOTPROTO=static
> > IPADDR=44.135.34.209
> > NETMASK=255.0.0.0
>
> change to 255.255.255.0
>
> > GATEWAY=44.135.34.201
> > /sbin/route del -net $44.0.0.0 netmask 255.0.0.0 eth0
>
> Remove this - this is a config file, not a script file.
>
> This should produce the proper route to your gateway.  You should also
> be able to connect to the rest of the 44.135.34.0 network.  If you still
> have problems, find out what the correct netmast for your subnet should
> be, and change the netmask.  If nothing else, you can change the netmask
> to 255.255.255.255, and send all trafic through the gateway, but this
> puts more of a load on the gateway.  (This is what you are dong when you
> run "/sbin/route del -net $44.0.0.0 netmask 255.0.0.0 eth0".)
>
> Mikkel

-- 
Ted Gervais
Coldbrook, Nova Scotia Canada



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to