I have just installed FreeBSD on my router PC, and I wanted to change the MAC address of the outgoing interface in order to get a different IP address.
DHCP works fine with the correct MAC address that's on the card, but after I change it, the card stops working. Then I noticed that if I enable promiscuous mode the interface starts working even with the changed MAC address, but the second I disable promiscuous mode I lose all packets again.
I also tested disabling IPFW (firewall_enable="NO" in rc.conf should suffice, right?) just to make sure it's not some firewall setting, and the behaviour was still the same.
I'm running FreeBSD 10.1 and this is the network card I'm having trouble with:
It worked fine with Linux on the same machine, so the hardware itself should be okay. Any ideas how to fix this or what's going on? I'd rather not run promiscuous mode all the time...
DHCP works fine with the correct MAC address that's on the card, but after I change it, the card stops working. Then I noticed that if I enable promiscuous mode the interface starts working even with the changed MAC address, but the second I disable promiscuous mode I lose all packets again.
I also tested disabling IPFW (firewall_enable="NO" in rc.conf should suffice, right?) just to make sure it's not some firewall setting, and the behaviour was still the same.
I'm running FreeBSD 10.1 and this is the network card I'm having trouble with:
Code:
re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet>
It worked fine with Linux on the same machine, so the hardware itself should be okay. Any ideas how to fix this or what's going on? I'd rather not run promiscuous mode all the time...