Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Adding IPs to WAN interface cut it off
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adding IPs to WAN interface cut it off (Read 1844 times)
whit
Newbie
Posts: 35
Karma: 1
Adding IPs to WAN interface cut it off
«
on:
September 13, 2019, 10:56:05 pm »
I just added two IPs to a WAN interface, beyond its primary one. When I pressed the button to apply them, the interface got cut off. It can't be pinged on any of the three addresses. And I lost the remote web access to it.
Is this a known thing?
Fortunately I have a WireGuard tunnel to the device which has stayed connected, so I should be able to get to it through that -- although it's from another remote location, so first I need to set up a relaying system there. But what am I looking for here, in terms of what's gone wrong and why?
Logged
whit
Newbie
Posts: 35
Karma: 1
Re: Adding IPs to WAN interface cut it off
«
Reply #1 on:
September 13, 2019, 11:56:16 pm »
Finally got in, deleted the added IPs, and the original IP is back in business. But what's the problem here? I added them as /24s, since these are on a /24 block which the gateway is .1 of. I've routinely added IPs to Linux boxes for years, and in that context either a /24 or a /32 would have worked, without screwing up anything for the original IP on an interface. I take it there's something more to know about how either OPNsense or BSD adjusts routing when a new IP goes on the WAN interface. But I've no clue what that is, or how to avoid it breaking things as it partially did here.
All hints are welcomed.
Logged
whit
Newbie
Posts: 35
Karma: 1
Re: Adding IPs to WAN interface cut it off
«
Reply #2 on:
September 17, 2019, 11:02:29 pm »
Any hints at all on how to add virtual IPs without having routing through the static IP already on the interface interrupted? Or is the presumption here that an interface will only have either a static IP or else a set of one or more virtuals?
With Linux, I'm used to mixing them, often using UCARP for the virtuals. Obviously this is a different world. What docs should I be reading to understand this aspect of it?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Adding IPs to WAN interface cut it off