How to Configure Multiple IP Addresses on Linux

The following section describe how to manually configure multiple IP addresses on the Linux load generator.

  1. To define multiple IP addresses for a single Ethernet card, you need IP Aliasing compiled into the kernel. To do this, use the ifconfig command: /sbin/ifconfig eth0:0 x.x.x.x netmask 255.255.x.x up
  1. Substitute the new IP address for x.x.x.x, and insert the correct information for subnet mask. Place this command in the rc.local file so that it executes upon boot.

See also: