2subnet for different gateway

kazunori miura (kazu@gate.zao.or.jp)
Tue, 29 Apr 1997 21:37:56 +0900

Hello!

I want to set up PM2 for two user groupes.
One group is assinged global IP to internet via router.
Other group is private IP to other network via Linux Box IP masquerade.

I try setting bellow, but private IP users can not reach other network.

PM2--202.212.141.100 --------------router 202.212.141.97
|
|
Linux Box 202.212.141.99
Alias 192.168.2.1 with IP masquerade
|
|
other network

PM2' default gateway is 202.212.141.97

assigned address = 202.212.141.160/27
private IP =192.168.2.64/27

PM2 route table

Destination Gateway Flag Met Interface
--------------------- -------------------- ---- --- ---------
0.0.0.0 202.212.141.97 NS 1 ether0
203.138.105.128 202.212.141.100 HS 1 ether0
192.168.2.1 202.212.141.99 HS 1 ether0
202.212.141.170 202.212.141.170 HL 1 ptp1
202.212.141.174 202.212.141.174 HL 1 ptp2
202.212.141.175 202.212.141.175 HL 1 ptp3
192.168.2.65 202.212.141.100 HL 1 ptp10
202.212.141.0 202.212.141.97 ND 3 ether0
202.212.141.32 202.212.141.97 ND 4 ether0
202.212.141.96 202.212.141.100 NL 1 ether0
202.212.141.160 202.212.141.97 NS 1 ether0
192.168.2.0 202.212.141.100 NS 1 ether0
192.168.2.64 202.212.141.100 NS 1 ether0

Does anyone resolve this problem?
Thank you.

------------------------------
kazunori miura
zao-net
kazu@gate.zao.or.jp
yamagata-prefacture
Japan
------------------------------