Vettese, Nick A on Tue, 28 Dec 1999 14:03:35 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: [Plug] what's wrong with this picture?


Thank you for clearing that up.  I know how to do routes in NT like the back
of my hand, but I am still learning Linux.  I appreciate you lrtting me
know.
Nick

-----Original Message-----
From: Andrew White [mailto:andrew@white.com]
Sent: Tuesday, December 28, 1999 1:53 PM
To: 'plug@lists.nothinbut.net'
Subject: RE: [Plug] what's wrong with this picture?


On Tue, 28 Dec 1999, Vettese, Nick A wrote:
> Try doing this
> Route add -p 192.186.1.2 MASK 255.255.255.0 192.168.1.2
> 
> the -p mean persistent, mask should be capitalized, and you shouldn't to
put
> Gw in there it should recognize the IP as the gateway.
> Nick

Hi Nick,

The syntax above is for Windows NT!  Not for Linux.

In Redhat, at least, you'd use:

route add -host 192.168.1.2 netmask 255.255.255.255 gw 127.0.0.1

But I think that's not what's needed here.

Try:

/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 192.168.1.2 netmask 255.255.255.0 broadcast \
   192.168.1.255 
/sbin/ifconfig eth0 up

-Andrew



 
> -----Original Message-----
> From: Vale Kenny [mailto:vkenny@quarterleaf.com]
> Sent: Tuesday, December 28, 1999 8:51 AM
> To: plug@lists.nothinbut.net
> Subject: [Plug] what's wrong with this picture?
> 
> 
> it all seems to be cool accdg to the man/info on route..
> route add -host 192.186.1.2 Nm 255.255.255.0 Gw 192.168.1.2
> RH 6.1 (GNU)Linux 
> I'm trying to add a device(eth0) to the system, and it keeps blowing up on
> me..
>  ifconfig -a shows the NIC jsut fine.
> suggestions?
> I once knew but forgot, in my own defense..
> 
> Peace,
> Vale
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
> 


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug

_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug