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 ]
reporduce that :
install vlan
Interface :
dns-nameserver s 192.168.2.1
"auto eth0
iface eth0 inet static
address 192.168.2.14
netmask 255.255.255.0
gateway 192.168.2.1
auto eth0.43
iface eth0.43 inet dhcp"
then reboot you get the ip on vlan43 - perfect until here d/networking restart
then :
sudo /etc/init.
* 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 vlan/config
[ OK ]
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/
Added VLAN with VID == 43 to IF -:eth0:-
Failed to bring up eth0.43.
ifconfig: 29ff:fe11: bfe4/64 Scope:Link
collisions: 0 txqueuelen:1000
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:
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
RX bytes:157343 (157.3 KB) TX bytes:567141 (567.1 KB)
eth0.43 Link encap:Ethernet HWaddr ******* 29ff:fe11: bfe4/64 Scope:Link
collisions: 0 txqueuelen:0
inet6 addr: fe80::20c:
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
RX bytes:4896 (4.8 KB) TX bytes:37886 (37.8 KB)
******* is my MAC