You can look at the DHCP client files and see where to send MAC address to DHCP server, then specify the MAC of the old NIC.

----- Original Message ----- From: "Stephen Lee" <[EMAIL PROTECTED]>
To: "Leaf-user" <Leaf-user@lists.sourceforge.net>
Sent: Tuesday, November 01, 2005 4:28 PM
Subject: [leaf-user] Changing mac address in dhcp mode


Hi,

I'm replacing our current USR firewall/router to a current release
Bering box. I need to change the wan nic mac address (eth0) on the
Bering box to ensure I get the same IP number back from my ISP. I was
able to change it if I had set eth0 to static with the additional
hwaddress line in the interfaces file:

iface eth0 inet static
       address 12.34.56.78
       netmask 255.255.255.0
       broadcast 12.34.56.255
       gateway 12.34.56.78.1
       hwaddress ether address 00:00:00:00:00:00

but the same line has no effect if eth0 is set for dhcp:

auto eth0
iface eth0 inet dhcp
  hwaddress ether address 00:00:00:00:00:00

How do I set the mac address if eth0 is set to dhpc mode?

Thanks,
Stephen



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to