Rename network interface | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Rename network interface

Solaris


Tags
network device, solaris

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-15-2013
bbq9 bbq9 is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 21 March 2013, 12:32 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rename network interface

Hi all, I'm new here and looking for some help.
I'm looking for the way to rename the network interfaces for Solaris 10. Got a server with 2 network cards (say "igb0" and "igb1") and there were some reasons that I have to swap the pci slots for those cards. However, after I did that, Solaris 10 seems to detect them as new cards and created new names "igb2" and "igb3", which basically screwed up my network settings.

I prefer to keep my network settings so been trying to find out the way to rename them back to "igb0" and "igb1".

Any suggestion would be appreciated.
Sponsored Links
    #2  
Old 03-15-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 31 October 2014, 5:47 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,480
Thanks: 8
Thanked 549 Times in 526 Posts
The dladm Command - Oracle Solaris Administration: Network Interfaces and Network Virtualization ?
http://docs.oracle.com/cd/E23824_01/...458/geyrb.html ?
Sponsored Links
    #3  
Old 03-15-2013
bbq9 bbq9 is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 21 March 2013, 12:32 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I saw the page about dladm, but for some reasons, some of those sub-commands are not available on my server (i.e. rename-link, show-phys, ...)
    #4  
Old 03-15-2013
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 31 October 2014, 5:27 PM EDT
Location: Paris
Posts: 4,434
Thanks: 16
Thanked 474 Times in 427 Posts
Quote:
Originally Posted by bbq9 View Post
I saw the page about dladm, but for some reasons, some of those sub-commands are not available on my server (i.e. rename-link, show-phys, ...)
The obvious reason is you are running Solaris 10 while the link is about Solaris 11, only with which arbitrary interface renaming is possible.

With Solaris 10, the interface prefix is always the one of the underlying driver. The suffix reflects the order of interface detection by the OS and stays that way unless reset.

To reset this ordering, the simplest and more secure way is probably to remove both NICs and clear the device mapping (devfsadm -c), then install the first card you want to be named igb0, reboot, run devfsadm and finally repeat the operation with the second card.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
No network cable But Network interface is UP and Running samer.odeh Solaris 7 08-18-2012 08:11 AM
network interface - chercheur857 IP Networking 1 05-27-2012 05:49 PM
Access to network interface (Mac-network) berny88 UNIX and Linux Applications 0 03-08-2012 09:03 AM
configure zones to have different network interface and network skamal4u Solaris 9 07-25-2011 01:00 AM
Network Interface witt UNIX for Dummies Questions & Answers 4 06-07-2001 06:32 PM



All times are GMT -4. The time now is 12:40 AM.