From owner-freebsd-hackers Thu Mar 29 3:55: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.kebne.se (mail.kebne.se [212.209.134.151]) by hub.freebsd.org (Postfix) with ESMTP id C20CB37B718; Thu, 29 Mar 2001 03:55:01 -0800 (PST) (envelope-from gunnar.olsson@xelerated.com) Received: by mail.kebne.se with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Mar 2001 13:54:59 +0200 Message-ID: <31A473DBB655D21180850008C71E251A031AAEE2@mail.kebne.se> From: Gunnar Olsson To: "Freebsd Hackers (E-mail)" , "Freebsd Net (E-mail)" Subject: using vtund Date: Thu, 29 Mar 2001 13:54:57 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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