Tuesday, April 10, 2007

Configure multiple IP addresses on the same interface

The command to use multiple ip addresses is :

 ifconfig INTERFACE:NUMBER IP-Address up

where "INTERFACE" is an interface (e.g.,pcn) and NUMBER is a number between 1 and 255.

Removing the pseudo interface and associated address is done with

"ifconfig INTERFACE:NUMBER IP-Address down".

0 comments: