How to configure in /etc/rc.conf an interface with "ether random" so that the MAC address is not the same as the main interface?
For example when creating a VLAN I use something like:
That works but when I need to define the IP, for example:
How to also add ether random?
For example when creating a VLAN I use something like:
Code:
cloned_interfaces="vlan0"
create_args_vlan0="vlan 4000 vlandev em0 mtu 1400 fib 1"
ifconfig_vlan0="ether random"
That works but when I need to define the IP, for example:
Code:
ifconfig_vlan0="inet 10.0.0.4/24"
How to also add ether random?