- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Auto-negotiate/duplexing question from a begin...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 07:08 AM
08-22-2002 07:08 AM
Auto-negotiate/duplexing question from a beginner
thanks, Scott shope@gov.mb.ca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 07:26 AM
08-22-2002 07:26 AM
Re: Auto-negotiate/duplexing question from a beginner
sam
Networking & Communications->Network Interface Cards
Select one of your interfaces then Actions->Modify. The settings will be displayed.
Now, no matter what your network guys tell you, do not use Auto-negotiate on 10MB or 100MB
cards. Always hard set these on both the host (using the same SAM commands above) AND on the corresponding ethernet switch ports. Auto-negotiate is very unreliable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 07:29 AM
08-22-2002 07:29 AM
Re: Auto-negotiate/duplexing question from a beginner
a) Check the current lan configurations:
# lanscan
# netstat -ins (will list all lan cards)
find out your lan card name (lan0, lan1 etc) and it's NMID/PPA number from lanscan
b) Check the current configuration and settings:
# lanadmin -x NMID or PPA number
This will tell you whether autonegotiation is ON or OFF.
c) For setting the options:
# lanadmin -X NMID/PPA ..options...
# man lanadmin (for details)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 07:30 AM
08-22-2002 07:30 AM
Re: Auto-negotiate/duplexing question from a beginner
First run lanscan and will give you result something like
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0 0x0060B0B204AF 0 UP lan0 snap0 1 ETHER Yes 119
7/2/0 0x00108305B62E 10 UP lan10 snap10 2 ETHER Yes 119
7/1/0 0x00A088018611 9 DOWN lan9 snap9 3 ETHER Yes 234
Here I have two card in up state.
cardIn# 0 and 10.
Then run
#lanadmin
choose "lan" then choose "ppa" and enter 0 or 10 which ever cards stat. you want to see. then choose display.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 07:31 AM
08-22-2002 07:31 AM
Re: Auto-negotiate/duplexing question from a beginner
First do:
# lanscan
Note the 'nmid' (if 10.20) or the 'ppa' (if 11.x). Then, using that number, do:
# lanadmin -x nmid | ppa
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 07:54 AM
08-22-2002 07:54 AM
Re: Auto-negotiate/duplexing question from a beginner
the lanadmin -x PPA suggestions did not work. All I get is a list of the acceptable commands for lanadmin.
I have obtained some info now but I think some stuff is weird. The MTU size is 1497? does that make sense?
The speed is 100000000? does that make sense?
there are also 1157 late collisions...
I have attached the output as lans.txt, if again I could ask anyone to give me some feedback I would appreciate it.
thanks
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:11 AM
08-22-2002 08:11 AM
Re: Auto-negotiate/duplexing question from a beginner
lanadmin -S FD 1
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 08:14 AM
08-22-2002 08:14 AM
Re: Auto-negotiate/duplexing question from a beginner
Looks good. your card is 10/100MBps half duplex. change mtu size to 1500.
Current speed is full 100MByte per second.
#lanadmin -M 1500 ppa_number
Hopefully that will solve the problem. Ask network admin to check the settings on switch (other side of system) if it is full duplex tell him to set to half duplex.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 11:16 AM
08-22-2002 11:16 AM
Re: Auto-negotiate/duplexing question from a beginner
#!/usr/bin/sh
PATH=/usr/sbin:/usr/bin
ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`
for i in $ppas
do
printf "Card at PPA %s - " $i
ipa=`ifconfig lan${i} 2>/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assigned ")}else{printf("%s ",ip)}}'`
printf "IP Address: %15s- " "$ipa"
# lanadmin -s $i | awk '{printf("%4d Mbps\n",$NF/1000000)}'
lanadmin -x $i 2>/dev/null | awk '{$1="";printf("%s",$0)}'
echo ""
done
10MB built-in LAN's don't support the "get speed" request from lanadmin though and will not display a spped setting. Asume 10HD for these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 03:43 PM
08-22-2002 03:43 PM
Re: Auto-negotiate/duplexing question from a beginner
Using 'lanadmin' to set a lan card's properties (speed, etc). is only temporary until a reboot occurs. You need to determine exactly what kind of card is installed and modify a configuration file to specify the settings *you* want.
This is not difficult. Do the following:
# ioscan -kfnC lan #...look for the driver name
You can also look for the product number of the card on the card itself.
Use the above information ('ioscan' or product number) with the link below to determine the name of the configuration file. Edit the appropriate configuration file to make your changes permanent.
Do *not* specify a STATION_ADDRESS (mac address). Leave this variable unassigned (blank).
Auto-negotiation is not reliable. Choose the value of speed you want (e.g. 100FD).
Note carefully, that EISA cards only support half-duplex, not full.
Whatever settings you choose for your card, have your network switch's port configured to be the same.
http://techsolutions.hp.com/fe/configs.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 05:32 PM
08-22-2002 05:32 PM
Re: Auto-negotiate/duplexing question from a beginner
otherwise, the next time someone moves some cables around sorrow and woe will result.
you also have to remember to hardcode everytime you setup a new machine.
How Autoneg is supposed to work:
When both sides of the link are set to autoneg, they will "negotiate"
the duplex setting and select full duplex if both sides can do
full-duplex.
If one side is hardcoded and not using autoneg, the autoneg process
will "fail" and the side trying to autoneg is required by spec to use
half-duplex mode.
If one side is using half-duplex, and the other is using full-duplex,
sorrow and woe is the usual result.
So, the following table shows what will happen given various settings
on each side:
Auto Half Full
Auto Happiness Lucky Sorrow
Half Lucky Happiness Sorrow
Full Sorrow Sorrow Happiness
Happiness means that there is a good shot of everything going
well. Lucky means that things will likely go well, but not because you
did anything correctly :) Sorrow means that there _will_ be a duplex
mis-match.
On the side running half-uplex you will see various errors and
probably a number of late collisions. On the side running full-duplex
you will see things like FCS errors.