Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

Rep: Reputation: Disabled
Unable to connect 2 systems

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:

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 05-01-2013, 10:55 AM   #2
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,575

Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
Check your output from tracert and see how far your packets are getting.
Old 05-30-2013, 06:26 PM   #3
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 67

Rep: Reputation: 8
The interfaces attached to the switch do not share a network address (assuming class-c [/24] networks and eth0 is attached to the switch). So add an alias to each LM:

On LM-1:
ifconfig eth0:1 netmask up

On LM-2:
ifconfig eth0:1 netmask up

Configure a dynamic routing protocol such as RIP or OSPF for each LM to learn the routes to the other's subnets

-- or -- assign static routes:

On LM-1:
route add -net netmask gw
route add -net netmask gw

On LM-2:
route add -net netmask gw
route add -net netmask gw

That should work.


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
Network: Able to connect to encrypted, but unable to connect to open. WalterGL Linux - Newbie 1 09-16-2009 05:17 PM
how to connect two linux systems farooqnasim Linux - Networking 3 06-04-2009 05:38 PM
Able to connect to default Gateway, Unable to connect to internet Dumb.Coder Linux - Newbie 11 04-14-2009 05:22 AM
how do i connect my blue tooth headset to Ubuntu, it is unable to connect. salfuser Linux - Hardware 2 01-12-2009 11:28 AM
Unable to access operating systems quantum_qwerty Linux - Newbie 6 06-05-2004 01:18 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:10 AM.

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