[ILUG-BOM] network problem

Ninad Purohit ninadonline@[EMAIL-PROTECTED]
Wed Mar 5 10:13:40 IST 2003


> > i've
> > got no idea as 2 what cmds r 2 b used 2 configure
> the static ip
> > addrs
> > & the gateway addrs. (in rhl, a simple "setup"
> cmd, ran as the
> > root,
> 


edit ur /etc/sysconfig/network-scripts/ifcfg-eth0
file
add GATEWAY="0.0.0.0"
it will automatically find out ur default gateway
"setup" doesnot allow u to set the gateway as 0.0.0.0
or *.*.*.*

setup only allows u to set a gateway whose ip address
belongs to ur subnet 
say if ur ip address is 192.168.*.*
it wont allow u to set ur gateway as 202.*.*.*

manually editing the file helps

=====
ninad purohit
ninadonline(at)yahoo(dot)co(dot)in
have a nice day :-)

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com




More information about the Linuxers mailing list