Fwd: vlans and Debian

Peter Schwindt peter.schwindt at gmail.com
Thu Jun 8 02:46:28 CDT 2006


Oops, forget to also send the answer to the list.

---------- Forwarded message ----------
From: Peter Schwindt <peter.schwindt at gmail.com>
Date: 08.06.2006 09:45
Subject: Re: vlans and Debian
To: Gareth Allen <gallen at openworld.co.za>


Hi Gareth,

2006/6/8, Gareth Allen <gallen at openworld.co.za>:

> can anyone point me in the right direction?

I think you have already tried this one?

in /etc/network/interfaces:

1. declare 'base' device - that's the device, that 'transports' all vlans

auto eth2
iface eth2 inet static
        address 192.168.1.254
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255

2. distribute the vlans onto their own devices:

auto vlan182
iface vlan182 inet static
        vlan_raw_device eth2
        address ...

(which maps vlan 182 to device vlan182)

and so on...

Peter



More information about the Linux-PowerEdge mailing list