Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2001 06:14:23 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Gunnar Olsson <gunnar.olsson@xelerated.com>
Cc:        "Freebsd Hackers (E-mail)" <freebsd-hackers@freebsd.org>, "Freebsd Net (E-mail)" <freebsd-net@freebsd.org>
Subject:   Re: using vtund
Message-ID:  <3AC3433F.A673BB6F@elischer.org>
References:  <31A473DBB655D21180850008C71E251A031AAEE2@mail.kebne.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC3433F.A673BB6F>