LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   OpenSUSE 12.3 two interfaces not communicating properly (https://www.linuxquestions.org/questions/linux-networking-3/opensuse-12-3-two-interfaces-not-communicating-properly-4175467013/)

duckshot 06-22-2013 01:51 PM

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.

nini09 06-25-2013 03:12 PM

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.

duckshot 07-03-2013 12:28 PM

The router has directly connected interfaces to those subnets. It knows how to get to them.

nini09 07-03-2013 02:36 PM

Does the VPN tunnel know these two subnet?

duckshot 07-03-2013 02:48 PM

Yes from the VPN I can access both subnets.

nini09 07-05-2013 06:03 PM

What's the issue you get if outside can access both subnets through VPN tunnel.?

duckshot 07-05-2013 09:19 PM

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.

nini09 07-08-2013 02:17 PM

That's my meaning, the VPN tunnel don't both subnet and doesn't route correctly.

duckshot 07-08-2013 02:49 PM

From the VPN I can access other devices on both subnets. It's not a routing issue at the router.

nini09 07-09-2013 02:29 PM

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.


All times are GMT -5. The time now is 06:04 AM.