LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Virtual Interfaces?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Virtual Interfaces?
From: <ntadmin@xxxxxxxxxxxx>
Date: Wed, 17 Dec 2003 10:21:13 -0800
I appreciate the quick response.  However, I'm not sure if this answers my
original question.  Can we exceed 255 "eth0:#" virtual interfaces w/o
problems?  We use heartbeat and setup our failover addresses within the
haresources file using the provided IPaddr script (uses /sbin/ifconfig) to
add and remove these addresses on failover.

Thanks Again,
Billy Olson
----- Original Message ----- 
From: "Roberto Nibali" <ratz@xxxxxx>
To: "LinuxVirtualServer.org users mailing list."
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, December 17, 2003 9:46 AM
Subject: Re: Virtual Interfaces?


> ntadmin@xxxxxxxxxxxx wrote:
> > We are nearing 255 virtual interfaces on the external side of our LVS
> > system.  Can somebody tell me if this is going to be a hard limit or if
we
> > can go beyond 255 on one network card?
>
> No problem (proof of concept below):
>
> # ip addr show dev lo | grep 'inet ' | wc -l
>        1
> # for ((i = 1; i < 255; i++)); do for ((j = 1; j < 4; j++)); do ip addr
add
> 127.0.$j.$i/32 dev lo brd + label lo:$i-$j 1>/dev/null 2>&1; done; done
> # ip addr show dev lo | grep 'inet ' | wc -l
>      763
> # for ((i = 1; i < 255; i++)); do for ((j = 1; j < 4; j++)); do ip addr
del
> 127.0.$j.$i/32 dev lo brd + label lo:$i-$j 1>/dev/null 2>&1; done; done
> # ip addr show dev lo | grep 'inet ' | wc -l
>        1
>
> Best regards,
> Roberto Nibali, ratz
> -- 
> echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'
| dc
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>