Am 04.01.2016 um 02:33 schrieb Garrett Wollman <woll...@bimajority.org>: > > For now, I think I'll just use exec.prestart to manually configure a > MAC address. It would be nice if the LAA MAC addresses we generated > were both random on initial creation (to better avoid duplicates) and > stable over reboot. (Likewise the bridge(4) MAC address.) Or > alternatively if we just had rc.conf support for explicitly > configuring the MAC address of every interface, since ifconfig doesn't > let you configure L2 and L3 addresses on the same command line.
I’ve had good experiences with using create_args_<ifname> in rc.conf. I believe that ifconfig only let’s you work with only one address family per invocation. Stefan -- Stefan Bethke <s...@lassitu.de> Fon +49 151 14070811 create_args_tap0="ether 02:00:00:00:01:00" create_args_tap1="ether 02:00:00:00:01:01" create_args_tap2="ether 02:00:00:00:01:02" create_args_tap3="ether 02:00:00:00:01:03" create_args_tap4="ether 02:00:00:00:01:04" create_args_vlan100="vlandev em0 vlan 100 up" create_args_vlan101="vlandev em0 vlan 101 up" create_args_vlan102="vlandev em0 vlan 102 up" create_args_vlan103="vlandev em0 vlan 103 up" create_args_vlan104="vlandev em0 vlan 104 up" create_args_bridge100="ether 02:00:00:00:00:64 addm vlan100" create_args_bridge101="ether 02:00:00:00:00:65 addm vlan101" create_args_bridge102="ether 02:00:00:00:00:66 addm vlan102 addm tap0 addm tap1 fib 1" create_args_bridge103="ether 02:00:00:00:00:67" create_args_bridge104="ether 02:00:00:00:00:68" _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"