Hi all

As one of Switzerland largest ISP's requires pppoe with vlan tagging for fiber connections, I wondered if vlan tagging could get supported in the network scripts.

As I found out via https://wiki.archlinux.org/index.php/VLAN, one can create a tagged VLAN using

ip link add link $REAL_IFACE name $VLAN_IFACE type vlan id $VLAN_ID

, so I guess this could be implemented by

- checking for $VLAN_IFACE and $VLAN_ID being set
- checking for $VLAN_ID and $REAL_IFACE (in which case IFACE then holds the $VLAN_IFACE)

The latter would probably be more consistent with other network stuff, where iface always holds the resulting interface, and not the physical one.

I could add this to /lib/services/pppoe, if anyone else cares. I'm not sure if, apart from pppoe, anyone else is interested in vlan stuff. I'm not even sure /lib/services/pppoe is still in blfs....

If yes, I could also add this to ipv4-static and dhcpcd.


Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to