[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vlans



Bonno Bloksma <b.bloksma@tio.nl> wrote:

> What I do NOT want is to have names like eth0.60 for vlan.60 incoming
> on interface eth0. Because if I decide it would be better to have
> vlan60 come in on eth1 I would have to rename all (firewall, etc.)
> scripts that refer to that name.

> What I would like to have is names like eth0, eth1, eth2, vlan-staff,
> vlan-internet, etc.

All answers you seek are provided in vlan-interfaces(5). Example:

iface vlan60 inet static
  vlan-raw-device eth0
  address 192.168.1.1
  netmask 255.255.255.0

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


Reply to: