LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-30-2013, 08:06 PM   #1
DarioGi
LQ Newbie
 
Registered: Apr 2013
Posts: 8

Rep: Reputation: Disabled
Connecting 2 systems using a switch - each on the next hop.


Hello everyone, I don't have much knowledge in routing and I've reached a problem that I'm unable to solve. Here is a quick diagram that I've made:
http://imageshack.us/f/37/netv2.png/



My goal is to enable System A to talk to System D. As of now, the System A is able to ping Linux Machine 1 and System B, but is unable to even ping Linux Machine 2.

System B is able to ping System A, Linux Machine 1, Linux Machine 2 and System C. In fact, Systems B and C are able to communicate just fine.

My question would be, what do I need to do in order to enable System A to talk to System D(and vice versa).

Things I've tried:
  • Static routes in Linux Machine 1/2
  • Static Routes in switch

None of these things seem to work, any help would be greatly appreciated!
 
Old 04-30-2013, 09:50 PM   #2
flos
LQ Newbie
 
Registered: Feb 2009
Location: Shropshire, UK
Distribution: DSL
Posts: 12

Rep: Reputation: 1
Dear DarioGi,
Unless there's some overriding requirement that you haven't told us about, I suggest you reassign IP numbers so that all devices are on the same subnet (i.e. all IP numbers have the same first three numbers identical). I cannot immediately see why you need 172.10.1.x *and* 172.11.1.x numbers. Unless you have a very good reason, go for 172.10.x.x or 172.11.x.x all the way through.
Best wishes,
Flos
 
Old 04-30-2013, 10:14 PM   #3
DarioGi
LQ Newbie
 
Registered: Apr 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks for the help, unfortunately, the IP's have to be as following: 172.(10/11).(1/2).(2-254) . I pretty much need to make it work with this IP structure since 10 is ethernet and 11 uses different fiber. Also, (1/2) there are many more linux machines.

Last edited by DarioGi; 04-30-2013 at 10:15 PM.
 
Old 05-01-2013, 06:53 AM   #4
flos
LQ Newbie
 
Registered: Feb 2009
Location: Shropshire, UK
Distribution: DSL
Posts: 12

Rep: Reputation: 1
In that case, try using the switch's IP as the default gateway on machines 1 & 2.
Good luck!
Flos
 
Old 05-01-2013, 08:40 AM   #5
DarioGi
LQ Newbie
 
Registered: Apr 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
I'll give that a shot, but why would System B and System C be able to communicate with the current default gateways?

Last edited by DarioGi; 05-01-2013 at 08:54 AM.
 
Old 05-01-2013, 07:22 PM   #6
DarioGi
LQ Newbie
 
Registered: Apr 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Figured it out, I needed to add static routes to another platform's gateway, thanks for the help flos.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Making the Switch With Operating Systems LXer Syndicated Linux News 0 05-18-2008 03:40 AM
need help connecting two systems running elive to the internet zepplinforever13 Linux - Networking 2 11-03-2007 03:33 AM
LXer: Why people don't switch operating systems LXer Syndicated Linux News 0 08-21-2007 10:50 PM
Connecting 3 systems to a network through 1 node arjun_sh Linux - Networking 9 03-25-2006 03:57 AM
LXer: Instrument drivers switch to Linux systems LXer Syndicated Linux News 0 12-21-2005 05:46 AM


All times are GMT -5. The time now is 09:20 AM.

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