change NIC speed


 
Thread Tools Search this Thread
Operating Systems Solaris change NIC speed
# 1  
Old 11-25-2010
change NIC speed

how can we change the nic card speed
please explain through commands & steps ????
and i want to change NIC speed 100 --1000Mbps
and what is full & half duplex gives


thanks in advance
# 2  
Old 11-26-2010
Well, it's a big question. First you need to know what the NIC will support and what the network switch will support. From them, you can decide what is the best settings. It is best to get the switch port forced to match the speed of your NIC as auto-negotiate may not always work or may cause overheads if it ferequently tries again looking for a faster card.

The process of setting it will depend on your operating system, e.g. for AIX you can:
Code:
chdev -a speed=1000_Full_Duplex ent0

but that is AIX only. Solaris, HP-UX and other flavours all have their own commands.

To perform the action, you will also need to stop the network card, so plan your downtime, work out how to do it from the console only and note all the current configuration before starting. On AIX you sometimes have to delete the interface and boot so that it not in use. This means you will have to input the IP address again, netmask and default gateway again.


Full Duplex vs Half Duplex
Simplex is the sending or receiving of data on a NIC. Duplex is the ability to send and receive data. Dimplex is a radiator manufacturer, which probably isn't any use in this forum.

Full duplex (often lazily called duplex) means the ability to send and receive data at the same time, where half duplex is the ability to only do one at a time.


Basically, when deciding what to set the NIC and the switch port to be, use the highest common speed and the best ???plex that they both work at. I'm guessing that simplex is likely to be out, but if either the NIC or the switch only supports half duplex, then that is what you are stuck with. We have hit very serious problems where when the settings didn't match, to a half duplex NIC and a full duplex switch port. It worked okay until someone did an FTP. The normal telnet/screen traffic was handled okay, but when the FTP kicked in, the dropped packets went through the roof and uses were getting horrible response and partial screen displays. The FTP was also horribly slow.

We had to force the switch port to only be 10M Half Duplex and then performance was wonderful for the FTP and the telnet users were unaffected.


I am, of course, assuming that the NIC and the switch are reasonably close to each other. You may have to lower the speed if the cable it particularly long, but I can't tell you what the limits are. It is just for the connection of the NIC to the switch, not all the way to the user terminal/remote server/whatever.

I hope that this is useful, but if not, do ask more questions.


Robin
Liverpool/Blackburn
UK

Last edited by rbatte1; 11-26-2010 at 10:56 AM.. Reason: Splling mistoks
# 3  
Old 11-29-2010
NIC card issue

well,
thank you for reply
but i need on solaris not for Aix
please give steps for Solaris operating system

\thank you again in advance
# 4  
Old 11-29-2010
U need to study the Sun documentation first.

use the ndd command for solais and refer this link for more details.
C H A P T E R 3 - Configuring Driver Parameters
# 5  
Old 11-30-2010
NIC card issue

thanks vinay
atleast you send some information
# 6  
Old 11-30-2010
The way to do this depends on the type of NIC you are using.

For some types you make entries in /etc/systems, like these to set all qfe-interfaces to 100 MBit Fullduplex.

Code:
set qfe:qfe_adv_autoneg_cap = 0
set qfe:qfe_adv_100fdx_cap = 1
set qfe:qfe_adv_100hdx_cap = 0
set qfe:qfe_adv_10fdx_cap = 0
set qfe:qfe_adv_10hdx_cap = 0
set qfe:qfe_adv_100T4_cap = 0

If you have ce interfaces, entries in /etc/system do not work. You have to create an init-script like this (which sets only ce0 to 100 MBit Full) and make sure, it is run at system boot.

Code:
ndd -set /dev/ce instance 0
ndd -set /dev/ce adv_1000fdx_cap 0
ndd -set /dev/ce adv_1000hdx_cap 0
ndd -set /dev/ce adv_100fdx_cap 1
ndd -set /dev/ce adv_100hdx_cap 0
ndd -set /dev/ce adv_10fdx_cap 0
ndd -set /dev/ce adv_10hdx_cap 0
ndd -set /dev/ce adv_autoneg_cap 0

Some NICs can't even be configured using the ndd command. Instead you have to make entries in the driver's config file under /kernel/drv. The format of these entries is driver dependent.

Consult the NICs documentation or places on the internet (like this forum) to find out, which kind of configuration is supported and which not.

Finally: please use interface fixation only as a last resort. Autonegotiation is today's technology and for gigabit ethernet it is mandatory anyway.
# 7  
Old 11-30-2010
I fully agree with last hergp comment. Ethernet settings should be set to auto negotiate. This should just work. If it doesn't, have the vendors fix their hardware instead of trying to mess with settings.
This is from experience. I have seen a lot of networking issues in various sites and plenty of them were due to wrong settings, the most common being one side auto-neg while the other one had fixed speed/duplex mode.

This is somewhat similar to IP settings. If you have a correctly configured dhcp server, things usually work fine. If you have fixed addresses and let people setting them, you quickly end up with duplicate IPs, wrong DNS settings, wrong default routers and so on.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Finding speed of NIC Card

Hi, I would like to know how to find out ACTUAL speed of NIC Card. I have used the command ethtool eth0, it is showing supported modes, but what is acutal speed ? how to find out? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

2. Solaris

Supporting NIC speed

Hi, I have few Solaris (9 and 10) servers, whose consoles are running on 10 MBPs. Now, Network team is changing their switch, which doesn't support 10 MBPs and we need to check if console all of those servers will support 100MBPs or more. Is there any way to check supported (or maximum supported)... (7 Replies)
Discussion started by: solaris_1977
7 Replies

3. UNIX for Advanced & Expert Users

Determine the ethernet (NIC) card speed.

Hi, Does anyone know how can I determine the maximum capable speed on a network interface card for different OS like HP, Sun, AIX and Linux. I am aware of the tool "ethtool" which can be used for Linux. Are there any handly commands or /proc files where I can get this info depending on the OS.... (3 Replies)
Discussion started by: devtakh
3 Replies

4. AIX

How to change Speed Duplex

How to change Speed Duplex ! How to change Speed Duplex by command chdev -P -l ent1 -a media_speed=1000_Full_Duplex How to change Speed Duplex by Smitty . smitty chgenet -> select adapter -> change Media speed etc. -> set "Apply change to DATABASE only" to yes -> Enter -> ... (0 Replies)
Discussion started by: ITHelper
0 Replies

5. Linux

changing speed of NIC Card in linux

Hi, I would like to know how to change the speed of ethernet card in linux? as it is showing auto-neg using mii-tool -v eth0 and my requirement is 100mbps full duplex. Regards, Manoj (3 Replies)
Discussion started by: manoj.solaris
3 Replies

6. Solaris

Change speed on network card

I recently learned that Sun Solaris network cards (ce devices) have problems with ndd -get commands. I did some searching and found out about the netstat -k command to show me the link speed. What is the best way to change the link speed (both one time and permanently)? I am running Solaris 9... (7 Replies)
Discussion started by: hshapiro
7 Replies

7. IP Networking

NIC speed 100M/full duplex problem

I have a TOSHIBA AS7000 B150 Sun Box I wanted to run it with 100M/full duplex I had added this to the /etc/system file to make to setting permenant So it would be set correctly on reboot. set eri:eri_adv_100fdx_cap=1 set eri:eri_adv_100hdx_cap=0 set eri:eri_adv_autoneg_cap=0 But when I... (4 Replies)
Discussion started by: AirWalker83
4 Replies

8. UNIX for Dummies Questions & Answers

NIC and Device NO to Change

I am a beginer in unix . I would like to know what is the command in orser to change NIC and Device NO (1 Reply)
Discussion started by: Ilias Kappatos
1 Replies

9. Solaris

Sun box's NIC speed setting

Is there a way to check if my Sun box's network interface card is set to 10 or 100 Mbps? Thanks! (1 Reply)
Discussion started by: FredSmith
1 Replies

10. Solaris

How to check Virtual NIC card speed on solaris

Hi, We have a 4 port Sun gigaswift NIC card on our sun fire server. If the card is a physical one I know how to check the settings/speed. But since this is a virtual card with 4 ports , I am not sure as how we can check the settings. Details ----------- root:/> ifconfig -a lo0:... (3 Replies)
Discussion started by: pray44u
3 Replies
Login or Register to Ask a Question