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

VLAN problem



I am trying to get VLANs working on eth1 on a server. Whenever I try to run ifup eth1 I get:
SIOCSIFNETMASK: Cannot assign requested address
Failed to bring up eth1.

I tried shortening the configuration to the "bare minimum" in /etc/ network/interfaces:
auto eth1 vlan1
iface eth1 inet static
        address 0.0.0.0
        netmask 0.0.0.0
        vlan_raw_device eth1
iface vlan1 inet static
        address 192.168.0.229
        netmask 255.255.252.0
        gateway 192.168.1.1
        vlan_raw_device eth1

the "vlan" package is installed. I have even tried recompiling the kernel with vlan support as part of the kernel (as opposed to as a module). Can anyone tell me what I'm overlooking?

A.



Reply to: