Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

spoofed MAC on a dhcp interface

3 views
Skip to first unread message

cha...@schluting.com

unread,
Jul 25, 2004, 8:53:09 PM7/25/04
to
Hi :)

/etc/rc.conf:
ifconfig_xl0="ether 00:11:11:11:11:11"
ifconfig_xl0="DHCP"

The above doesn't work..
I'm trying to set the mac, and then dhcp.. is this the correct way?

With this config, its not getting the mac assigned to xl0, so I have to
stop dhclient, run "ifconfig ether 00:11:11:11:11:11" manually, then
dhcp again.

Thanks!
-Charlie
_______________________________________________
freeb...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net...@freebsd.org"

full...@over-yonder.net

unread,
Jul 26, 2004, 7:26:06 AM7/26/04
to
On Sun, Jul 25, 2004 at 05:52:57PM -0700 I heard the voice of
Charlie Schluting, and lo! it spake thus:

> Hi :)
>
> /etc/rc.conf:
> ifconfig_xl0="ether 00:11:11:11:11:11"
> ifconfig_xl0="DHCP"
>
> The above doesn't work..

Because that's setting a variable. If you set a variable, then set it
to something else, it doesn't keep the old value around for sport :)


--
Matthew Fuller (MF4839) | full...@over-yonder.net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
haven't figured out how to light the middle yet"

0 new messages