LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 02-18-2010, 10:58 AM   #1
Templar1958
LQ Newbie
 
Registered: Feb 2010
Location: Florida
Distribution: Redhat Ubuntu
Posts: 17

Rep: Reputation: 0
Question 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.
 
Old 02-18-2010, 01:06 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Where are the RedHat and Ubuntu boxes getting their IP addresses from? Linksys router?
 
Old 02-18-2010, 02:45 PM   #3
Templar1958
LQ Newbie
 
Registered: Feb 2010
Location: Florida
Distribution: Redhat Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
I have created static IP addresses on both boxes. But not from either router.
 
Old 02-18-2010, 06:08 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
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!
 
Old 02-18-2010, 06:20 PM   #5
Templar1958
LQ Newbie
 
Registered: Feb 2010
Location: Florida
Distribution: Redhat Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 02-18-2010, 07:26 PM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
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!
 
Old 02-18-2010, 07:48 PM   #7
Templar1958
LQ Newbie
 
Registered: Feb 2010
Location: Florida
Distribution: Redhat Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 02-18-2010, 07:56 PM   #8
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
Did you set the default gateway? If so to what router?
 
Old 02-18-2010, 08:21 PM   #9
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
as root or sudo type route.
In your case whats the reason for 2 routers?
 
Old 02-18-2010, 08:38 PM   #10
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,526

Rep: Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217
Quote:
Originally Posted by Templar1958 View Post
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.
 
Old 02-19-2010, 07:43 AM   #11
Templar1958
LQ Newbie
 
Registered: Feb 2010
Location: Florida
Distribution: Redhat Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
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.

Last edited by Templar1958; 02-19-2010 at 03:07 PM.
 
Old 02-19-2010, 07:36 PM   #12
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
In ubuntu open a terminal window and type:

Code:
sudo route
This will print the ip routing table.
 
Old 02-19-2010, 07:45 PM   #13
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
Also can you ping either of your linux ip`s from another computer on the network?
 
Old 02-22-2010, 10:33 AM   #14
Templar1958
LQ Newbie
 
Registered: Feb 2010
Location: Florida
Distribution: Redhat Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 02-22-2010, 10:50 AM   #15
Templar1958
LQ Newbie
 
Registered: Feb 2010
Location: Florida
Distribution: Redhat Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
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?
 
  


Reply

Tags
internet connection, redhat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading Redhat with no internet connection avikosan Linux - Software 2 11-27-2006 10:11 PM
Internet Connection speed in Redhat 9 balzac Linux - Software 1 06-16-2004 05:05 AM
internet connection RedHat 9 JayOne Linux - Newbie 3 11-14-2003 06:40 PM
internet connection redhat 9 mindseye Linux - Newbie 8 10-11-2003 09:14 PM
redhat 7.3 setting up internet connection benjo Linux - Newbie 2 10-29-2002 09:16 AM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration