[8139] in bugtraq

home help back first fref pref prev next nref lref last post

Re: linux 2.0.35 ip aliasing with aliased hwaddr

daemon@ATHENA.MIT.EDU (pedward@WEBCOM.COM)
Thu Oct 8 22:33:17 1998

Date: 	Thu, 8 Oct 1998 10:45:50 -0700
Reply-To: pedward@WEBCOM.COM
From: pedward@WEBCOM.COM
X-To:         oliver@secnet.com
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <Pine.BSI.3.96.981006192137.21639C-100000@silence> from "Oliver
              Friedrichs" at Oct 6, 98 07:21:56 pm

The appropriate way to perform this is either:

 Set the new hwaddr in the card's filter list (most ethernet cards have a
        hardware packet filter, which filters ethernet frames based upon
        the hwaddr)

 Configure the card to do true MAC masquerading.  This is possible on a number
        of cards, however I believe the list is more limited than the one
        above.  Intel EEPro 10/100's will do MAC masquerading.

--Perry

>
> On Tue, 6 Oct 1998, Mike Baker wrote:
>
> > /sbin/ifconfig eth0:0 192.168.0.2
> > /sbin/ifconfig hw ether deadbeef0001
> >
> > This patch will put the real device in promisc to allow it to receive
> > all packets then use the kernel's network driver to drop packets that
> > don't match any device.
>
> So much for performance eh?
>
> - Oliver
>


--
Perry Harrington        System Software Engineer    zelur xuniL  ()
http://www.webcom.com  perry.harrington@webcom.com  Think Blue.  /\

home help back first fref pref prev next nref lref last post