[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-vlan
Subject:    [VLAN] debian, huuray!
From:       Ard van Breemen <ard () telegraafnet ! nl>
Date:       2001-10-29 15:11:07
[Download RAW message or body]

New installed server with vlan enabled kernel:
c26133:~# sudo apt-get update
Hit http://debian0 local/main Packages
Ign http://debian0 local/main Release
Hit http://debian0 local/clustering Packages
Ign http://debian0 local/clustering Release
Hit http://debian1 local/main Packages
Ign http://debian1 local/main Release
Hit http://debian1 local/clustering Packages
Ign http://debian1 local/clustering Release
Hit http://debian1 sid/main Packages
Ign http://debian1 sid/main Release
Hit http://debian1 sid/contrib Packages
Ign http://debian1 sid/contrib Release
Hit http://debian0 sid/main Packages     
Ign http://debian0 sid/main Release      
Hit http://debian0 sid/contrib Packages  
Ign http://debian0 sid/contrib Release   
Hit http://debian0 sid/non-free Packages 
Ign http://debian0 sid/non-free Release  
Hit http://debian1 sid/non-free Packages 
Ign http://debian1 sid/non-free Release  
Hit http://debian0 sid/non-US/main Packages
Ign http://debian0 sid/non-US/main Release
Hit http://debian0 sid/non-US/contrib Packages
Ign http://debian0 sid/non-US/contrib Release
Hit http://debian0 sid/non-US/non-free Packages
Ign http://debian0 sid/non-US/non-free Release
Hit http://debian1 sid/non-US/main Packages
Ign http://debian1 sid/non-US/main Release
Hit http://debian1 sid/non-US/contrib Packages
Ign http://debian1 sid/non-US/contrib Release
Hit http://debian1 sid/non-US/non-free Packages
Ign http://debian1 sid/non-US/non-free Release
Reading Package Lists... Done
Building Dependency Tree... Done
c26133:~# sudo apt-get install vlan  
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  vlan 
0 packages upgraded, 1 newly installed, 0 to remove and 99  not upgraded.
Need to get 19.9kB of archives. After unpacking 48.1kB will be used.
Get:1 http://debian0 sid/main vlan 1.0.4-1 [19.9kB]
Fetched 19.9kB in 0s (88.3kB/s)
Selecting previously deselected package vlan.
(Reading database ... 8885 files and directories currently installed.)
Unpacking vlan (from .../archives/vlan_1.0.4-1_i386.deb) ...
Setting up vlan (1.0.4-1) ...

c26133:~# vconfig -?
Expecting argc to be 3-5, inclusive.  Was: 2

Usage: add             [interface-name] [vlan_id]
       rem             [vlan-name]
       set_flag        [interface-name] [flag-num]       [0 | 1]
       set_egress_map  [vlan-name]      [skb_priority]   [vlan_qos]
       set_ingress_map [vlan-name]      [skb_priority]   [vlan_qos]
       set_name_type   [name-type]

* The [interface-name] is the name of the ethernet card that hosts
  the VLAN you are talking about.
* The vlan_id is the identifier (0-4095) of the VLAN you are operating on.
* skb_priority is the priority in the socket buffer (sk_buff).
* vlan_qos is the 3 bit priority in the VLAN header
* name-type:  VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5),
              DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5)
* bind-type:  PER_DEVICE  # Allows vlan 5 on eth0 and eth1 to be unique.
              PER_KERNEL  # Forces vlan 5 to be unique across all devices.
* FLAGS:  1 REORDER_HDR  When this is set, the VLAN device will move the
            ethernet header around to make it look exactly like a real
            ethernet device.  This may help programs such as DHCPd which
            read the raw ethernet packet and make assumptions about the
            location of bytes.  If you don't need it, don't turn it on, because
            there will be at least a small performance degradation.  Default
            is OFF.
c26133:~# 


Allright: first bug: version number is incorrect :)

-- 
<ard@telegraafnet.nl> Telegraaf Elektronische Media  http://wwwijzer.nl
http://leerquoten.monster.org/ http://www.faqs.org/rfcs/rfc1855.html 
Let your government know you value your freedom. Sign the petition:
http://petition.eurolinux.org/
_______________________________________________
VLAN mailing list  -  VLAN@Scry.WANfear.com
http://www.WANfear.com/mailman/listinfo/vlan
VLAN Page:  http://scry.wanfear.com/~greear/vlan.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic