Multiple virtual VLAN interfaces on single NIC (Debian)

Posted by RayQuang on Server Fault See other posts from Server Fault or by RayQuang
Published on 2012-01-29T06:19:00Z Indexed on 2012/07/01 15:18 UTC
Read the original article Hit count: 263

Filed under:
|
|

I'm trying to setup multiple virtual interfaces with VLAN's on a single NIC. I'm running Debian Squeeze.

Currently this is my /etc/netowrk/interfaces

auto eth0.10
iface eth0.10 inet dhcp

This gives me a working connection, however I'm not sure how to configure several like these on a single NIC so I can use multiple external IP's.

I have tried aliasing the VLAN's like so: iface eth0.10:1 But that was not successful and it said failed to bring up interface.

And suggestions would be greatly appreciated :)

© Server Fault or respective owner

Related posts about linux

Related posts about networking