Package: iproute
Version: 20080725-2
Severity: normal

hi,

The complete configuration and removing of vlan and veth devices with ip
is undocumented.
This interfaces is especially nice because it does not enforce a fixed
naming convention on vlan interfaces like vconfig (which is already
deprecated by it's developers[0]).

create vlan:
# ip link add link eth0 name dmz100 type vlan id 100

remove vlan:
# ip link del dev dmz100

supported parameters by type=vlan:
# ip link add type vlan help
Usage: ... vlan id VLANID [ FLAG-LIST ]
                          [ ingress-qos-map QOS-MAP ] [ egress-qos-map QOS-MAP ]

VLANID := 0-4095
FLAG-LIST := [ FLAG-LIST ] FLAG
FLAG := [ reorder_hdr { on | off } ]
QOS-MAP := [ QOS-MAP ] QOS-MAPPING
QOS-MAPPING := FROM:TO

there is also a type veth (maybe openvz's veth device?)

Would be nice to have this in the doku of ip link help

[0]: http://www.spinics.net/lists/netdev/msg77014.html

michael

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (991, 'unstable'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-grml64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.iso885915, LC_CTYPE=en_US.iso885915 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages iproute depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libdb4.6                      4.6.21-4   Berkeley v4.6 Database Libraries [

Versions of packages iproute recommends:
ii  libatm1                       2.4.1-17.1 shared library for ATM (Asynchrono

Versions of packages iproute suggests:
pn  iproute-doc                   <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to