[Bug 1006547] Re: vlan doesn't work properly on 12.04 server

Claudio claudio_enjoy at libero.it
Sun Nov 4 19:18:28 UTC 2012


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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1006547

Title:
  vlan doesn't work properly on 12.04 server

Status in “isc-dhcp” package in Ubuntu:
  Invalid
Status in “vlan” package in Ubuntu:
  Invalid

Bug description:
  same config working only with previous distro 10.04 lts and 11.10 server 
  with 12.04 server it s working everytime , 
  example 
  command : ifup eth0.101
  with : .../interfaces:
  "auto eth0 
   iface eth0 inet dhcp 
    iface eth0.101 inet dhcp"

  but it doenst work when I restart : /etc/init.d/networking restart

  after that it stucks for a whilehere:  
  dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.eth0.101.pid -lf /var/lib/dhcp/dhclient.eth0.101.leases -1 eth0.101

  any idea  to fix it ?

  many thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1006547/+subscriptions




More information about the foundations-bugs mailing list