From owner-freebsd-isp Wed Jun 10 19:25:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA22307 for freebsd-isp-outgoing; Wed, 10 Jun 1998 19:25:41 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mailgw02.execpc.com (mailgw02.execpc.com [169.207.3.78]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA22278; Wed, 10 Jun 1998 19:25:18 -0700 (PDT) (envelope-from fpawlak@execpc.com) Received: from darkstar.connect.com (xeros-2-63.mdm.mke.execpc.com [169.207.94.191]) by mailgw02.execpc.com (8.9.0) id VAA26195; Wed, 10 Jun 1998 21:25:08 -0500 (CDT) Received: (from fpawlak@localhost) by darkstar.connect.com (8.9.0/8.9.0) id VAA06931; Wed, 10 Jun 1998 21:25:12 -0500 (CDT) From: "Frank Pawlak" Message-Id: <980611022511.ZM6930@darkstar.connect.com> Date: Thu, 11 Jun 1998 02:25:10 +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 Do a search on the questions archives. I posted an answer to this very question about two or three weeks ago. It is answered in a recent issues of Web Techniques, if I remember correctly. If I can find the URL, I'll post it. The article was written by one of the FreeBSD development team. Don't understand why this is not linked from the FreeBSD web page. 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