[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-net
Subject: Re: using vtund
From: Julian Elischer <julian () elischer ! org>
Date: 2001-03-29 14:14:23
[Download RAW message or body]
Gunnar Olsson wrote:
>
> 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..
you can do this from the command line in netgraph
(you may need to grab the eiface module from -currenet
I haven't back-ported it yet.)
>
> 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-net" in the body of the message
--
__--_|\ Julian Elischer
/ \ julian@elischer.org
( OZ ) World tour 2000-2001
---> X_.---._/
v
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic