1833764 Members
2300 Online
110063 Solutions
New Discussion

Gig NIC

 
brian_31
Super Advisor

Gig NIC

i go to sam and select the NIC(1000base-t) and i see autoneg is off. How do i enable this? in other words if i plug it into a gige switch will it auto-neg at 1000Mb without parameter modification?

Thanks

Brian
11 REPLIES 11
Ivan Krastev
Honored Contributor

Re: Gig NIC

Hi brian,

lanadmin is the tool. http://www.unixadm.net/howto/lanadmin.html


regards,
ivan
brian_31
Super Advisor

Re: Gig NIC

will it pick the speed? pl advise

thx

brian
IT_2007
Honored Contributor

Re: Gig NIC

You can set it through lanadmin command

look at /etc/rc.config.d/hpigelanconf file

HP_IGELAN_AUTONEG Enable or Disable auto negotiation for 1000Base-SX
By default this mode is always enable
Enable = 1
Disable = 0
brian_31
Super Advisor

Re: Gig NIC

OK, Let me re-phrase it. we are moving this server from one rack to another(where there is a GIG switch). my plan is make the NIC changes and then shutdown the machine and start in the new rack. here are the steps

1. make changes using sam to set to 1000 full duplex (auto on) (when using sam will this change be permanent?

2 shutdown the machine.

3. move to new rack(where gig switch is there) and bring the machine up.

4. check the speed using lanadmin -x

Does this look ok?

Please advise

Thanks

Brian



IT_2007
Honored Contributor

Re: Gig NIC

yes. Also make sure that sam did reflect changes in /etc/rc.config.d/hpigelanconf and it should look like this way:

HP_IGELAN_INTERFACE_NAME[0]=lan1
HP_IGELAN_STATION_ADDRESS[0]=
HP_IGELAN_SPEED[0]=100fd
HP_IGELAN_MTU[0]=1500
HP_IGELAN_FLOW_CONTROL[0]=1
HP_IGELAN_AUTONEG[0]=
HP_IGELAN_SEND_COAL_TICKS[0]=150
HP_IGELAN_RECV_COAL_TICKS[0]=0
HP_IGELAN_SEND_MAX_BUFS[0]=10
HP_IGELAN_RECV_MAX_BUFS[0]=1

You can just edit above file put above lines so that it will be permanent. No need to use sam to configure since you are rebooting server.
brian_31
Super Advisor

Re: Gig NIC

so i just have to set it to 100fd with autoneg on so it picks 1000? i am not clear. i see an option for 1000 in SAM

Thanks

Brian
IT_2007
Honored Contributor

Re: Gig NIC

Sorry, if your lan card is Gig card then set it to 1000 not 100. Sorry for my typo.
rick jones
Honored Contributor

Re: Gig NIC

When I go into sam and look at a NIC and go to the config screen there is an option to set autoneg to on or off - at least under 11.23. I would go there and set it to "on" as that is what it should be for 1000Base-T. Then, if indeed you have a suitable cable and a suitable switch, it should come-up as 1000 Megabit, full-duplex.
there is no rest for the wicked yet the virtuous have no pillows
Eric Lemmers
Occasional Advisor

Re: Gig NIC

Brian,

When the auto neg. setting is set to on, the speed parameter has no function. I advise you to leave this blank. This way the settings are consistant again.

A Gig NIC can only be set to 1000Mbit by turning AUTO NEG ON. Any other speed should be set with the speed setting and AUTO NEG OFF.

Kind Regards,

Eric
Prasanth B
Trusted Contributor

Re: Gig NIC

Hi,

From my experience you will be better of using netconf file and defining the speed required rather than using auto negotiation. Set the switch port speed to 1000 FD (not auto) as well. Don't let the devices work out the speed when YOU can control it.

-PB
Take life as it comes
rick jones
Honored Contributor

Re: Gig NIC

I have to disagree with the hardcode settings sentiment. Often as not NICs and fresh OS installs will default to auto, and any kit made in the last five years better be able to autoneg. Finally, 1000Base-T _requires_ autoneg.

All it takes is to plug an autoneg into a full-duplex hardcode, and per the specs you get a problem, per the attached.

there is no rest for the wicked yet the virtuous have no pillows