Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 07:13:01 -0400
From:      James Housley <jim@Thehousleys.net>
To:        Charlie Schluting <charlie@schluting.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: spoofed MAC on a dhcp interface
Message-ID:  <4104E73D.5020906@Thehousleys.net>
In-Reply-To: <410455E9.8090106@schluting.com>
References:  <410455E9.8090106@schluting.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Charlie Schluting wrote:
> 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.

I needed to do the exact thing so I could switch to replace dead NIC 
without having to involve my Cable company.

/etc/rc.conf:
ifconfig_xl0="DHCP"             # DHCP on external interface

The key was created /etc/start_if.xl0:
#!/bin/sh
#
# Needed to fake my MAC at Comcast
#
/sbin/ifconfig xl0 ether 00:80:c8:de:1a:50
/sbin/ifconfig xl0 up

Jim

-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
A Microsoft Certified Systems Engineer is to computing what
     a McDonalds Certified Food Specialist is to fine cuisine.
       -- Jack O'Neill

[-- Attachment #2 --]
0	*H
010	+0	*H
	#00U0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040131191100Z
050130191100Z0^10UHousley10U*James10U
James Housley1"0 	*H
	jim@thehousleys.net0"0
	*H
0
%k׈7o_tg?@<_P.Eh;_{)SӻNKH)'M(W_w%ވ,UnJ13{㎊‹t	[lBg]ѢbkKZ3OXmuq2$=d8ݨiܠc[)"(Vln嗛xRE%H%'zm6;!nij0$c`
wӁX	ᝐCs00.0U0jim@thehousleys.net0U00
	*H
}Nrx4Ae+d)?O}ibqWSVَUր0QjL*m$A
"Vs̱8~—`0e&q$5]%ړN00U0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040131191100Z
050130191100Z0^10UHousley10U*James10U
James Housley1"0 	*H
	jim@thehousleys.net0"0
	*H
0
%k׈7o_tg?@<_P.Eh;_{)SӻNKH)'M(W_w%ވ,UnJ13{㎊‹t	[lBg]ѢbkKZ3OXmuq2$=d8ݨiܠc[)"(Vln嗛xRE%H%'zm6;!nij0$c`
wӁX	ᝐCs00.0U0jim@thehousleys.net0U00
	*H
}Nrx4Ae+d)?O}ibqWSVَUր0QjL*m$A
"Vs̱8~—`0e&q$5]%ړN0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1;070i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0	+0	*H
	1	*H
0	*H
	1
040726111301Z0#	*H
	1V5y!kJVS0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0x	+71k0i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0z*H
	1ki0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
	*H
[m&#f#i_NZ-5qir\4 0Tkv/#_pˍnȶ[肥b}\b[!;A[9LwxJˆwOF0.'cכNΥnW!]}^QQh4@4RjjבC8F ΨT-K/R\`Kb&0(y0jr;Vҝ
޿

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