On 4/8/07, Rohit < [EMAIL PROTECTED]> wrote:

OK, this is what I have done till now:

ifconfig eth0  <static_ip> netmask 255.0.0.0
route add default gw <gateway_ip> netmask 255.0.0.0


1. Why is this 255.0.0.0 netmask for interface?
2. Is there any specific reason for putting netmask in default gateway?

And I hope you have got the answer.

Cheers,
prad


The route gets added, but I'm unable to ping the gateway's IP address.

Rohit

On 4/8/07, Kaustubh Gadkari <[EMAIL PROTECTED]> wrote:
> <snip>
> > I then added the DNS servers to resolv.conf.
> > Is there anything else that I need to do? Does anybody have a working
> > setup?
> </snip>
>
> You might need to add a default route to the VSNL gateway. Read the
> man page for the route command.
>
> --
> Kaustubh Gadkari
> [EMAIL PROTECTED]


--
prad
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to