From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IzHXj-0006a3-Fq for garchives@archives.gentoo.org; Mon, 03 Dec 2007 20:05:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lB3K3Uxd026570; Mon, 3 Dec 2007 20:03:30 GMT Received: from silver.ltmd.org (77-240-249-126.csc.lt [77.240.249.126]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lB3K3TuV026564 for ; Mon, 3 Dec 2007 20:03:30 GMT Received: (qmail 4982 invoked by uid 210); 3 Dec 2007 20:03:29 -0000 Received: from 77.240.249.51 by silver (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.91.2/4978. spamassassin: 3.2.1. perlscan: 1.25st. Clear:RC:1(77.240.249.51):. Processed in 0.034992 secs); 03 Dec 2007 20:03:29 -0000 Received: from cl-77-240-249-51.ltmd.net (konstantin@astafjev.com@77.240.249.51) by d166.csc.lt with ESMTPA; 3 Dec 2007 20:03:29 -0000 Date: Mon, 3 Dec 2007 22:03:30 +0200 From: Konstantin Astafjev X-Mailer: The Bat! (v3.99.24) Professional X-Priority: 3 (Normal) Message-ID: <424158103.20071203220330@astafjev.com> To: M Summers Subject: Re: [gentoo-server] Interesting IP Aliasing Problem In-Reply-To: <47544F22.6060702@gmail.com> References: <474FB504.5090209@electronsweatshop.com> <20071130110712.3dde9768@83864.com> <4750956E.9020407@electronsweatshop.com> <47544F22.6060702@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archives-Salt: 04b0ea33-0278-44f1-832d-f1da9a508294 X-Archives-Hash: 80dbd45fad64618096859f87f957a670 Hello M, Monday, December 3, 2007, 8:46:58 PM, you wrote: > I have a rather pressing issue with IP aliasing. So, my ISP assigns IPs > via dhcp using the MAC address to bind it statically. What I need to > do is get multiple static public IPs via their dhcp server. My ISPs > reliance on dhcp presents an interesting problem. How am I to acquire > multiple static public IPs from one NIC, say eth0, if their dhcp server > requires a unique MAC address per IP? I have tried using macchanger, > but it doesn't work for aliases alone. It changes the MAC for the main > interface, eth0, not eth0:{0,N}. If I'm not mistaken you have 3 options: - force your ISP make some static rules mac=some_IPs in their switches/routers. I guess they forcing clients to use DHCP because of "dhcp snooping" and "arp inspection" features helps them filter alien ips&macs. - take a simple switch and some NICs with different MACs. Quantity depends on how many IPs do you need. ;) - the craziest one: take vlan switch, on your NIC create some VLANs, change MAC address on each VLAN. AFAIK, DHCP assigning a different IPs simultaneously on one MAC impossible. -- Konstantin -- gentoo-server@gentoo.org mailing list