Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I have Linux (RedHat 7.3) and XP computers connected to a NetGear router using ethernet connections. The router is connected to a cable modem. From the XP, I can access the Internet and ping the router, Linux, and ISP. From Linux, I cannot access the Internet and cannot ping the ISP, but I can ping the router and XP.
XP is using DHCP. Linux has fixed IP address on the LAN.
How can I connect from Linux to Internet? Thanks for the help.
make sure your router is setup to give you a handful of static addresses. Some store bought routers will only let you do DHCP as an all or nothing deal. This means that either all host have to run dhcp, or all hosts have to have static ip addresses. Other routers let you reserve an address range for manual addresses, so DHCP won't take the address and have conficts.
Thanks for the prior suggestions. Here is how I solved my problem:
I ran ipconfig/all in XP command window to get the three DNS addresses.
On the Linux machine, I ran the network configuration utility (Red-hat 7.3), and entered the DNS addresses in the DNS tab. Did not make any changes to the "DNS Search Path" section of that tab -- do not know what it does anyway.
Also, I entered the Gateway IP address (which is a static address) to be the IP address of the router.
Rebooted the machine. I could then access the Internet from the Linux machine.
This way, the Linux has static address and can function as a server on the LAN and access the Internet for downloads, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.