vlan - 802.1Q VLAN implementation for Linux ChangeLog

HOWTO


# vlan 1.8
# ========
# Prerequisites:
# make (optional - a vconfig binary is included)
# gcc (")
# fileutils or coreutils

# vlan 1.8 requires the vlan code that is already in Linux 2.4.21+  If you
# run an old kernel, version 1.7m works with kernel 2.4.14+ and 1.5 works
# with 2.4.12-pre5

# I don't have any clients that use VLANs any more, so I am currently unable
# to do anything more than make sure that this downloads and compiles.  Off
# the top of my head, I think the last version that I used for real (with a
# network that had VLANs) was 1.5

cd
test -f installed/vlan.1.8.tar.gz && mv installed/vlan.1.8.tar.gz .
test ! -f vlan.1.8.tar.gz &&
wget http://www.candelatech.com/~greear/vlan/vlan.1.8.tar.gz
cd /usr/local/src
find -type d -maxdepth 1 -name "vlan-*" -exec rm -r {} \;
tar xzvf ~/vlan.1.8.tar.gz
mv vlan vlan-1.8
cd vlan-1.8
chown -R root.root .

# If you want to recompile vconfig:
make clean ; make

install vconfig /usr/local/sbin/
install -m 0444 vconfig.8 /usr/local/man/man8/
cd
mkdir -p -m 0700 installed
rm -f installed/vlan.*.tar.*
mv vlan.1.8.tar.gz installed/


## Usage examples:
## Add the eth0.11 interface (vlan 11 off of eth0):
# vconfig add eth0 11
# vconfig set_flag eth0.11 1 1 # Needed for ISC dhcpd

## Set up the interface as 192.168.11.124/255.255.255.0 using net-tools'
## 'ifconfig':
# ifconfig -i eth0.11 192.168.11.124
# ifconfig -i eth0.11 up

## Set up the interface as 192.168.11.124/255.255.255.0 using iproute2's 'ip'
## instead of ifconfig:
# ip address add 192.168.11.124/24 dev eth0.11
# ip link set dev eth0.11 up

## Remove the eth0.11 interface:
# vconfig rem eth0.11


# Peruse through /proc/net/vlan/* for info and for more info see the web
# site for the mailing list, howtos, and other docs.


# If you ever need to uninstall vlan:
rm -f /usr/local/sbin/vconfig /usr/local/man/man8/vconfig.8
find /usr/local/src -type d -maxdepth 1 -name "vlan-*" -exec rm -r {} \;
rm -f ~/installed/vlan.*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2004-10-13 2:02pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]