Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2004 17:50:57 -0700 (PDT)
From:      David Yeske <dyeske@yahoo.com>
To:        archie@freebsd.org
Subject:   netgraph ability
Message-ID:  <20040423005057.15006.qmail@web13504.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I'm in a situation where I need to emulate multiple ethernet devices with
different mac addresses.  I have gotten far enough to have this.

I ran ngctl and then ran
"mkpeer . eiface hook ether"

I then ran
ifconfig ngeth0 link '00:bd:03:11:21:11'
ifconfig ngeth0 192.168.20.5
ifconfig sis0 192.168.23.45

So basically I want to be able to ping / connect to 
192.168.20.5 from another box on the 192.168.23.0/24 network, and have it see
the mac address that I have set rather than the mac address of my sis0 device.
I know I can do this with vmware, but I am trying to avoid that.

Anyone know if this is possible?  Is there a way to do this with the tap device
and or arpd?

Regards,
David Yeske



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040423005057.15006.qmail>