Comment 13 for bug 1006547

Revision history for this message
pippo (claudio-enjoy) wrote :

reporduce that :
install vlan

Interface :
"auto eth0
iface eth0 inet static
        address 192.168.2.14
        netmask 255.255.255.0
        gateway 192.168.2.1
        dns-nameservers 192.168.2.1

auto eth0.43
iface eth0.43 inet dhcp"

then reboot you get the ip on vlan43 - perfect until here
then :
sudo /etc/init.d/networking restart

 * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
 * Reconfiguring network interfaces... Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
Removed VLAN -:eth0.43:-
ssh stop/waiting
ssh start/running, process 2772
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
Added VLAN with VID == 43 to IF -:eth0:-
Failed to bring up eth0.43.
                                                                         [ OK ]

ifconfig:
eth0 Link encap:Ethernet HWaddr *********
          inet addr:192.168.2.14 Bcast:192.168.2.255 Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe11:bfe4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1690 errors:0 dropped:123 overruns:0 frame:0
          TX packets:1460 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:157343 (157.3 KB) TX bytes:567141 (567.1 KB)

eth0.43 Link encap:Ethernet HWaddr *******
          inet6 addr: fe80::20c:29ff:fe11:bfe4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:106 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4896 (4.8 KB) TX bytes:37886 (37.8 KB)

******* is my MAC