1825775 Members
2580 Online
109687 Solutions
New Discussion

Network Speed

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Network Speed

Sorry I slipped.
I have 4 Nclass boxes. I am concerned about the configuration of the tacheon cards. We are not experiencing any slowdown however I am tring to understand this. When I enter the command 'lanadmin -x 0' I show '100 Full-Duplex Auto-Negotiation-ON' while on the other two Nclass boxes I see '10 Half-Duplex Auto-Negotiation-On'. Do I have something configured wrong? Or am I still running at 100Meg oer What? Im confused. Can I assume that 2 of my boxes are only running at 10MB?
Thanks in Advance,

Bob Menefee
UNIX IS GOOD
9 REPLIES 9
Jeff Machols
Esteemed Contributor

Re: Network Speed

Yep you are right, the two are running at 10MB. With auto-negotiate on, the problem may be in the switch you are connected to, some ports may be 100 and some may be 10. I would check the swicth, make sure it is 100. Then make the connection static on the cards to 100 Full
Sanjay_6
Honored Contributor

Re: Network Speed

Sridhar Bhaskarla
Honored Contributor

Re: Network Speed

Hi Bob,

It is all in the "negotiation" of switch and the system. If you are getting 10 Half-duplex, then the switch and the system negotiated to keep this speed and your systems are working at 10MBPS. You can try testing it by doing some ftp from the server that is running with 100 FD and 10HD.

Now the best practice for HP systems is to keep the switches at 100 Full Duplex Autonegotiation off and then setting the systems to 100 Full Duplex AUTO OFF.

You can edit /etc/rc.config.d/hpbase100conf and make changes there to set this during bootup for these cards.

For the command line you can use

lanadmin -X 100FD instance_number

-Sri


You may be disappointed if you fail, but you are doomed if you don't try
Nobody's Hero
Valued Contributor

Re: Network Speed

Thanks everyone, you helped point me in the right direction. Sorry about the double post, too much coffee this morning.

Bob
UNIX IS GOOD
Sridhar Bhaskarla
Honored Contributor

Re: Network Speed

Hi Bob,

//
4- 7: The answer helped with a portion of my question, but I still need some additional help.
//

So, our answers helped only a portion of your question as indicated by your message and the points. What exactly were you looking for?.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Nobody's Hero
Valued Contributor

Re: Network Speed

Sorry, Boy I've been getting beaten up on this points thing. !st I got elbowed for no points now not enough. I guess it should be a 10, my mistake, my mistake. I guess I am still not sure how to make it static. Maybe Im dense, sorry about the 4-7. I didn't realize until this week the importance of rewarding you guys and gals with points. My bag, My bag.

Bob
UNIX IS GOOD
Bill Hassell
Honored Contributor
Solution

Re: Network Speed

To set the negotiation and speed options as static values, edit the appropriate LAN config file in /etc/rc.config.d. The file name depends on which LAN cards you have. Use the comand:

# ls /etc/rc.config.d/hp*conf

to see the config files. They correspond to the driver used for the LAN card:

btlan hpbtlanconf
btlan0 hpeisabtconf
btlan1 hpbasetconf
btlan3 hpbase100conf
btlan4 hpgsc100conf
btlan5 hppci100conf
btlan6 hpsppci100conf

To set 100 Mbits and full-duplex, use 100FD on the line with SPEED=

Note that each LAN card that uses the same driver will need an entry and these are actually script arrays so the first instance of a btlan3 LAN card will be 0 and the hpbase100conf entry will be:

HP_BASE100_SPEED[0]=100FD

(and the next 3 would be:

HP_BASE100_SPEED[1]=100FD
HP_BASE100_SPEED[2]=100FD
HP_BASE100_SPEED[3]=100FD

Repeat for other LAN cards based on their driver.

To view the current LAN setting:

# lanadmin -x 0

(where 0 is the card's instance or PPA number, found with lanscan).

To change the card setting without a reboot, use:

# lanadmin -X 100FD 0

Note that 100 half-duplex is the default value when negotiation at 100 bits fails and unless the switch is set the same, high error rates and very low throughput will be the result.


Bill Hassell, sysadmin
Nobody's Hero
Valued Contributor

Re: Network Speed

Thanks Bill and everyone, problem resolved. I now have 3 Nclass boxes with a four port card running 100MB speed. That is sixteen ports running at 100MB. Thanks, again, I feel comfortable now.


Bob Menefee
UNIX IS GOOD
Sridhar Bhaskarla
Honored Contributor

Re: Network Speed

Hi Bob,

"IT'S NOT ABOUT POINTS BUT ABOUT POINTS TOO"

I guess you still are to be used to this forum. This is nothing but a protocol to see how the responses helped the member's question.
Even a "N/A" will do.

Regarding your other question that left unanswered, it will become static once you make that AUTO NEGOTIATION off. Edit the corresponding config file (in your case it would be mostly hpbase100conf for the built-in 100Bt LAN) and keep the entries like

HP_BASE100_INTERFACE_NAME[0]=lan0
HP_BASE100_SPEED[0]=100FD

You don't need to specify the HW station address. This file changes per type of the card. But the syntax is the same except for the "BASE100".

-Sri
You may be disappointed if you fail, but you are doomed if you don't try