buggNewSense GNU/Linux - Bugs: bug #42391, Bringing up VLAN interfaces via...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #42391: Bringing up VLAN interfaces via /etc/network/interfaces fails

Submitted by:  Jan Prunk <yang>
Submitted on:  Tue 20 May 2014 11:08:10 AM UTC  
 
Category: gNewSense 3Severity: 3 - Normal
Item Group: amd64Status: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 20 May 2014 11:24:59 AM UTC, comment #1:

My fault, I did not have the package "vlan" installed. After installing the package the interface seems to be brought up.

Please, close the bug.

Jan Prunk <yang>
Tue 20 May 2014 11:08:10 AM UTC, original submission:

Hi !

Trying with Linux 3.14.4-gnu #1 SMP Tue May 13 16:40:13 UTC 2014 x86_64 GNU/Linux

I have the following context in /etc/network/interfaces

auto eth0.100
iface eth0.100 inet static
address 192.168.100.1
netmask 255.255.255.252
vlan_raw_device eth0

Bringing up the interface fails:

$ ifup eth0.100
SIOCSIFADDR: No such device
eth0.100: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth0.100: ERROR while getting interface flags: No such device
Failed to bring up eth0.100.

The manual method of bringing up the interface with "ip link" works:
$ ip link add link eth0 name eth0.100 type vlan id 100
$ ip addr add 192.168.100.1/24 brd 192.168.100.255 dev eth0.100
$ ip link set dev eth0.100 up

Kind regards,
Jan

Jan Prunk <yang>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by samgee (Updated the item)
  • -unavailable- added by yang (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 May 2014 07:10:59 PM UTCsamgeeStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1