[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Routing two LANs over internal WAN



Proabably not the right mailinglist?

There are two LANs

192.168.1.0/24
and
10.52.1.0/24

and a linket connecting the two LANs(MicroGate Synclink WAN adapter) 10.50.215.188/30

But I can?t get them too work? I?ve probably looked too much at it? pls help.

Route 1 and ISP connection:
/sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.48    0.0.0.0         255.255.255.255 UH    0      0        0 eth1
10.50.215.189   0.0.0.0         255.255.255.255 UH    0      0        0 mgsl0
LegalIP         0.0.0.0         255.255.255.255 UH    0      0        0 eth1
LegalIPNet      0.0.0.0         255.255.255.248 U     0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
10.50.215.188   0.0.0.0         255.255.255.252 U     0      0        0 mgsl0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         LegalIP         0.0.0.0         UG    0      0        0 eth1

Router 2:

/sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.52.1.1       0.0.0.0         255.255.255.255 UH    0      0        0 eth1
10.50.215.190   0.0.0.0         255.255.255.255 UH    0      0        0 mgsl0
10.52.1.0       0.0.0.0         255.255.255.0   U     0      0        0 eth1
10.50.215.188   0.0.0.0         255.255.255.252 U     0      0        0 mgsl0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.50.215.189   0.0.0.0         UG    0      0        0 eth1


Problem is that 10.52.1.0 and 192.168.1.0 can not reach contact with each others? problem is in the NATing 10.52.1.0/24 -> default gw -> 192.168.1.0/24

src for default gw in router 2 = 10.52.1.1/24


TIA,
Gjermund



Reply to: