Hi!
I have fanless pc like this. I install FreeBSD 13 on it, and very quickly make simple router from it. It has 2 ethernet ports, re0 and re1 (realtek devices). I want permanently change mac address of re0, in my rc.conf:
And it applied:
Result (after reboot):
But network not works completely, I cannot receive ip address from dhcp. If I don't change mac - all works fine.
I try to
Just for fun I run Kali linux from usb device, and on Kali do this:
And it works, network works fine, other devices see 00:11:22:33:44:55 in their arp tables.
What wrong in freebsd?
I have fanless pc like this. I install FreeBSD 13 on it, and very quickly make simple router from it. It has 2 ethernet ports, re0 and re1 (realtek devices). I want permanently change mac address of re0, in my rc.conf:
Code:
ifconfig_re0="ether 00:11:22:33:44:55"
ifconfig re0
Result (after reboot):
Code:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:11:22:33:44:55
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
But network not works completely, I cannot receive ip address from dhcp. If I don't change mac - all works fine.
I try to
ifconfig re0 down
and ifconfig re0 up
and then dhclient re0
, but no luck.Just for fun I run Kali linux from usb device, and on Kali do this:
sudo ifconfig eth0 hw ether 00:11:22:33:44:55
And it works, network works fine, other devices see 00:11:22:33:44:55 in their arp tables.
What wrong in freebsd?