Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2006 13:34:05 +0100
From:      Bob Kersten <bob_freebsd_questions@fellownet.com>
To:        Fabian Keil <freebsd-listen@fabiankeil.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: VPN / Bridge
Message-ID:  <6B6178AF-D693-4B33-9747-1D6E119EF2B7@fellownet.com>
In-Reply-To: <20060125115737.6b3fc4e2@localhost>
References:  <E11CF724-B7BB-473B-B313-EBCFCB593424@fellownet.com> <20060124172803.398db141@localhost> <37771069-F2EF-402A-9542-B6784F494AE7@fellownet.com> <20060125115737.6b3fc4e2@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> ATM I don't use a VPN therefore I can't give you a known to work
> step-by-step solution. However I couldn't reproduce your problem
> on 6.0 with the following commands:
>
> root@TP51 ~ #ifconfig gif0 tunnel 1.2.3.4 5.6.7.8 up
> root@TP51 ~ #ifconfig bridge0 create
> root@TP51 ~ #ifconfig bridge0 addm ndis0 addm gif0 up
> root@TP51 ~ #ifconfig bridge0
> bridge0: flags=8043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
>         ether ac:de:48:f4:4e:9c
>         priority 32768 hellotime 2 fwddelay 15 maxage 20
>         member: gif0 flags=3<LEARNING,DISCOVER>
>         member: ndis0 flags=3<LEARNING,DISCOVER>

Where did your gif0 interface come from? I've added it using  
'ifconfig gif0 create', but when I try to add it to the bridge I'm  
getting the following response:

[~] bob@spike> ifconfig bridge0 addm gif0
ifconfig: BRDGADD gif0: Operation not permitted

I've noticed that in /var/log/messages it said that the mtu didn't  
match, so I've solved that an put both mtu's to 1500. However, the  
message still pops up when trying to add gif0 to the bridge.

Does anyone have clues as to how this can be done?

Cheers,
  Bob.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B6178AF-D693-4B33-9747-1D6E119EF2B7>