LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No Internet connection for either Redhat or Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/no-internet-connection-for-either-redhat-or-ubuntu-789952/)

Templar1958 02-18-2010 09:58 AM

No Internet connection for either Redhat or Ubuntu
 
I have installed the following: Redhat server 5.3 and Ubuntu desktop 9.04 Neither one has an internet connection. And they are both virtual machines on VMware 4.0. (Note: I have 2 Windows 2008 servers that work fine and have internet connections, so I know my isp works.)

Heres my setup in reverse; vmware box connected to a Linksys Cisco
BEFSR81 router X.X.1.1 and both Redhat/Unbutnu can ping it. Next the Linksys is connectioned to a Belkin wireless model F6D4230-4 v1 router X.X.2.1 and neither Redhat/Ubuntu can ping it. The wireless is then connected to my Comcast cable modem.

I have configured static ips for both boxes using the gui, I'm new to the linux command line, yes I'm a newbie to linux.

So it looks like they can not get past the wireless. How would configure the wireless router along with the other router?

Note the wireless router can not be removed from this setup.

irishbitte 02-18-2010 12:06 PM

Where are the RedHat and Ubuntu boxes getting their IP addresses from? Linksys router?

Templar1958 02-18-2010 01:45 PM

I have created static IP addresses on both boxes. But not from either router.

irishbitte 02-18-2010 05:08 PM

Ok, well how are they getting past the router so? The router will block incoming traffic to those machines if it thinks that traffic should not pass through its interfaces!

Templar1958 02-18-2010 05:20 PM

If you mean the Windows servers getting past the routers, one of them is setup as a DNS server. The linux boxes are using the same ip network addresses as the Windows servers. Not sure why they can not get past or even ping the second router.

irishbitte 02-18-2010 06:26 PM

Ok, so what are you saying? Is it that the RedHat and Ubuntu virtual servers that you have set up are using the same IP addresses, or are taking IP addresses from the same pool as the Windows servers? Because if numerically the IP addresses are the same as the Windows servers, obviously that will not work!

Templar1958 02-18-2010 06:48 PM

No, they are not using the same ip addresses. They are using the same subnetwork on the Linksys router 192.168.1.x. x is 2 to 254. They can not ping the wireless router 192.168.2.x.

mryuck 02-18-2010 06:56 PM

Did you set the default gateway? If so to what router?

mryuck 02-18-2010 07:21 PM

as root or sudo type route.
In your case whats the reason for 2 routers?

evo2 02-18-2010 07:38 PM

Quote:

Originally Posted by Templar1958 (Post 3868225)
I have installed the following: Redhat server 5.3 and Ubuntu desktop 9.04 Neither one has an internet connection. And they are both virtual machines on VMware 4.0. (Note: I have 2 Windows 2008 servers that work fine and have internet connections, so I know my isp works.)

Are these 2 windoze servers also virtual machines on vmware?

Evo2.

Templar1958 02-19-2010 06:43 AM

Mryuck,
1) Yes, I've tried setting both linux bothes with both routers one at a time.
2) My wife needs the WIFI when she works from the house. And the wifi does not have enough ports for my network at home. And I'm new to linux so I'm not sure what you mean by "as root or sudo type router. Need a link to quick tutorial on both of those.

Evo2,
Yes the windoze are also setup as VM's.

mryuck 02-19-2010 06:36 PM

In ubuntu open a terminal window and type:

Code:

sudo route
This will print the ip routing table.

mryuck 02-19-2010 06:45 PM

Also can you ping either of your linux ip`s from another computer on the network?

Templar1958 02-22-2010 09:33 AM

mryuck,

On the Ubuntu box "sudo route" returns nothing and does not ping from another desktop.
On the Redhat box "sudo route" returns destination 192.168.1.0 and it does ping from another desktop.

Templar1958 02-22-2010 09:50 AM

mryuck,

I forgot to check if it was setup with a static vs dymanic address. I changed it to a static address and now have a connection. But still no internet access via firefox. And it now pings from another desktop.

The route table looks like this:
192.168.2.1 (my wireless router)
192.168.2.0/24
192.168.1.0/24 (my linksys router)
169.254.0.0/16 how do I get rid of this ip address?


All times are GMT -5. The time now is 07:06 AM.