NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Change MAC address in 4.0?



On Sat, Feb 16, 2008 at 10:14:29AM -0500, Steven Sartorius wrote:
> Hi,
> 
> I just recently had Verizon FIOS internet installed (20/5, not bad!)  
> and now I'm trying to get it to play nicely with my 4.0 home server.   
> When Verizon installs FIOS they give you an enormous brick of a  
> router, an Actiontec ML424WR.  Rather than be forced to use this I  
> just want to continue to have my NetBSD box handle firewall and NAT  
> duties.  FIOS (at least my install) is DHCP based so I'm able to pull  
> an IP address from Verizon by plugging the Cat5e from the ONT into  
> the WAN port on the Actiontec.  I'm unable to do this with my NetBSD  
> box:
> 
> Feb 16 00:22:34 shuttle dhclient: DHCPDISCOVER on vr0 to  
> 255.255.255.255 port 67 interval 4
> Feb 16 00:22:38 shuttle dhclient: DHCPDISCOVER on vr0 to  
> 255.255.255.255 port 67 interval 5
> Feb 16 00:22:43 shuttle dhclient: DHCPDISCOVER on vr0 to  
> 255.255.255.255 port 67 interval 14
> Feb 16 00:22:57 shuttle dhclient: DHCPDISCOVER on vr0 to  
> 255.255.255.255 port 67 interval 12
> Feb 16 00:23:09 shuttle dhclient: DHCPDISCOVER on vr0 to  
> 255.255.255.255 port 67 interval 15
> Feb 16 00:23:24 shuttle dhclient: DHCPDISCOVER on vr0 to  
> 255.255.255.255 port 67 interval 11
> Feb 16 00:23:35 shuttle dhclient: No DHCPOFFERS received.
> Feb 16 00:23:35 shuttle dhclient: No working leases in persistent  
> database - sleeping.
> 
> Reading some of the posts on dslreports suggests that some people  
> have been able to pull an IP from Verizon by cloning the MAC address  
> of the router.  How can I do this in NetBSD 4.0?  A quick google  
> turned up nothing useful -- some mention of 'netgraph' in FreeBSD but  
> nothing for NetBSD.  Doesn't look like the NetBSD version of  
> 'ifconfig' has the 'ether' option....

You can do it using a pseudo-ethernet device like tap(4), and bridge(4)ing
it with vr0. Then you run dhclient on the tap device.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index