Subject: Re: [cube@cubidou.net: Re: Moving ethfoo in the main tree]
To: Hubert Feyrer <hubert@feyrer.de>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 12/13/2004 20:58:56
--Lb0e7rgc7IsuDeGj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 13, 2004 at 02:10:36PM +0100, Quentin Garnier wrote:
> On Mon, Dec 13, 2004 at 01:57:34PM +0100, Hubert Feyrer wrote:
> > On Mon, 13 Dec 2004, Quentin Garnier wrote:
> > >I confirm it works as expected.  And this is a case where using the
> > >cloning device is less useful:  creating the bridge and ethfoo
> > >interfaces beforewards is much simpler.
> >=20
> > What do you mean, create beforeward - is there something like "ifconfig=
=20
> > ethfoo0 create" that I then bind to my (say) first instance of=20
> > qemu explicitly?
>=20
> Yes.  I did exactly this:
>=20
> ifconfig ethfoo0 create
> ifconfig ethfoo1 create
> ifconfig bridge0 create
> brconfig bridge0 add ethfoo0 add ethfoo1 up
> ifconfig ethfoo0 172.16.17.18 up
> ifconfig ethfoo1 up
> qemu -tun-fd 3 -hda wd0 3<> /dev/ethfoo0
> qemu -tun-fd 3 -hda wd1 3<> /dev/ethfoo1

The second command should read:

qemu -tun-fd 3 -hda wd1 -macaddr a:b:c:d:e:f 3<> /dev/ethfoo1

Otherwise both virtual machines have the same Ethernet address,
which is not good.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"Commala-come-five! / Even when the shadows rise!
To see the world and walk the world / Makes ya glad to be alive."
Susannah's Song, The Dark Tower VI, Stephen King, 2004.

--Lb0e7rgc7IsuDeGj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQb30gNgoQloHrPnoAQLFCggAxvJEVRgzf3W7Ypysn/yqCbrVqJCTPzLQ
xvzPRAta31nBSeiuzixqI3FnKCzvI1+2CCx7gzgHBluhSdb3MWgSXvYv4K7EmW6J
l2ImYjJsFZtlZnOib2MbgUgk8PDvjc6ESKCJk/qEL+AoGDrlYMgoeswaKhbMwCYi
gTq25821tCm/5OFUGNN/1BucKBoB45o/tEJzIcZGrfvGAqIsxVZgcWB3Mnvus8eg
G9+MefGnbXxIbwsrnLPqh42C+A2AOcZwiqYqkaTzcMBFiV+90OtteaZXOczYdVWV
q/hYPbuUypvf4q4/MZZGCTulBe1l/SVer0UOzRyXUuQCEexmALQbWQ==
=73Y9
-----END PGP SIGNATURE-----

--Lb0e7rgc7IsuDeGj--