Re: [leaf-user] Changing mac address in dhcp mode

2005-11-02 Thread Nathan Angelacos
Stephen, On Tuesday 01 November 2005 16:28, Stephen Lee wrote: > 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

Re: [leaf-user] Changing mac address in dhcp mode

2005-11-01 Thread Stephen Lee
On Tue, 2005-11-01 at 15:46, Charles Steinkuehler wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Eric Spakman wrote: > > | Hi Stephen, > | > | Good question, I don't have a direct answer. You could try a few things: > | -Use your NIC (dos) utils to set the hw address. > | -Use somet

Re: [leaf-user] Changing mac address in dhcp mode

2005-11-01 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Spakman wrote: | Hi Stephen, | | Good question, I don't have a direct answer. You could try a few things: | -Use your NIC (dos) utils to set the hw address. | -Use something like the following in the interfaces file: | auto eth0 | iface eth0 ine

Re: [leaf-user] Changing mac address in dhcp mode

2005-11-01 Thread Eric Spakman
Stephen, There is also an other option, if your NIC is supported, you can use ethtool.lrp and set the mac-address by first doing an "ifdown eth0" then "ethtool -s eth0 phyad " and after that "ifup eth0". Once set it should be preserved between reboots. Eric ---

Re: [leaf-user] Changing mac address in dhcp mode

2005-11-01 Thread Eric Spakman
Hi Stephen, Good question, I don't have a direct answer. You could try a few things: -Use your NIC (dos) utils to set the hw address. -Use something like the following in the interfaces file: auto eth0 iface eth0 inet dhcp pre-up ip link set address eth0 up -Add '-I ' to the OPTIONS line in

Re: [leaf-user] Changing mac address in dhcp mode

2005-11-01 Thread M Lu
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" Sent: Tuesday, November 01, 2005 4:28 PM Subject

[leaf-user] Changing mac address in dhcp mode

2005-11-01 Thread Stephen Lee
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 in