LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Internet not accessable but Intranet is (https://www.linuxquestions.org/questions/linux-networking-3/internet-not-accessable-but-intranet-is-732347/)

Raptor354 06-11-2009 09:01 PM

Internet not accessable but Intranet is
 
I just installed Ubuntu Server on a box I had sitting around.

After installing it, I configured the network interfaces and DNSs (both manually, of course). There are 3 adapters in it: 2 onboard gigabit ones and an old Intel 10/100 card. They all get recognized and they all can access the local network, as well as be accessed by computers on the local network.

The problem comes when I try and ping Google, for example. It does resolve, but nothing comes back. No errors. No response. Not even "destination unreachable"!

One symptom to note, it seemed to like to reload Samba every few minutes. I removed Samba. No change.

Also, when I run "dhclient eth<some adapter number>", it works on that adapter, even after reboot. I want it to be a static address, like all web servers should be.

Any thoughts?

Raptor354

Stéphane Ascoët 06-12-2009 01:54 AM

Neetwork configuration
 
Use ifconfig to set the network you want.

scheidel21 06-12-2009 10:07 AM

try using route and see what the output is. YOu should have an entry like

Code:

default  gateway x.x.x.x
If you do not have that entry you would be unable to get out of your network ( with multiple network cards you may have many default routes)

If you want/need additional help post outputs of "ifconfig" and "route" to start

Raptor354 06-12-2009 03:30 PM

Solved
 
Turns out that multiple network connections were confusing Ubuntu. I unplugged them all and restarted the network and it magically worked.


All times are GMT -5. The time now is 07:35 PM.