Mental on Tue, 28 Dec 1999 13:45:39 -0500 (EST) |
On Tue, Dec 28, 1999 at 08:51:01AM -0500, Vale Kenny wrote: > 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.. What keeps blowing up? Whats broken? Cant you ping it? ifconfig eth0 up <ip address> netmask <mask> Ping it. It should work. If its its own gateway (which is really, really odd) you shouldnt need to specify it. Also, when specifying a gateway, I generaly also provide a metric since its usually good practice. Like when I want to bring up hades I run this quick little script: #!/bin/sh ifconfig eth0 down ifconfig eth0 209.71.96.99 broadcast 209.71.96.103 netmask 255.255.255.248 route add default gw 209.71.96.97 metric 1 echo "search neverlight.com" > /etc/resolv.conf echo "nameserver 209.71.96.98" >> /etc/resolv.conf Hope that was somewhat helpful. Mental -- "you make insanity respectable." --Helcat on the subject of Mental. _______________________________________________ Plug maillist - Plug@lists.nothinbut.net http://lists.nothinbut.net/mail/listinfo/plug
|
|