"Tkachenko, Artem N" <[EMAIL PROTECTED]> 44 lines of wisdom included:
> What I am trying to accomplish is to set up Node A and Node B (and not Node
> C) to have Node A think that it is directly connected to LAN2 with an IP
> Address 10.77.1.2
> 
> 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.
> 
> 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)

-- 
Philip Reynolds                      | RFC Networks Ltd.
[EMAIL PROTECTED]      | +353 (0)1 8832063
http://people.rfc-networks.ie/~phil  | www.rfc-networks.ie
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to