1
24.1 Legacy Series / Re: WAN interface magically losing IP-address after closing tcpdump on SSH-console
« on: February 03, 2024, 05:16:13 pm »
For those with similar issues: I've found the answer:
Also the comments below VLAN WAN configuration MAC-address field reads:
"This field can be used to spoof the MAC address of the interface. Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx or leave blank if unsure. This may only be required e.g. with certain cable connections on a WAN interface. When used on a single VLAN interface the setting "Promiscuous mode" is required for this to work. Alternatively, the parent interface MAC can be spoofed applying the MAC address to all attached VLAN children automatically."
I hope this helps..
- Assign the physical interface (for instance igb0 to 'WANphysical_if')
- Spoof the MAC on the physical interface, leave the 'IPv4/6 configuration type' on 'None'
- The VLAN will inherit the MAC from the physical interface automatically (so you can remove the spoofing on VLAN-level)
- You can turn off promiscuous mode on the VLAN, as the traffic will now correctly arrive at the VLAN because spoofing has been done on the phyiscal interface.
Also the comments below VLAN WAN configuration MAC-address field reads:
"This field can be used to spoof the MAC address of the interface. Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx or leave blank if unsure. This may only be required e.g. with certain cable connections on a WAN interface. When used on a single VLAN interface the setting "Promiscuous mode" is required for this to work. Alternatively, the parent interface MAC can be spoofed applying the MAC address to all attached VLAN children automatically."
I hope this helps..