Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
It sounds like you aren't configuring the static ip propperly.
Is the subnet right?
Route?
nameserver in /etc/resolve.conf?
every thing is correct, i can ping my self ip,gateway,dns and router ip perfectly. i can access local network from this server, client are accessing server perfectly but not able to access internet.
It sounds like you aren't configuring the static ip propperly.
Is the subnet right?
Route?
nameserver in /etc/resolve.conf?
i have make entry in resolve.conf but after restarting the network service its been like the file before, so the entries which i have done in resolve.conf are not there.
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.
i have make entry in resolve.conf but after restarting the network service its been like the file before, so the entries which i have done in resolve.conf are not there.
I am surprised to see resolve.conf all the time because as far as I know it should be
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.