no internet access in cent os 5.5
hi,
i am using cent os 5.5, i am not able to access internet through this machine.machine is connected with router,when system gets dhcp from router internet is working but when i am entering ip manually internet is not working. |
If you're router is assigning IP addresses through DHCP, why do you need to set the IP manually? Can you post the commands you use or describe the steps you take to set the IP address? Are you sure that you're setting an IP that is valid for your network and is not already in use by another computer or other device? When you set the IP, can you ping the IP address of your router? Do you remember to set your default gatrway to the IP address of the router?
Some more information would really help diagnose this. |
It sounds like you aren't configuring the static ip propperly.
Is the subnet right? Route? nameserver in /etc/resolve.conf? |
Quote:
its server and router is generating different ip every time so it creates problem for client and router doesn't having functionality of binding mac address that's why i need to assign ip statically.i can ping the router's ip as well my gateway and dns too. |
Quote:
|
Quote:
|
To isolate if it is a DNS related problem, can you ping an external address, by IP, rather than name?
As btmiller suggested, how are you configuring the static IP? Can you post the output of Code:
cat /etc/sysconfig/network-scripts/ifcfg-ethX |
i have also tried multiple ip on single network card tric for this in that i was able to access internet as well local network but after restarting the server the secondary ip is being stored automatically as a master ip of server.
|
Quote:
resolv.conf as asked by fukawi1 post the output of Code:
#cat /etc/sysconfig/network-scripts/ifcfg-ethx and ping status of any website Code:
#ping google.com -t Code:
#ping your gateway |
All times are GMT -5. The time now is 04:02 PM. |