RancherOS VM fails to boot with MAC address set

Status
Not open for further replies.

d1981

Cadet
Joined
Mar 23, 2018
Messages
2
Just updated to FreeNAS-11.1-U4 and now my RancherOS VM won't start if the MAC address is set. I originally used this guide, https://doc.freenas.org/11/vms.html , and it was working fine. If I remove the mac address from the VM nic device, it boots.
 
D

dlavigne

Guest
What error do you get in /var/log/messages when you try to start with the MAC address set?
 

d1981

Cadet
Joined
Mar 23, 2018
Messages
2
This is what I see when trying to start it with a MAC address set
Code:
Mar 24 09:08:29 PILOT dhclient[94124]: Interface tap0 is down, dhclient exiting

Mar 24 09:08:29 PILOT dhclient[93422]: connection closed

Mar 24 09:08:29 PILOT dhclient[93422]: exiting.

Mar 24 09:08:29 PILOT kernel: tap0: link state changed to DOWN

Mar 24 09:08:29 PILOT kernel: tap0: link state changed to DOWN

Mar 24 09:08:30 PILOT tap0: Ethernet address: 00:bd:e0:6f:5b:00

Mar 24 09:08:30 PILOT kernel: tap0: promiscuous mode enabled


And without MAC address and Rancher booting:
Code:
Mar 24 09:08:30 PILOT tap0: Ethernet address: 00:bd:e0:6f:5b:00

Mar 24 09:08:30 PILOT kernel: tap0: promiscuous mode enabled

Mar 24 09:09:33 PILOT tap0: Ethernet address: 00:bd:61:67:5c:00

Mar 24 09:09:33 PILOT kernel: tap0: promiscuous mode enabled

Mar 24 09:12:10 PILOT tap0: Ethernet address: 00:bd:51:cc:5e:00

Mar 24 09:12:10 PILOT kernel: tap0: promiscuous mode enabled

Mar 24 09:12:10 PILOT kernel: tap0: link state changed to UP

Mar 24 09:12:10 PILOT kernel: tap0: link state changed to UP
 
D

dlavigne

Guest
Please create a report at bugs.freenas.org and post the issue number here.
 
Joined
Feb 14, 2017
Messages
4
Hi,

I made some extra tests and the feature works OK.
I set this MAC via UI: 68:f7:28:5f:db:55

My docker machine did boot OK without any issue, and from inside my docker machine:
Code:
[root@rancher rancher]# ifconfig eth0 | grep HWaddr
eth0	  Link encap:Ethernet  HWaddr 68:F7:28:5F:DB:55 

NOTE: If you add a MAC ADDRESS that is in use in your network, you will have a MAC collision. Isn't your case?
 
Last edited by a moderator:
Status
Not open for further replies.
Top