Sponsored Content
Full Discussion: Rename network interface
Operating Systems Solaris Rename network interface Post 302781251 by jlliagre on Friday 15th of March 2013 06:57:07 PM
Old 03-15-2013
Quote:
Originally Posted by bbq9
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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network Interface

Hi ! Does anyone know how can i get information about my network interface ... if it works in half or full duplex mode !! Thx in adivance ! Witt (4 Replies)
Discussion started by: witt
4 Replies

2. UNIX for Advanced & Expert Users

Network interface goes down intermittently

Hi all, I'm using an HP Proliant server with double NIC and Debian 5 (Lenny) as its OS. I used link bonding on it for several years with no problem. Today, (now only one interface connected to switch) the interface went down. I restarted networking service (/etc/init.d/networking restart) and... (7 Replies)
Discussion started by: mjdousti
7 Replies

3. Solaris

Network interface problem

HI, genunix: NOTICE: ce0: xcvr addr:0x01 - link up 100 Mbps half duplex genunix: WARNING: ce0: fault detected external to device; service degraded genunix: WARNING: ce0: xcvr addr:0x01 - link down genunix: NOTICE: ce0: fault cleared external to device; service available genunix: ... (4 Replies)
Discussion started by: sunnybee
4 Replies

4. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

5. UNIX for Advanced & Expert Users

Multiple interface same network

hi I have a question, eth0 : 192.168.2.10 eth1: 192.168. 2.11 subnet : 255.255.255.0 eth0 and eth1 plug same swich I want communication between the two interface one host examp : ping 192.168.2.10 -I eth1 ping 192.168.2.11 -I eth0 but not respons.. pls helme (3 Replies)
Discussion started by: sadosan83
3 Replies

6. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

7. IP Networking

Network interface-

Hello, Please what's the difference between: AND Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies

8. IP Networking

network interface -

Hello, Please, how can i create a network interface with a routable IP address on linux (ubuntu) ? AND How can i desactivate an interface? Thank you so much for help. (1 Reply)
Discussion started by: chercheur857
1 Replies

9. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

10. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies
devfsadm(1M)						  System Administration Commands					      devfsadm(1M)

NAME
devfsadm, devfsadmd - administration command for /dev SYNOPSIS
/usr/sbin/devfsadm [-C] [-c device_class] [-i driver_name] [ -n] [-r root_dir] [-s] [-t table_file] [-v] /usr/lib/devfsadm/devfsadmd DESCRIPTION
devfsadm(1M) maintains the /dev namespace. It replaces the previous suite of devfs administration tools including drvconfig(1M), disks(1M), tapes(1M), ports(1M), audlinks(1M), and devlinks(1M). The default operation is to attempt to load every driver in the system and attach to all possible device instances. Next, devfsadm creates logical links to device nodes in /dev and /devices and loads the device policy. devfsadmd(1M) is the daemon version of devfsadm(1M). The daemon is started during system startup and is responsible for handling both reconfiguration boot processing and updating /dev and /devices in response to dynamic reconfiguration event notifications from the kernel. For compatibility purposes, drvconfig(1M), disks(1M), tapes(1M), ports(1M), audlinks(1M), and devlinks(1M) are implemented as links to devfsadm. In addition to managing /dev, devfsadm also maintains the path_to_inst(4) database. OPTIONS
The following options are supported: -C Cleanup mode. Prompt devfsadm to cleanup dangling /dev links that are not normally removed. If the -c option is also used, devfsadm only cleans up for the listed devices' classes. -c device_class Restrict operations to devices of class device_class. Solaris defines the following values for device_class: disk, tape, port, audio, and pseudo. This option might be specified more than once to specify multiple device classes. -i driver_name Configure only the devices for the named driver, driver_name. -n Do not attempt to load drivers or add new nodes to the kernel device tree. -s Suppress any changes to /dev. This is useful with the -v option for debugging. -t table_file Read an alternate devlink.tab file. devfsadm normally reads /etc/devlink.tab. -r root_dir Presume that the /dev directory trees are found under root_dir, not directly under root (/). No other use or assumptions are made about root_dir. -v Print changes to /dev in verbose mode. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error occurred. FILES
/devices device nodes directory /dev logical symbolic links to /devices /usr/lib/devfsadm/devfsadmd devfsadm daemon /dev/.devfsadm_dev.lock update lock file /dev/.devfsadm_daemon.lock daemon lock file /etc/security/device_policy device policy file /etc/security/extra_privs additional device privileges ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), add_drv(1M), modinfo(1M), modload(1M), modunload(1M), rem_drv(1M), svcadm(1M), tapes(1M), path_to_inst(4), attributes(5), privi- leges(5), smf(5), devfs(7FS) NOTES
This document does not constitute an API. The /devices directory might not exist or might have different contents or interpretations in a future release. The existence of this notice does not imply that any other documentation that lacks this notice constitutes an API. devfsadm no longer manages the /devices name space. See devfs(7FS). The device configuration service is managed by the service management facility, smf(5), under the service identifier: svc:/system/device/local:default Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.10 6 Aug 2004 devfsadm(1M)
All times are GMT -4. The time now is 12:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy