Linux: Change default IP address on host with multiple IP address

If you have a host with multiple IP address on it, and you need to change witch IP address it present it with on the Internet, you can change the Default IP address, by changing the source IP address on the default route

Of course the Linux host need to listen on the IP address.
You can see the changes by this command

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *