[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Virtual IPs...



I don't know of any FAQ's on the subject, but here is the method
we are using to do ip aliasing:

First, you need to compile IP Aliasing support into your kernel.

Then you need to use 2 programs, ifconfig and route.  For each IP
address you want to alias, you need to use this pair of commmands

/sbin/ifconfig eth0:n xxx.xxx.xxx.xxx
/sbin/route add -host xxx.xxx.xxx.xxx dev eth0:n

I have placed all of my alias pairs into a file called rc.alliases,
located in/etc/rc.d and run at boot time.


As an aside, I have heard that without source modfications, there is a
limit of 255 aliased IP addresses.  Can anyone verify this?

> R.O. King wrote:
> 
>  Anybody know of a step-by-step FAQ that tells you how to assign
>  multiple IPs
>  to one Linux box?
> 
>  --
>    Rawlson O'Neil King
>    rking bvg on ca
> 

Bob Plagens				Voice:  (913)262-4638 x119	
System Administrator, TFSnet, Inc	Fax:    (913)262-8948
email:	bob tfs net			Pager:	(913)771-8365




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]