16
General Discussion / Re: Multiple WAN IPs on each interface with DHCP possible?
« on: November 18, 2020, 01:23:10 pm »
Thank you for the replies
The IPs are static only in theory so the problem is that unless I request the IP via DHCP and get a lease (and let the lease be updated when it runs out) there isn't any route to the IPs. I don't know how OpenWRT did it internally but it was mostly the same in the setup as a Virtual IP in pfsense. I'll have a look at OpenWRT again and see how it did it.
Multiple IPs on one interface is not supported as far as I know. Your interface has only one MAC address and therefore gets only one address. Don’t know which OS is capable of that.I used to have an OpenWRT router as the edge device. It could have as many virtual WAN interfaces with DHCP I wanted, so I'm guessing it also had different MAC addresses.
You usually configure it once by dhcp, check the ip, netmask and gateway and then configure it manually. Those additional IPs mostly run through the same gateway.
The IPs are static only in theory so the problem is that unless I request the IP via DHCP and get a lease (and let the lease be updated when it runs out) there isn't any route to the IPs. I don't know how OpenWRT did it internally but it was mostly the same in the setup as a Virtual IP in pfsense. I'll have a look at OpenWRT again and see how it did it.