From mboxrd@z Thu Jan 1 00:00:00 1970 From: "James A. Crippen" Date: Fri, 06 Apr 2001 22:10:00 +0000 Subject: Re: [LARTC] multiple MAC addresses from one network card Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Fri, 6 Apr 2001, Alexey Marinichev wrote: > Hello, > > It is possible to get several interfaces assigned to one card, the > simplest way is to use aliases, like: > ifconfig eth0:0
> > Is it possible to assign a different MAC address to an aliased > interface? ifconfig eth0:0 hw ether doesn't seem to work... DON'T USE IFCONFIG AND fooN:M ALIASES IF YOU CAN HELP IT. Use the iproute2 utility 'ip' and assign multiple addresses with # ip address add
dev And you can add as many addresses as the kernel will let you (what's the limit?). Make sure aliasing support is on in the kernel. Honestly I'd avoid using route and ifconfig at all. Replace them everywhere you can with 'ip'. This doesn't answer your question, but I considered it a Public Service Message. :) 'james -- James A. Crippen ,-./-. Anchorage, Alaska, Lambda Unlimited: Recursion 'R' Us | |/ | USA, 61.2069 N, 149.766 W, Y = \f.(\x.f(xx)) (\x.f(xx)) | |\ | Earth, Sol System, Y(F) = F(Y(F)) \_,-_/ Milky Way. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/