From owner-freebsd-isp Wed Jun 10 20:10:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA01353 for freebsd-isp-outgoing; Wed, 10 Jun 1998 20:10:14 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mailgw00.execpc.com (mailgw00.execpc.com [169.207.1.78]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01204; Wed, 10 Jun 1998 20:09:28 -0700 (PDT) (envelope-from fpawlak@execpc.com) Received: from darkstar.connect.com (ferengal-1-136.mdm.mke.execpc.com [169.207.130.10]) by mailgw00.execpc.com (8.9.0) id WAA20009; Wed, 10 Jun 1998 22:09:22 -0500 (CDT) Received: (from fpawlak@localhost) by darkstar.connect.com (8.9.0/8.9.0) id WAA07071; Wed, 10 Jun 1998 22:09:23 -0500 (CDT) From: "Frank Pawlak" Message-Id: <980611030922.ZM7070@darkstar.connect.com> Date: Thu, 11 Jun 1998 03:09:22 +0000 In-Reply-To: "Victor M. Carranza G." "IP Aliases / DNS round-robbin ... how?" (Jun 10, 5:30pm) References: X-Mailer: Z-Mail (5.0.0 30July97) To: "Victor M. Carranza G." , FreeBSD Questions mailing list Subject: Re: IP Aliases / DNS round-robbin ... how? Cc: isp@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Check this URL http://www.webtechniques.com/features/1998/05/engelschall/engelschall.shtml Hope this helps. Frank On Jun 10, 5:30pm, Victor M. Carranza G. wrote: > Subject: IP Aliases / DNS round-robbin ... how? > I am trying to set up several IP addresses (same subnet) in one of my > ethernet interfaces. I have a Squid http proxy and socks5 proxy in this > machine, which work very well... but some problems arise when a site does > not allow more than one concurrent connection from the same IP address... > so, I was thinking about assigning several addresses to the outside > interface and use DNS to sequentially assign them to outgoing connections. > > My problem is: When I try to assign more than three IP addresses (netmask > 0xfffffff8) to the same interface, the fourth attempt (and the subsequent > ones) produces a "ifconfig: ioctl (SIOCAIFADDR): File exists" error. The > address appears assigned, but it does not respond to ping. Reading the > handbook, I found that the "correct" method is to assign the IP aliases > using a 0xffffffff netmask. Doing so effectively permits adding several > aliases, but then, DNS ignores all of them and returns only the original > (non-alias) address :( > > What am I doing wrong? Is there another procedure to accomplish the same > task (besides using several ethernet cards)? > > Thanks in advance for your help. > > Best regards, > > Victor M. Carranza G. > > P.S. The ethernet card is an ISA one. My FreeBSD version is > 3.0-971006-SNAP. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >-- End of excerpt from Victor M. Carranza G. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message