RADIUSdesk

This is an old revision of the document!


Prepare the hardware and OS

Install VLAN Module

  • In order for us to run VLANs on the server we need to install the VLAN module
#Install the VLAN package
sudo apt-get update
sudo apt-get install vlan
#Permanently load the module during boot time
sudo su -c 'echo "8021q" >> /etc/modules'
#Reboot the server
sudo reboot
#Confirm that it is loaded
lsmod  | grep 8021q

Install Bridge Utilities

  • In order for us be be able to use the bridging capabilities on the server, we need to install the bridge utilities.
#Install the bridge-utils package
sudo apt-get update
sudo apt-get install bridge-utils

Configure the Interfaces

  • Edit the /etc/network/interfaces file to contain the following configuration.
#Remember also to configure eth1 to contain the public IP Address...
 
auto eth0.101
iface eth0.101 inet manual
        up ip link set $IFACE up promisc on
 
auto br0.101
iface br0.101 inet static
        address 10.101.0.1
        netmask 255.255.0.0
        bridge_ports eth0.101
 
auto eth0.102
iface eth0.102 inet manual
        up ip link set $IFACE up promisc on
 
auto br0.102
iface br0.102 inet static
        address 10.102.0.1
        netmask 255.255.0.0
        bridge_ports eth0.102
 
auto eth0.103
iface eth0.103 inet manual
        up ip link set $IFACE up promisc on
 
auto br0.103
iface br0.103 inet static
        address 10.103.0.1
        netmask 255.255.0.0
        bridge_ports eth0.103

Confirm it is correct

  • Reboot the server and confirm that it came up with these bridges configured.
#Issue the ifconfig command to confirm the br0.101, br0.102 and br0.103 are up and has the correct IP Address.
#Also use the brctl command to show you the bridges present
system@rd:~$ brctl show
bridge name	bridge id		STP enabled	interfaces
br0.101		8000.000c294aafdf	no		eth0.101
br0.102		8000.000c294aafdf	no		eth0.102
br0.103		8000.000c294aafdf	no		eth0.103