LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-03-2015, 04:47 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,205
Blog Entries: 4

Rep: Reputation: 131Reputation: 131
Enable networking for two Linux machines to see each other


So I have two Linux machines that are on two different subnets:

machine 1 - 192.168.254.132 gateway - 192.168.254.64

machine 2 - 193.168.220.232 gateway - 192.168.220.1

I am not able to ping either one of these machines and I've checked to see if routing is on and its not.

Do I have to turn on routing in order for these machines to ping each other as well as create some sort of iptables rule too?

Let me know if we need more information.
 
Old 08-03-2015, 05:03 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,314

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
maybe a silly question but why have two different subnets? why not just put them on the same one?
 
Old 08-03-2015, 08:04 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,876

Rep: Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302
Subnet mask would tell us something I'd think.

The basic part of your question is the use of ping. Without knowing if ping is enabled we also can't say. Generally ping is a poor choice to use as it is being more and more blocked.

Also, can we assume the gateways know routes to each others set of ip addresses?
 
Old 08-03-2015, 08:41 PM   #4
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,205
Blog Entries: 4

Original Poster
Rep: Reputation: 131Reputation: 131
One is in a DMZ, therefore in a different subnet.
 
Old 08-12-2015, 03:24 PM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,205
Blog Entries: 4

Original Poster
Rep: Reputation: 131Reputation: 131
The one server that isn't in the DMZ has a subnet mask of 255.255.252.0

The server in the DMZ has a subet of 255.255.255.0.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
need to enable networking of one of the virtual machines aliabbass Linux - Virtualization and Cloud 1 02-25-2011 10:42 AM
Enable wireless in linux mint 9 isadora for e-machines m5312 laptop Doruletz Linux - Laptop and Netbook 8 09-11-2010 01:48 AM
Enable wireless in linux mint 9 isadora for e-machines m5312 laptop Doruletz Linux - Newbie 1 08-15-2010 12:42 PM
Enable wireless in linux mint 9 isadora for e-machines m5312 laptop Doruletz Linux Mint 1 08-14-2010 05:16 PM


All times are GMT -5. The time now is 12:59 PM.

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