[TriLUG] multiple IP from the same network card?

Jeffery Painter painter at kiasoft.com
Wed Jun 18 13:40:34 EDT 2003


I believe this is called multi-homing

I've set it up with little effort on redhat boxen before.

devices are named like eth0:0 eth0:2 eth0:3 etc... you have config files 
for each virtual interface to your eth0 device in 
/etc/sysconfig/network-scripts/

so instead of just ifcfg-eth0, you would also have ifcfg-eth0:2 and on for 
each ip address you need to add. add the new addresses to /etc/hosts and 
reboot! read docs for more detailed info

it's not too bad

here is a link
http://216.239.57.100/search?q=cache:dW-2YnMn-IwJ:www.uit.co.uk/practical-tcpip/w-ipaliasl-005.pdf+redhat+ip+alias+eth0:2&hl=en&ie=UTF-8


On Wed, 18 Jun 2003, Michael Winslow Czeiszperger wrote:

> Hi--
> 
> I'm working on a new feature for our load testing product and have been 
> stumped on a Linux configuration issue. The product needs to send out 
> HTTP requests from multiple IP addresses in order to fake out IP-based 
> load balancers. To do this I need to configure a Linux box to have 
> multiple IP addresses on the same network card, but for the life of me 
> I can't find the HOWTO or docs to do this. Strangely enough it seemed 
> fairly easy on Windows :-(
> 



-- 

Jeff Painter
------------
painter at kiasoft.com

President
Kiasoft, Inc.
PO Box 4315
Cary, NC 27519-4315

http://kiasoft.com
(919) 677-8525




More information about the TriLUG mailing list