I may have fixed this:
Reload everything from usb boot as noted, to clear messy existing settings.
Reboot and log in as root in GUI.
usb/rj45 (ue0) as lan
wired nic (re0) as wan
update re0 to use ISP router MAC
enable/set to prevent removal (ensures USB interface stays at LAN, otherwise will swap to WAN if this isn't set)
different steps this time:
add VLAN on re0 (Interfaces->Devices->VLAN):
- device: vlan0.10
- parent: re0
- VLAN tag: 10
Interfaces: [WAN_VLAN10]
- enable
- prevent removal
- IPV4 DHCP
- mac: same as re0
-> save/apply
check WAN_VLAN10 gets public IP 202.* on opnsense box (yes)
check ping to 8.8.8.8 works on opnsense box (yes)
check ping to 8.8.8.8 works on lan connected laptop (yes)
-> reboot
changes stick (yes)
same checks (all good)
Looks like this is the solution - making the changes in the gui vs on the opnsense console
---
I'd be interested to hear any commentary on if this is a good solution or if there are other options?
Reload everything from usb boot as noted, to clear messy existing settings.
Reboot and log in as root in GUI.
usb/rj45 (ue0) as lan
wired nic (re0) as wan
update re0 to use ISP router MAC
enable/set to prevent removal (ensures USB interface stays at LAN, otherwise will swap to WAN if this isn't set)
different steps this time:
add VLAN on re0 (Interfaces->Devices->VLAN):
- device: vlan0.10
- parent: re0
- VLAN tag: 10
Interfaces: [WAN_VLAN10]
- enable
- prevent removal
- IPV4 DHCP
- mac: same as re0
-> save/apply
check WAN_VLAN10 gets public IP 202.* on opnsense box (yes)
check ping to 8.8.8.8 works on opnsense box (yes)
check ping to 8.8.8.8 works on lan connected laptop (yes)
-> reboot
changes stick (yes)
same checks (all good)
Looks like this is the solution - making the changes in the gui vs on the opnsense console
---
I'd be interested to hear any commentary on if this is a good solution or if there are other options?
"