Date: Fri, 7 Nov 2003 19:47:37 +0100 From: Walter Hop <freebsd@walter.transip.nl> To: Helge Oldach <helge.oldach@atosorigin.com> Cc: freebsd-net@freebsd.org Subject: Re[2]: Connect two LANs over an IPv4 tunnel? Message-ID: <864138000.20031107194737@blue.calx.nl> In-Reply-To: <200311061405.PAA15335@galaxy.hbg.de.ao-srv.com> References: <167116793500.20031106031202@blue.calx.nl> from Walter Hop at "Nov 6, 2003 3:12: 2 am" <200311061405.PAA15335@galaxy.hbg.de.ao-srv.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[in reply to helge.oldach@atosorigin.com, 6-11-2003] >>I would like to connect two networks (home and work), so that I can set >>up my home workstations in the same subnet as the work LAN. Out of this >>/24, I would like to use a /29 at home. >> >>(attempt 2) >> >>The gif tunnel worked and the boxes can ping eachother over it, so I >>assigned private addresses to the gif endpoints. Then I tried adding some >>home IP aliases to the work box's ethernet interface and using forwarding >>and "route delete/add" in the hope that packets would be routed to the >>gateway in private-space across gif1. > > You do not need IP aliases (I presume you mean static ARP entries), but > just need to get the routes right. Proxy ARP will do the rest for you: > > sysctl net.link.ether.inter.proxyall=1 Helge, I am eternally grateful. This simple sysctl made it all work. :) Thank you! cheers, walter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864138000.20031107194737>