Date: Thu, 29 Mar 2001 13:54:57 +0200 From: Gunnar Olsson <gunnar.olsson@xelerated.com> To: "Freebsd Hackers (E-mail)" <freebsd-hackers@freebsd.org>, "Freebsd Net (E-mail)" <freebsd-net@freebsd.org> Subject: using vtund Message-ID: <31A473DBB655D21180850008C71E251A031AAEE2@mail.kebne.se>
next in thread | raw e-mail | index | archive | help
Hi, Is the following possible to do with the vtund?! I have one host running FreeBSD 4.2. On that host I have one "real" ethernet board, rl0. I would like to create several tap interfaces (managed to do). All packets directed to the tap interfaces I want to be tunneled through the rl0 interfaces and then just grab the packets on the other side, i.e. no client-server behaviour but using vtund anyway?! Example: ifconfig tap0 10.10.10.1 netmask 255.255.255.0 ifconfig rl0 10.0.0.1 netmask 255.255.255.0 When doing a ping 10.10.10.2 I would like following to happen: data-->tap ip header-->tap ether header that packet sent to vtund and sent out of the rl0 interface. On the rl0 wire the packet should look like: date-->tap ip header-->tap ether header-->rl0 ip header-->rl0 ether header Is this possible to do with vtund? If so, how should I edit the vtund.conf file? Should I start vtund in server mode? Best Regards Gunnar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gunnar Olsson Phone: +46 8 5062 5762 Xelerated Packet Devices AB Fax: +46 8 5455 3211 Regeringsgatan 67 Mobile: +46 73 3279765 SE-10386 Stockholm Web: http://www.xelerated.com Email: mailto:gunnar.olsson@xelerated.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31A473DBB655D21180850008C71E251A031AAEE2>