From owner-freebsd-questions@FreeBSD.ORG Thu Jan 26 12:54:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93C7716A420 for ; Thu, 26 Jan 2006 12:54:58 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81FA043D45 for ; Thu, 26 Jan 2006 12:54:57 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 24696 invoked from network); 26 Jan 2006 12:54:54 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[217.187.178.179]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 26 Jan 2006 12:54:54 -0000 Date: Thu, 26 Jan 2006 13:54:25 +0100 From: Fabian Keil To: Bob Kersten Message-ID: <20060126135425.443c9e95@localhost> In-Reply-To: <6B6178AF-D693-4B33-9747-1D6E119EF2B7@fellownet.com> References: <20060124172803.398db141@localhost> <37771069-F2EF-402A-9542-B6784F494AE7@fellownet.com> <20060125115737.6b3fc4e2@localhost> <6B6178AF-D693-4B33-9747-1D6E119EF2B7@fellownet.com> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.6; i386-portbld-freebsd6.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2006-08-19.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_9zfvSufrD416F03JUkD2AmR; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-questions@freebsd.org Subject: Re: VPN / Bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 12:54:58 -0000 --Sig_9zfvSufrD416F03JUkD2AmR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Bob Kersten wrote: =20 > > 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=3D8043 mtu 1500 > > ether ac:de:48:f4:4e:9c > > priority 32768 hellotime 2 fwddelay 15 maxage 20 > > member: gif0 flags=3D3 > > member: ndis0 flags=3D3 >=20 > Where did your gif0 interface come from? I've added it using =20 > 'ifconfig gif0 create', but when I try to add it to the bridge I'm =20 > getting the following response: >=20 > [~] bob@spike> ifconfig bridge0 addm gif0 > ifconfig: BRDGADD gif0: Operation not permitted >=20 > I've noticed that in /var/log/messages it said that the mtu didn't =20 > match, so I've solved that an put both mtu's to 1500. However, the =20 > message still pops up when trying to add gif0 to the bridge. gif0 was created with 'ifconfig gif0 create', I just forgot to copy and paste it. I get the "Operation not permitted" error only when I haven't enough privileges: fk@TP51 ~ $ifconfig bridge0 addm gif0 ifconfig: BRDGADD gif0: Operation not permitted Does your user bob have root privileges and did you try it as root? Fabian --=20 http://www.fabiankeil.de/ --Sig_9zfvSufrD416F03JUkD2AmR Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD2MahjV8GA4rMKUQRAi65AJ9rhml+/f78F9k3HtwNzRNPPWvnKgCfZzwY QdVOPcZ/FRmjE1XtVKi5UPo= =fEjA -----END PGP SIGNATURE----- --Sig_9zfvSufrD416F03JUkD2AmR--