ipsec tunnel with same subnet in A and B

julien mabillard freebsd at libkvm.org
Thu Sep 25 01:35:47 PDT 2003


hi,
i have some questions regarding an ipsec tunnel
which i want to setup between to hosts (A, B),

but I want A and B to be in the same subnet.
what are the possiblilities?

also, i might meet the following situation:
a)
A 10.0.0.10 <==> ipsec_gw <==> routers <==> ipsec_gw <===> B 10.0.0.1

b)
A 10.0.0.10 <==> ipsec_gw <==> Layer-2(switches) <==> ipsec_gw <===> B 10.0.0.1

can anyone give me a clue on the 2 stiuations?

in (a), i just want an ip sec tunnel, but the endpoint hosts
being in the same subnet.

in (b), same situation but i don't have routing between the
ipsec boxes, only switching.
can i tweak some bridging and netgraph setup for that?

thank you very much.

-- 
Key fingerprint = C549 46E1 1B75 116E 3321  BC0A E502 9457 319E B340


More information about the freebsd-net mailing list