Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 11:38:07 +0000
From:      Philip Reynolds <philip.reynolds@rfc-networks.ie>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Networking problem
Message-ID:  <20030620113807.GA78646@rfc-networks.ie>
In-Reply-To: <573562C6FDA9564A8EEE66D899BC190B02935D92@EMSS01M10.us.lmco.com>
References:  <573562C6FDA9564A8EEE66D899BC190B02935D92@EMSS01M10.us.lmco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Tkachenko, Artem N" <artem.n.tkachenko@lmco.com> 44 lines of wisdom includ=
ed:
> What I am trying to accomplish is to set up Node A and Node B (and not No=
de
> C) to have Node A think that it is directly connected to LAN2 with an IP
> Address 10.77.1.2
>=20
> So if Node A needs to send a packet to Node C, some program on Node A will
> encapsulate the packed and send it to Node B. Some other program on Node B
> will get the encapsulated packet, recognize that it came from Node A and
> that it needs to go somewhere else on LAN2, open the capsule and forward =
the
> original packet to the appropriate destination.
>=20
> And if Node C needs to send a packet to 10.77.1.2, the router on LAN2 will
> force it to send the packet to Node B. The Node B should then forward the
> packet to Node A.

I think you're looking for NAT, which will translate the appropiate
addresses.

Have a google for some information.

Ref: natd(8), ipfw(8)

--=20
Philip Reynolds                      | RFC Networks Ltd.
philip.reynolds@rfc-networks.ie      | +353 (0)1 8832063
http://people.rfc-networks.ie/~phil  | www.rfc-networks.ie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030620113807.GA78646>