LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-22-2013, 01:51 PM   #1
duckshot
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Rep: Reputation: Disabled
OpenSUSE 12.3 two interfaces not communicating properly


This is a basic diagram of my current configuration.
http://ppl.ug/_wF6aBSFwa0/

My problem is I VPN in to the 10.x.x.x/24 network and try to VNC or SSH to the Linux server.

The linux server has two ether ports.

Eth0 96.x.x.x/24

Eth1 208.x.x.x/28

The route command shows

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
208.x.x.224   *               255.255.255.240 U     0      0        0 eth1
96.x.x.0     *               255.255.255.0   U     0      0        0 eth0
172.16.0.0      static-96-x-x 255.255.0.0     UG    0      0        0 eth0
link-local      *               255.255.0.0     U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         208.x.x.225   0.0.0.0         UG    0      0        0 eth1
When I have the GW set to the 96.x.x.1 nexthop on the router I can access the 96.x.x.x address from outside it's subnet but can not get to the 208.x.x.x address.

When I move the GW to the 208 nexthop on the router I can access the 208.x.x.x from outside it's subnet but not the 96.x.x.x address.

How do I get the server working so it can respond outside it's subnet on both interfaces?

The interface that is not on the same subnet as the GW can only communicate with devices on it's own subnet.

Thanks for you help.
 
Old 06-25-2013, 03:12 PM   #2
nini09
Member
 
Registered: Apr 2009
Posts: 914

Rep: Reputation: 67
You need add two static route entry for 96.x.x.x/24 and 208.x.x.x/28 network into router and then router will know how to route the traffic.
 
Old 07-03-2013, 12:28 PM   #3
duckshot
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
The router has directly connected interfaces to those subnets. It knows how to get to them.
 
Old 07-03-2013, 02:36 PM   #4
nini09
Member
 
Registered: Apr 2009
Posts: 914

Rep: Reputation: 67
Does the VPN tunnel know these two subnet?
 
Old 07-03-2013, 02:48 PM   #5
duckshot
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Yes from the VPN I can access both subnets.
 
Old 07-05-2013, 06:03 PM   #6
nini09
Member
 
Registered: Apr 2009
Posts: 914

Rep: Reputation: 67
What's the issue you get if outside can access both subnets through VPN tunnel.?
 
Old 07-05-2013, 09:19 PM   #7
duckshot
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I can only access one or the other I can't access both at the same time. Depending on the default gateway that is set I can only access the one that has the gateway on the same subnet.
 
Old 07-08-2013, 02:17 PM   #8
nini09
Member
 
Registered: Apr 2009
Posts: 914

Rep: Reputation: 67
That's my meaning, the VPN tunnel don't both subnet and doesn't route correctly.
 
Old 07-08-2013, 02:49 PM   #9
duckshot
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
From the VPN I can access other devices on both subnets. It's not a routing issue at the router.
 
Old 07-09-2013, 02:29 PM   #10
nini09
Member
 
Registered: Apr 2009
Posts: 914

Rep: Reputation: 67
1)Incoming direction, outside traffic can access both subnet through VPN tunnel.
2)Outgoing direction, both subnet can access outside through VPN tunnel.
So far I still don't get your issue and don't see any problem.
 
  


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
OpenSUSE not booting properly Mairiiv Linux - Server 3 04-16-2010 03:12 AM
openSuSE 11.1 32 or 64 bit, how to properly tell? plisken Suse/Novell 5 07-29-2009 05:50 AM
OpenSUSE 10.2 does not install properly using downloaded CD's izquierdista Suse/Novell 2 03-26-2007 10:54 PM
Two interfaces communicating between them LinuxZak Linux - Networking 0 10-16-2006 09:42 AM
ucd-snmp interfaces not working properly. gaijinjim Linux - Networking 1 10-11-2001 12:58 AM


All times are GMT -5. The time now is 02:46 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