How to bind IP to interface

| May 14, 2011 | 0 Comments

If you want to add extra ip address to linux box, please do the following

#ifconfig eth0:1 netmask

eg: ifconfig eth0:1 192.168.0.10 netmask 255.255.255.0

To make it persistent on reboot you need to add it to the configuration file.

Tags: ,

Category: Linux Administration

Leave a Reply

You must be logged in to post a comment.