Date: Mon, 31 Jan 2011 06:00:06 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Bridge Interface Members Message-ID: <4D464FE6.7060200@infracaninophile.co.uk> In-Reply-To: <AANLkTi=RR71DLU2xdbZuMSO2JU4uh8uRXKLP45VYDdh1@mail.gmail.com> References: <AANLkTi=RR71DLU2xdbZuMSO2JU4uh8uRXKLP45VYDdh1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3845EC5006BDDE61F8D6D077 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 30/01/2011 16:49, Carl Chave wrote: > Trying to configure a bridge interface with two member interfaces, > fxp0 and re0. Configuring the interface from scratch manually works > fine but when I add config entries to rc.conf the two member > interfaces aren't added at boot. Bridge0 is created it just doesn't > have any members. From the serial console I can manually add the two > member interfaces and everything is fine but obviously I'd like it to > work without manual intervention. Any ideas? >=20 > Here's my rc.conf entries: >=20 > cloned_interfaces=3D"bridge0" > ifconfig_bridge0=3D"addm fxp0 addm re0" > ifconfig_fxp0=3D"up" > ifconfig_re0=3D"up" > ifconfig_bridge0=3D"inet 10.0.1.2 netmask 255.255.255.0 up" >=20 > Any ideas? Yes. You overwrite your first ifconfig_bridge0 setting with the second one. These are shell variable initializations, not executable statements= =2E There are various ways to fix the problem. Try this for example: replace the second ifconfig_bridge0 line with: ipv4_addrs_bridge0=3D"10.0.1.2/24" Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig3845EC5006BDDE61F8D6D077 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1GT+4ACgkQ8Mjk52CukIxYjACdFL4+k9Vy9YrdCAYIXGMWxNhy tGcAn3kEXtcqgCE9ZUjbKAuSrdC4OgdE =m7UQ -----END PGP SIGNATURE----- --------------enig3845EC5006BDDE61F8D6D077--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D464FE6.7060200>