Alternative IP Configurations


To make a secondary ip address (so that we can reach another network for example) we need to make an alias interface.
ifconfig eth0:0 10.10.10.5 netmask 255.255.255.0 broadcast 10.10.10.255
That's it.

To get rid of it.
ifconfig eth0:0 down

Comments

Popular posts from this blog

How To Make IoT Messaging with BashShell

How To Make IoT Tweet with Python