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

Re: VLAN problem



On Tue, Mar 14, 2006 at 10:21:42AM +0000, Arn?r Kristj?nsson wrote:
> 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?

i am assuming you are speaking of the VLAN_8021Q module. is this
correct? do you have the other end (switch/router/dot1q aware device) configured properly?

-matt zagrabelny



Reply to: