Sven Hartge wrote:
> Bob Proulx <b...@proulx.com> wrote:
> > I see no vlans in your configuration above.  The above simply shows
> > additional IP addresses being assigned.  If your switch is requiring
> > vlan tagging then that is likely your problem.
> 
> Ah, nope. 
> 
> It's "magic". Since Wheezy ifupdown knows the notation 
> "interface dot VLAN-ID" and automatically creates an appropriatly
> configured interface. (In Squeeze you needed the "vlan"-package or a
> small scriptled in /etc/network/if-pre-up.d to issue the correct
> "ip"-commands.)

What?  They have changed the syntax and I am out of date?!  Horrors!  :-/
I will go and learn the new syntax for these things.

  VLAN AND BRIDGE INTERFACES
       To ease the configuration  of  VLAN  interfaces,  interfaces  having  .
       (full  stop character) in the name are configured as 802.1q tagged vir-
       tual LAN interface. For example, interface eth0.1 is a  virtual  inter-
       face having eth0 as physical link, with VLAN ID 1.

       For  compatibility with bridge-utils package, if bridge_ports option is
       specified, VLAN interface configuration is not performed.

Thanks for pointing this out.

> > See the documentation for setting up vlans here:
> 
> >   https://wiki.debian.org/NetworkConfiguration
> 
> That is horribly outdated. It even says "Etch" on the part for VLANs.

Would you feel like updating it?  It is a wiki after all.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to