Date: Thu, 11 Jun 1998 02:25:10 +0000 From: "Frank Pawlak" <fpawlak@execpc.com> To: "Victor M. Carranza G." <victor@mp.lex.gob.gt>, FreeBSD Questions mailing list <questions@freefall.freebsd.org> Cc: isp@FreeBSD.ORG Subject: Re: IP Aliases / DNS round-robbin ... how? Message-ID: <980611022511.ZM6930@darkstar.connect.com> In-Reply-To: "Victor M. Carranza G." <victor@mp.lex.gob.gt> "IP Aliases / DNS round-robbin ... how?" (Jun 10, 5:30pm) References: <Pine.BSF.3.96.980610171044.4444C-100000@mp-dbs.mp.intralex>
next in thread | previous in thread | raw e-mail | index | archive | help
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-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?980611022511.ZM6930>