Assigning devices WAN IP addresses

Started by breisbrenny, February 13, 2022, 03:31:26 PM

Previous topic - Next topic
February 13, 2022, 03:31:26 PM Last Edit: February 13, 2022, 04:04:37 PM by breisbrenny
Hi all,
Wondering if this is possible in OPNsense!

We have two routers (one redundant w/ CARP) and a single WAN interface which has two subnets assigned to it (a /29 for internal use and /28 for some bare metal machines that should be assigned an IP on activation).

We have a VLAN called BMTraffic that we've configured for the /28, the WAN interface is configured with some IPs from the /29 (VIP, router1, router2).

There's a DHCP server from ISPsystems DCImanager running on a VM that assigns IPs to the machines as they get provisioned, how can I go about configuring the upstream gateway on the VLAN that goes through the WAN (is this even possible), and how can I get routing functional at all (forget about the upstream gateway) as we can't even get traffic routed locally when we issue the addresses from the /28 to machines



Tl;dr WAN interface with two subnets, have a VLAN configured and attached as a physical interface on the OPNsense routers, have a DHCP server assigning IPs from an unused subnet to devices and configured the interface to use that previously unused subnet, how can I actually route traffic on that interface with that subnet since it isn't working

A test device placed into the same VLAN could contact the gateway (ping router1), but the router the gw is running on could not ping the client device (ICMP traffic is allowed on both devices)