On Mon, Jul 15, 2024 at 05:26:03PM -0400, Sonic wrote: > Hello, > > I'm trying to find the best way (although I haven't been successful at > finding any way currently) to have a default route for a subset of > addresses.
If it is specific for a subset of addresses, and not the default route then... it won't be the default. It'll be a specific route for those addresses. > I have several vlans, but no vlan interfaces on the OpenBSD router as > the routing between vlans is handled by a layer 3 switch. I also have > several wireguard vpn interfaces on the router. > All works quite well but I would like to change the default route for > several addresses from one of the vlans to use a particular wg > interface for its route to the outside world instead of the default > route. > > Ideas? "route add <ip range> <gateway>" ? > > Thank you, > Chris > --