[ previous ] [ next ] [ threads ]
 
 From:  "James W. McKeand" <james at mckeand dot biz>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] changing LAN subnet
 Date:  Thu, 29 Dec 2005 07:46:03 -0600
Lee Sharp wrote:
> From: "Nick Smith" <nick dot smith79 at gmail dot com>
> 
>> would i have to manually edit every rule and every static ip address
>> to the new .2.1 scema? or would m0n0wall pick up on the fact that i
>> have changed it and automaticly do it for me since the addresses
>> would no longer be valid?
> 
> There is a much simpler method.  Back up your config.  Open with
> wordpad. Do a find/replace for 192.168.1. -> 192.168.9. and all will
> be done.  You will have to change the static IP address of any
> servers, but not any static DHCP assignments, as the will be changed.
> The only thing is make sure you use wordpad, not notepad, as notepad
> does not do Unix cr/lf correctly. 

Much cleaner than editing in the WebGUI... But, I still recommend using
Aliases.

Don't forget, once you upload/restore the config to the m0n0wall, it
will reboot and be on the new IP schema. You will need to Release/Renew
or reboot your DHCP clients to get the new IP. 

_________________________________
James W. McKeand