On 5/17/06, abhishek jain <[EMAIL PROTECTED]> wrote:
>
> Dear Friends,
> I have recently setup or rather converted a Server into a VPS hosting
> machine.
> I can access the machine from the outside but cannot wget /ping anything
> from inside the VPS, i get Temporary resol error.
> I have setup /et/resolv.conf and there is no firewall running.
>
> I think mine network settings might be wrong. Can anyone tell me whats
> these
> terms and how to change them/how to use them.
> 1)Default gateway
> 2)Subnet mask.
> Thanks,
> Abhishek jain
>



hey,

default gateway -> if you are sending anything to outside world it goes to
the default gateway and then it is routed to the outside world.

Default gateway can be a  PC, Router, Firewall, ADSL Modem/ Router etc.
means if you want to send anything to internet or to outside world it will
go to this default gateway and then the default gateway has the table /
settings to send it to the outside / internet world.

http://en.wikipedia.org/wiki/Default_gateway

http://www.google.co.in/search?hl=en&hs=MEu&lr=&client=firefox-a&rls=org.mozilla:en-US:official&defl=en&q=define:Subnet+Mask&sa=X&oi=glossary_definition&ct=title


If you are using centos / fedora / redhat distro  then

/etc/sysconfig/network-scripts/ifcfg-eth0  ---> for ethernet 0 settings
/etc/sysconfig/network ----> if you have 2 ethernet cards then default
gateway should be define over here otherwise if you have only one ethernet
card then ifcfg-eth0 will have default gateway settings

if you have second ethernet card then

/etc/sysconfig/network-scripts/ifcfg-eth1 ---> for ethernet 1 settings

Regards

Ankush Grover
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to