LinuxQuestions.org
Review your favorite Linux distribution.
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


Closed Thread
  Search this Thread
Old 08-15-2012, 02:57 PM   #1
mwhall
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Rep: Reputation: Disabled
Unable to connect linux machines through sencondary router


I have three development machines: two linux machines running CentOS (v5.8 and v6.3)and one Windows machine running Windows XP. I have two routers which I will refer to as router1 and router2.

Router1 is connected to the internet,and I am able to successfully connect all machines to the internet using router1.

I connected router2 to one of the ports on router1 and configured it to a different subnet(router2 is configured to 192.168.2.1 whereas router1 is configured to 192.168.1.1).

I connected all three machines to router2. The Windows machine connects to the internet using router2 (subnet 198.168.2.xxx) with no problem.

The Centos machines fail to connect. When running ifconfig I see that they are both still trying to connect using subnet 198.168.1.xxx. How would I configure the linux machines to use router2's subnet configuration?

(I am using the default DHCP configurations from the linux installations)
 
Old 08-15-2012, 03:53 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,025

Rep: Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here:
http://www.linuxquestions.org/questi...er-4175422250/
 
Old 08-15-2012, 04:46 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Closing the original in favour of the more sensibly placed dupe.
 
  


Closed Thread


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
[SOLVED] Host OS unable to connect to Guest OS (virtual machines) in VMware vikas027 Linux - Virtualization and Cloud 18 08-16-2012 08:15 AM
Machines unable to connect to Netgear wgr614v6 bandana_pig Slackware 9 09-09-2008 01:21 AM
linux router unable to ping itself or other machines on the LAN cyberfishee Linux - Networking 12 05-31-2007 06:27 PM
unable to connect to my linux router from internet using ssh shkkhanhyd Linux - Security 3 03-31-2004 09:44 PM
LAN machines unable to connect to Internet through (firewall on )gateway nishi_k_79 Linux - Security 1 11-13-2003 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration