- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing MAC address
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 02:25 AM
тАО08-18-2009 02:25 AM
I need to change a Ethernet card's MAC address to 00:00:00:00 and test few things. What is the best way to do? I will have to revert it back after testing.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 02:38 AM
тАО08-18-2009 02:38 AM
Re: Changing MAC address
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 03:14 AM
тАО08-18-2009 03:14 AM
Re: Changing MAC address
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x001083F515F1 0 UP lan0 snap0 1 ETHER Yes 119
0/5/0/0 0x001083F6CD7E 1 UP lan1 snap1 2 ETHER Yes 119
0/12/0/0 0x00306E0672D1 2 UP lan2 snap2 3 ETHER Yes 119
I want to change for lan1 or lan2. How do i do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 03:37 AM
тАО08-18-2009 03:37 AM
Re: Changing MAC address
I think we can change the station address using sam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 03:40 AM
тАО08-18-2009 03:40 AM
Re: Changing MAC address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 03:42 AM
тАО08-18-2009 03:42 AM
Solutionlanadmin -A 0x00000000 1
where "1" is the PPA number from lanscan. Also, note this warning from the man page:
"Set the new station address of the interface corresponding to PPA. The station_addr must be entered in hex format with a '0x' prefix. You must have superuser privileges. When station_addr is DEFAULT, the factory default physical address will be restored. WARNING: To ensure the interface and the system work correctly, the interface MUST be brought down before setting the new station address. After the new station address is set, the interface should be brought up in order to be functional. See ifconfig(1M) for bringing down and bringing up the interface."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 03:48 AM
тАО08-18-2009 03:48 AM
Re: Changing MAC address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 10:36 AM
тАО08-18-2009 10:36 AM
Re: Changing MAC address
We both are trying to zero-in on the same issue.
You may find assitional info here:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1364524&admit=109447626+1250620267464+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 04:15 PM
тАО08-18-2009 04:15 PM
Re: Changing MAC address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 09:56 PM
тАО08-18-2009 09:56 PM
Re: Changing MAC address
├в ERROR: lan1 interface | PPA 1 : error: expected primitive 0x06, got ├в ├в d├в
├в ├в ├в ├в DL_ERROR_ACK ├в ├в ├в ├в
├в ├в ├в dl_error_primitive = 0x33 ├в ├в ├в
├в ├в ├в dl_errno = 0x04 ├в ├в ├в
├в ├в ├в ├в dl_unix_errno = 22 ├в ├в ├в
├в ├в ├в ├в change_phys_addr: unable to change physical address ├в ├в ├в
├в ├в ├в ├в Old Station Address = 0x001083f6cd7e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 09:58 PM
тАО08-18-2009 09:58 PM
Re: Changing MAC address
# lanadmin -A 0x000000000000 1
Old Station Address = 0x001083f6cd7e
error: expected primitive 0x06, got DL_ERROR_ACK
dl_error_primitive = 0x33
dl_errno = 0x04
dl_unix_errno = 22
change_phys_addr: unable to change physical address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2009 01:24 AM
тАО08-19-2009 01:24 AM
Re: Changing MAC address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2009 05:53 AM
тАО08-19-2009 05:53 AM
Re: Changing MAC address
Before using lanadmin -A command you need to bring down your interface with ifconfig command. After setting the new address the interface will be bring up.
To get back the factory address you can use -A DEFAULT keywords in lanadmin command.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2009 08:30 AM
тАО08-19-2009 08:30 AM
Re: Changing MAC address
The only place I would initially see a MAC address of all zeros would be a broken NIC, which would seem to be a HW replacement issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2009 09:40 PM
тАО08-19-2009 09:40 PM
Re: Changing MAC address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 10:59 AM
тАО09-02-2009 10:59 AM