Showing results for 
Search instead for 
Did you mean: 
Level 9

Need to move MWG to a different subnet

I need to move my MWG test instance to a different network. What's the best way to update MWG? CLI? GUI? If CLI, which files to update? Will I need to update MWG prior to moving the NIC or after?


0 Kudos
2 Replies
Level 17

Re: Need to move MWG to a different subnet

Hi Mike,

if we are talking about a virtual machine I would simply shutdown the VM, move it to the other network, turn it on again, then access the console and re-establish networking temporarily by running

ifconfig eth netmask up

route add default gw

That will allow you to access the UI. Go to the UI and update the network configuration.

If this is a physical machine I would go to the UI and update the network settings. You will lose network connectivity then until you physically connect to the box to the correct network. Then it will become available again.

If you have physical access you can shutdown the hardware by accessing the console. If there is no physical connectivity I would make a one-time cronjob that shuts down the machine in the evening, update the network configuration and move the appliance once it shut down.

If you have access to the console you could also first move the hardware and then use above steps to set up networking again.

As an alternative you can configure an additional NIC with the net network details and simply use another NIC in the new location.



0 Kudos
Level 9

Re: Need to move MWG to a different subnet

I'm having problems with the default gateway. I moved the appliance (a VM running MWG v7. to the new vLAN, logged in to the console to set the IP address and default gateway. Then I set the address and gateway in the UI and rebooted, but the gateway doesn't get set during the restart and the appliance ends up with no default gateway. I have to go to the console and add it using "route add..." to communicate with the server.

In the UI, I set it in Configuration->Appliances->[appliance name]->Network Interfaces. I'm using IPv4 only. Is there anywhere else I should have to set the IP address or default gateway?


0 Kudos