Hmm my ip settings on windows shows this: C:\Documents and Settings\Rohit>ipconfig /all
Windows IP Configuration Host Name . . . . . . . . . . . . : torque Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : NVIDIA nForce Networking Controller Physical Address. . . . . . . . . : <deleted/> Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 121.XYZ.184.ABC Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 121.XYZ.184.1 DNS Servers . . . . . . . . . . . : 202.54.29.5 202.54.12.164 I guess now you can understand why I have a netmask of 255.0.0.0 for the interface. For the gateway... well I have no particular reason of putting it there .. I was just experimenting to see what works. Rohit On 4/8/07, prad <[EMAIL PROTECTED]> wrote:
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.
-- ______________________________________________________________________ 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.