OPNsense Forum

English Forums => General Discussion => Topic started by: dzikus on April 10, 2018, 07:35:58 pm

Title: Issue with virtual ip and dhcp server for it
Post by: dzikus on April 10, 2018, 07:35:58 pm
I have OPNSense as router in location where I have 3 different networks:
192.168.1.254 as main LAN addres
10.1.10.254 as virtual ip on the same lan interface
172.28.10.254 as second virtual ip on the same lan interface
and I have reasons to have such config and don't need vlans or even can't do vlans on this network.

I replaced my old Linux router by OPNSense and almost everything is working great but I can't config DHCPv4 service to serve virtual ip networks. For example when I'm trying to add static mapping to 10.1.10.1 address on LAN, I'm getting "The IP address must lie in the LAN subnet." error.

This is insane because this is working on Linux or even windows dhcpd, and I don't see reason to block this on OPNSense. How can I add static mapings to other networks then 192.168.1.0/24?
Title: Re: Issue with virtual ip and dhcp server for it
Post by: franco on April 10, 2018, 08:38:42 pm
Hi there,

It's not insane, somebody has to work on it. It was discussed elsewhere in the past and it's something that is on the wish list, but there are no immediate steps for this at the moment.

Here is a related ticket for reference: https://github.com/opnsense/core/issues/910


Cheers,
Franco