1832493 Members
5886 Online
110043 Solutions
New Discussion

Configure lan to 100FD

 
SOLVED
Go to solution
Patrick Chim
Trusted Contributor

Configure lan to 100FD

Hi,

My server running HP-UX 11.0 and with 2 4-port pci lan card. Let I name the port be A1, A2, A3, A4 and B1, B2, B3, B4.

The A3 and B3 are already set 100FD. Now I want to configure A1 and B1 to be 100FD. Here are the steps I done.

> ifconfig lan1 down (this is A1)
> lanadmin -X 100FD 1
> wait for 20 seconds
> lanadmin -x 1
and it show the correct setting
> ifconfig lan1 up

But at the switch I can only see the port in 100 half-duplex. When my network staff set it as 100 full-duplex, the network cannot be ping.
Is there anything wrong of my steps ?

Best Regards,
Patrick
8 REPLIES 8
Michael Tully
Honored Contributor

Re: Configure lan to 100FD

Hi,

Suggest you try and do this through SAM,
just to see what differences you see. I
have seen where even SAM actually 'grays'
out the area of Full Duplex. We had to
go the extreme of re-loading patches, which
I hope you don't.

HTH
-Michael
Anyone for a Mutiny ?
Patrick Chim
Trusted Contributor

Re: Configure lan to 100FD

Hi,

When I do it in SAM, the parameter is gray as you mentioned. What can I do next ? As you said what patch should I apply ?

Regards,
Patrick
Michael Tully
Honored Contributor
Solution

Re: Configure lan to 100FD

Hi Patrick,

Going through our notes here, we had to
re-install the following:

J4253AA B.11.00.05 100BT/9000 PCI Driver
PHKL_22589
PHKL_22840
PHNE_23456
PHNE_22566
PHNE_22244
PHNE_22962

This was on an 'L' class box. Unfortunately
there are reboot patches in this lot.

HTH
-Michael
Anyone for a Mutiny ?
James Lakin
Occasional Advisor

Re: Configure lan to 100FD

The great patch hunt at HP is always fun. I had similar issues on my N-Class with 64 bit quad port cards:
PHNE_22244 1.0 Built-in PCI 100BASE-T patch
PHNE_22245 1.0 PCI 100B(Tx/Fx)cumulative patch
PHNE_22728 1.0 4 port PCI 100BASE-T cumulative patch
PHNE_24007 1.0 4 port PCI 100BASE-T cumulative patch
Try these, they may be superseeded at this point but i do believe you need one of these.
Anu Mathew
Valued Contributor

Re: Configure lan to 100FD

Hi Patrick,

Greetings..!!

I have also seen SAM turns "gray" in my N and L class servers. As a work-around,

1) Make sure that the file hpbase100conf exists in your /etc/rc.config.d directory and its contents are as:

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

# This is not user changeable.
HP_BASE100_INIT_ARGS="HP_BASE100_STATION_ADDRESS HP_BASE100_SPEED"

In your case, you may have to replicate entries for the other interfaces (1,2,3 etc.) with their corresponding MAC addresses.

Once this was done, SAM let me work on the "grey" area.

You can have a look at the skel file at /usr/newconfig/etc/rc.config.d directory.

Regarding cannot ping issue, what are the "Negotiaion" settings at both ends? Some network devices cant properly negotiate, sometimes.I doubt whether it can lead to can't ping situation.

Hope this helps.

Thanks

Anu Mathew
Patrick Chim
Trusted Contributor

Re: Configure lan to 100FD

Hi Anu,

I want to ask when should I change hpbase100conf and when should I change hpbtlanconf ?

Regards,
Patrick
Tor-Arne Nostdal
Trusted Contributor

Re: Configure lan to 100FD

NB! you should do it from console, or be connected via another network interface, so you dont loose connection while doing the changes.

In the example I am connected via a FDDI card (myhost), and changes the speed on a ETH card lan0 (myhost_l)

I did it like this (example interface 0):

1) Check the Ethernet (MAC) address for the network card.
myhost#lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x001083FCD202 0 UP lan0 snap0 1 ETHER Yes 119
0/4/0/0 0x0060B05822BB 1 UP lan1 2 FDDI Yes 119

2) Agree switch time with Network Administrator and supply him with switch port number and/or MAC-address (001083FCD202)

3) Display current settings
myhost#lanadmin -x 0
Current Speed = 10 Full-Duplex Auto-Negotiation-OFF

4) Set new speed/link settings on interface 0
myhost# lanadmin -X 100FD 0

WARNING: an incorrect setting could cause serious network problems!!!

Driver is attempting to set the new speed
Reset will take approximately 11 seconds

5) Wait a bit - switching take some seconds - check
myhost# lanadmin -x 0
Current Speed = 100 Full-Duplex Auto-Negotiation-OFF

myhost# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x001083FCD202 0 UP lan0 snap0 1 ETHER Yes 119
0/4/0/0 0x0060B05822BB 1 UP lan1 2 FDDI Yes 119

myhost# netstat -i
Name Mtu Network Address Ipkts Opkts
lan1 4352 192.192.100.0 myhost 165131 102347
lan0 1500 192.192.101.0 myhost_l 1841 737
lo0 4136 127.0.0.0 localhost 6004 6004

From another machine - do a ping test
my2host# ping myhost_l

I further recommend that you define the speed and duplex to be fixed on the switch - and not auto. Fixed configuration makes more administration but less trouble... That's at least my experience...
I'm trying to become President of the state I'm in...
Anu Mathew
Valued Contributor

Re: Configure lan to 100FD

Hi Patrick,

That depends on the type of the NIC that you are using. Since you've mentioned quad port PCI card, you may use hpbase100conf. I could get information on the configuration files for different types of interfaces. They are:

hpfcgsc_lanconf: For HP GSC Fibre Channel I/F.
hpetherconf: For HP IEE 802.3/Ether I/F
hpbase100conf: For PCI Cards.
hpbasetconf: For HP-PB I/F cards.

Also, please note that cards that use btlan driver generally are PCI cards ( I've not seen other-wise yet.).

Hope this helps,

Anu Mathew