[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] PATCH: allow defining MAC address etc
From: |
jamal |
Subject: |
[Qemu-devel] PATCH: allow defining MAC address etc |
Date: |
Sun, 21 Aug 2005 21:44:07 -0400 |
Ok, here goes as per discussion...
Please apply.
This patch is intended for allowing automated clever scripting
for networking (tuntap only).
It does the following:
1) extends syntax for specifying the macaddr
Examples:
a) "-nics 2"
Which will give you the
0x52:0x54:0x00:0x12:0x34:0x56 for the first nic
and 0x52:0x54:0x00:0x12:0x34:0x57 for the second nic
b) "-nics 3 -macaddr 00:11:a:0:1:39"
Which will give first NIC 00:11:a:0:1:39, the second 00:11:a:0:1:3A
and the third 00:11:a:0:1:3B.
c) "-nics 2 -macaddr 00:11:a:0:2:19,00:11:a:0:1:19"
Which will give first NIC 00:11:a:0:2:19, the second 00:11:a:0:1:19
d) "-nics 3 -macaddr 00:11:a:0:1:39,00:11:a:0:3:19"
which will give the first NIC a MAC of 00:11:a:0:1:39 the second
00:11:a:0:3:19 and the last 00:11:a:0:1:3B
2) In addition to receiving the tun device name as $1, the
net setup script now receives $2 as the guest MAC address.
One could encode a byte or two in this MAC address for example as a
message to the host script so that it can do something like prepare a
route etc
cheers,
jamal
qemu_t2_p
Description: Text Data
- Re: [Qemu-devel] patch: allow defining MAC address etc, (continued)
- Re: [Qemu-devel] patch: allow defining MAC address etc, Paul Brook, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, Paul Brook, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, Jim C. Brown, 2005/08/21
- Re: [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/21
- Re: [Qemu-devel] patch: allow defining MAC address etc, Jim C. Brown, 2005/08/21
Re: [Qemu-devel] patch: allow defining MAC address etc, Fabrice Bellard, 2005/08/21
[Qemu-devel] PATCH: allow defining MAC address etc,
jamal <=