From owner-freebsd-questions Wed Jun 10 16:30:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19282 for freebsd-questions-outgoing; Wed, 10 Jun 1998 16:30:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.lex.gob.gt (ns1.lex.gob.gt [168.234.110.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA19229; Wed, 10 Jun 1998 16:30:27 -0700 (PDT) (envelope-from victor@mp.lex.gob.gt) Received: from mp-dbs.mp.intralex (mp-dbs.mp.intralex [192.168.1.3]) by ns1.lex.gob.gt (8.8.7/8.8.7) with ESMTP id RAA04143; Wed, 10 Jun 1998 17:30:20 -0600 (CST) (envelope-from victor@mp.lex.gob.gt) Received: from localhost (victor@localhost) by mp-dbs.mp.intralex (8.8.7/8.8.7) with SMTP id RAA04534; Wed, 10 Jun 1998 17:30:13 -0600 (CST) (envelope-from victor@mp.lex.gob.gt) X-Authentication-Warning: mp-dbs.mp.intralex: victor owned process doing -bs Date: Wed, 10 Jun 1998 17:30:13 -0600 (CST) From: "Victor M. Carranza G." X-Sender: victor@mp-dbs.mp.intralex To: FreeBSD Questions mailing list cc: isp@FreeBSD.ORG Subject: IP Aliases / DNS round-robbin ... how? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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