[gPXE-devel] 802.1Q support for gpxe
michael-dev at fami-braun.de
michael-dev at fami-braun.de
Thu Mar 4 14:18:16 EST 2010
Hi,
I've been happy using gpxe to boot linux for a while and now'd like to
deploy it in an environment where support 802.1q is essential.
Namely, I'd like to deploy access points (based on an alix2 board) on
ports where the untagged vlan is already in use.
Therefore, I've had a quick glance at the gpxe source and it looked
quite easy to add. I just changed net/ethernet.c to add/verify 802.1q
headers and a 802.1q header declaration to if_ether.h .
No changes to legacy.c are required, as it looks like a packet of kind
0x8100 to it and will split and join it correctly.
To configure the vlan identifiers, use
set net0/vid 10,11,12
which means tagged with vlan 10, 11 and 12 where vlan 10
is the outer identity.
Please find a patch attached, feedback is welcomed.
Though, I could test it only with a single vlan header added (the
switches here don't support nested vlans, yet) and did it by embedding
set net0/vid 514
autoboot
into the image.
Sincerely,
M. Braun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlan.diff
Type: text/x-patch
Size: 6520 bytes
Desc: not available
Url : http://etherboot.org/pipermail/gpxe-devel/attachments/20100304/f1d06251/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://etherboot.org/pipermail/gpxe-devel/attachments/20100304/f1d06251/attachment-0001.bin
More information about the gPXE-devel
mailing list