Visit Our UNIX and Linux User Community


Remove unneeded Ethernet devices?


 
Thread Tools Search this Thread
Operating Systems Solaris Remove unneeded Ethernet devices?
# 1  
Old 06-22-2017
Remove unneeded Ethernet devices?

Solaris 10 x86 VM was shipped with four NICs, two each teamed together. We don't want or need. I ifconfig downed e1000g2 and e1000g3 and removed their /etc/hostname.* entries. But the kernel still sees those devices, and I'm not sure how to remove them. They have been removed from the VM config, so I'm assuming there's a /dev/something that's been left behind, but I'm sure someone can tell me exactly what to look for instead of my holding my breath and seeing if X works Smilie
# 2  
Old 06-22-2017
I think the words that you need to search for are "Solaris unplumb".

I could go into detail but you can find it easily yourself.

If that doesn't help please post back here.
# 3  
Old 06-22-2017
Quote:
Originally Posted by hicksd8
I think the words that you need to search for are "Solaris unplumb".
The interfaces are unplumbed and unconfigured. But the kernel is seeing and registering them at boot.
# 4  
Old 06-22-2017
Yes, I am sure that the booting kernel will probe that hardware to see what's there. Can't you switch off the adapter(s) in the machine's BIOS?

---------- Post updated at 06:11 PM ---------- Previous update was at 06:04 PM ----------

Teamed devices show up as 'aggr' (aggregated) devices in /dev e.g.

Code:
/dev/aggr1

You could unconfigure them from their constituent e1000g2, e1000g3, etc.
# 5  
Old 06-22-2017
Is there a forceload in /etc/system?
Does dladm show-aggr show them?
# 6  
Old 06-22-2017
if this is Solaris 11. interfaces are handled differently.

there are two layers, the datalink (dladm) which controls the physical layer and aggregation

and IP layer (ipadm) which controls the TCP/IP configuration. To remove them from the OS for use you use

Code:
/tmp# ipadm help delete-ip
usage:
        delete-ip       <IP-interface>


Previous Thread | Next Thread
Test Your Knowledge in Computers #758
Difficulty: Easy
The Amiga was a family of personal computers introduced by Microsoft in 1985.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

2. HP-UX

list of devices

Hi, I need to rediracte all the names of the devices (only disks) to a file. Thanks:confused: (3 Replies)
Discussion started by: yoavbe
3 Replies

3. UNIX for Dummies Questions & Answers

/dev X /devices

Hi folks, I am trying to learn Unix based in Linux... In Linux, in /Dev are files related to cards, mouse, etc.. how about Unix? What is the difference between /Dev and /Devices? Thanks, Fernanda (0 Replies)
Discussion started by: ffpradella
0 Replies

4. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

5. Solaris

what is /devices/pseudo/ ??

Hi all, what does this mean? if then <something> fi here is what i know.. it checks if the specified argument no($devid) in some function call is made into a block device and then proceeds with the execution of the loop. However am not understand what lofi@0:means? also is there... (3 Replies)
Discussion started by: wrapster
3 Replies

6. Solaris

Meta Devices

I have added a sun storage array from a faiulty server onto a new server and copied the md.conf files etc. I can now access the /dev/md/dsk file systems, but I want to delete some metadevices that do not exist (it still thinks the 0 and 1 (root /var /export) disk are mirrored. How do I do this? (8 Replies)
Discussion started by: ozzmosiz
8 Replies

7. Red Hat

USB Devices

I am trying to get a flash card reader to work with my machine. My question is, are all of my USB ports screwed up? Do I need to buy a seperate USB controller? I does not appear that the onboard USB ports work. In trying to get it to work, I typed cat /proc/scsi/scsi and got this: # cat... (2 Replies)
Discussion started by: davidkretsch
2 Replies

8. UNIX for Dummies Questions & Answers

Unix devices

Hi I am trying to determine the access to unix devices. I found the follow access description which I have been told is a symbolic link and is not the actual file. I was also told that all symbolic links will have rwxrwxrwx access. kmem: lrwxrwxrwx 1 root 27 May 28 16:06 /dev/kmem ->... (2 Replies)
Discussion started by: GW01
2 Replies

9. HP-UX

HP-UX 10.20 devices

Is it possible to create the CDROM device file for a drive attached to the parallel port? I have a removable CDROM drive (gift - I'm trying not to return it, but may have to anyways) that attaches via parallel port. The only device that I can attach to that hardware address is /dev/c1t0d0_lp, a... (9 Replies)
Discussion started by: LivinFree
9 Replies

10. UNIX for Dummies Questions & Answers

removing unneeded information from grep?

Im looking for a way to setup a lil' script that will read the output from a command and dump certain items from that into another file for an example, im trying this cat test | grep "statement" > test.answer but its giving me the full line that it finds is there any way to take out a... (7 Replies)
Discussion started by: rizal
7 Replies

Featured Tech Videos