Asset ID: |
1-71-1553201.1 |
Update Date: | 2016-10-26 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
1553201.1
:
Setting new MAC/HWaddress on Linux OS after 16-Port Virtualized Multi-Fabric M2 NEM is replaced
Related Categories |
- PLA-Support>Sun Systems>SAND>Network>SN-SND: Sun Network Ethernet Switches
|
In this Document
Created from <SR 3-7171513681>
Applies to:
Sun Blade 6000 System - Version All Versions and later
Information in this document applies to any platform.
Goal
How to determine and configure the new mac addresses used by Linux after a hydra NEM replacement?
Solution
Mac/HW addresses are supplied to the OS from the burned in MAC addresses on the NEM. IF the NEM is replaced, the following steps can be used to determine the new mac addresses and then configure Linux with this new MAC address on a reboot.
1) Manually ifconfig the ethernet interface to load the hxge module :
x6270-bur09-c network-scripts]# ifconfig eth2 10.1.10.156 netmask 255.255. 255.0
hxge: eth2: hxge_enable_tx_channel: Channel 0 enabled
hxge: eth2: hxge_enable_tx_channel: Channel 1 enabled
hxge: eth2: hxge_enable_tx_channel: Channel 2 enabled
hxge: eth2: hxge_enable_tx_channel: Channel 3 enabled
hxge: eth2: setup_dma_buffers: Initially kicked 2048
hxge: eth2: hxge_enable_rx_channel: Channel 0 enabled
hxge: eth2: setup_dma_buffers: Initially kicked 2048
hxge: eth2: hxge_enable_rx_channel: Channel 1 enabled
hxge: eth2: setup_dma_buffers: Initially kicked 2048
hxge: eth2: hxge_enable_rx_channel: Channel 2 enabled
hxge: eth2: setup_dma_buffers: Initially kicked 2048
hxge: eth2: hxge_enable_rx_channel: Channel 3 enabled
hxge: eth2: hxge_watchdog_timer: hxge_watchdog_timer: link is up
2) Now check to see the MAC/HWaddr that was assigned by the new NEM:
[root@x6270-bur09-c network-scripts]# ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:21:28:2A:92:E5 <<<<<<<<<<<<<<< inet addr:10.1.10.156 Bcast:10.1.10.255 Mask:255.255.255.0
inet6 addr: fe80::221:28ff:fe2a:92e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:5942 (5.8 KiB)
Memory:f9000000-fa000000
3) Make this persistent across reboots
[root@x6270-bur09-c network-scripts]#vi ifcfg-eth2
# Intel Corporation 82576 Gigabit Network Connection
DEVICE=eth2
BOOTPROTO=static
DHCPCLASS=
HWADDR=00:21:28:2A:92:E5<<<<<<<IPADDR=10.152.224.138
NETMASK=255.255.252.0
ONBOOT=yes
References
<NOTE:1353629.1> - Sun Blade T6320 How To's
Attachments
This solution has no attachment