OPNsense Forum

English Forums => General Discussion => Topic started by: GiantJack on July 13, 2025, 12:39:52 PM

Title: Changing all LANs IP range by search and replace in config.xml...Crazy or not ?
Post by: GiantJack on July 13, 2025, 12:39:52 PM
Hello,
I currently have a few LAN (LAN/VLAN) with IP ranges in 192.168.1.x,  192.168.5.x etc...it's home use.

Sometime I wonder if I could move to 10.10.1.x, 10.10.5.x instead (basically replace 192.168 by some 10.10 (or other 10.x) prefix.


I seems quite a hard work by working in the GUI: every DHCP, Firewall rules etc...

So I was wondering: what if I just go for search & replace in the config.xml ?


(maybe safer to try with a non critical subnet first).

(of course there are a few static IP to deal manually in relevant equipment.).


is it too crazy or possible? :)

Title: Re: Changing all LANs IP range by search and replace in config.xml...Crazy or not ?
Post by: Patrick M. Hausen on July 13, 2025, 02:30:04 PM
Bot crazy at all, IMHO. Been there, done that.
Title: Re: Changing all LANs IP range by search and replace in config.xml...Crazy or not ?
Post by: GiantJack on July 14, 2025, 06:10:35 PM
Quote from: Patrick M. Hausen on July 13, 2025, 02:30:04 PMBot crazy at all, IMHO. Been there, done that.
thank you !!