I am setting up a Linux box with a v.35 card and two ethernet cards.
The v.35 card is a connection to the net. The ethernet cards are connections
to the public and private nets. The private net is being masqueraded, the
public net is using real addresses.
here is the seup:
Real addresses/24 192.168.1.8/30 192.200.9.0/24
.2 .9 .10-------------------.211 |
-------------- | |<-- Private Net ->
<----------| ISP Router |<----------->| Customer router |
-------------- | |<-- Public Net -->
-------------------.1 |
Real addresses/24
The problem is that IP masquerading translates the from address of packets from
the hidden net to the address of the interface it will be leaving on. In this
case addresses from 192.200.9.0 will be masqueraded to 192.168.1.10.
It there a way to override this default behavior? I would like the from address
of packets from the private net to be translated to <Real adddess>.1
I realize I could make the v.35 card an un-numbered interface and be done with
but I would really like to solve this with ipfwadm.
Any ideas?
James
--
James R. Leu
Network Administrator
CORE Digital Communication Services
jleu @
coredcs .
com
References:
|
|