Operating System - HP-UX
1838144 Members
4916 Online
110124 Solutions
New Discussion

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

 
SOLVED
Go to solution
Mike_108
Advisor

HP-UX 11.00 Fresh Installation: TCP/IP Problem

Hi all,

I just installed a fresh installation of HP-UX 11.00 on HP9000/800/L2000-44. all the required tcp/ip information normally required to connect to network already defined (IP address, subnetmask, default gateway)but the problem is, i cannot telnet into this server, cannot ftp out/in, and slow/late respond when pinging into this server. also when i ping other ip on the network from this server, the respond is so slow, just after 1000+ ms i i'll get the respond.
this problem seems like regarding to tcp/ip but i'm not sure what is the couse of this problem
can anybody help me to solve this problem

please ask me, if any info required to escalate this problem as i need to solve this problem A.S.A.P

thanks & regards
Mike
8 REPLIES 8
John Poff
Honored Contributor

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

Hi Mike,

The slow ping responses sound like maybe there is a speed and/or duplex mismatch between your lan card and the port on the network. I'd start by checking that.

The ftp and telnet problems may be related to the speed/duplex problem if you have one.

What model of lan card are you using in the box? Does 'netstat -rn' show that network card as being used for your IP address? Does 'lanscan' show the card in an 'UP' state? Does 'ioscan -fn' show the card as claimed, and what driver does it show for it?

JP
Ron Kinner
Honored Contributor

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

try running a linkloop test in verbose mode. (see the man entry in 1M) It will tell you how your LAN is doing. Also
lanadmin
lan
display

and look on the second page for errors.

Then look at netstat -rn to see if your routing looks good. Then netstat -r to see if the names look right. nslookup hostname to see if the DNS or /etc/hosts file is causing a problem. (any difference when you ping a hostname vs ping by ip address?)

netstat -s and look for massive retransmissions and other errors.

Is it listening for telnet?

netstat -an |grep 23
netstat -a |grep telnet

check /etc/service and /etc/inetd.conf

can you ping the default gateway?

Ron

kish_1
Valued Contributor

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

also you can check with following command, if you mutiple card is it configured right card .

ioscan -fnC lan

check the speed of the card
lanadmin -x lan 1

check the switch side, which is 10 or 100 mbs



share the power of the knowledge
T G Manikandan
Honored Contributor

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

Execute
#lanadmin

-->lan
-->display

check whether there are any errors or collisions.

check that the speed and the duplex settings are same at both ends(server and the switch).

Revert
Steven E. Protter
Exalted Contributor
Solution

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

I have had the following problem with cisco switches.

We configured the switch for Auto negotiate, any speed the box wanted.

The lanadmin -x 1 indicated full duplex 100 BaseT

The swtich indicated it was asked for 100 BaseT half duplex.

So, we hardcoded the switch to 100 BaseT full duplex, no autonegotiate.

And the machine came up next boot as 100 BaseT half duplex.

We had to hard code the setting for the lan card in the file...

/etc/rc.config.d/hpbtlanconf

Here are our settings so you have an example.


HP_BTLAN_INTERFACE_NAME[0]=lan0
HP_BTLAN_STATION_ADDRESS[0]=
HP_BTLAN_SPEED[0]=10HD
HP_BTLAN_INTERFACE_NAME[1]=lan1
HP_BTLAN_STATION_ADDRESS[1]=
HP_BTLAN_SPEED[1]=100FD


You need to work out these issues with network administration to eliminate this as a possible cause of your problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mike_108
Advisor

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

Hi all,

first of all, i would like to thanks to all of you that involve in solving this problem, and especially for steven, yeap..i'm having the same problem as your's. your solution really solve my problem. also for everybody...thanks for all of your effort.

the problem is because of "/etc/rc.config.d/hpbase100conf" is not defined bye the exact interface, station address & connection speed

the setting is;

HP_BASE100_INTERFACE_NAME[0]=lan0
HP_BASE100_STATION_ADDRESS[0]=0x001083FAC519
HP_BASE100_SPEED[0]=AUTO_ON

instead of

HP_BASE100_INTERFACE_NAME[0]=
HP_BASE100_STATION_ADDRESS[0]=
HP_BASE100_SPEED[0]=

before this.

so now my problem was solve and i can work happily...

thanks & regards

Mike
Patrick Wallek
Honored Contributor

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

YOu don't really need to define the station address in the file. If that field is empty then the MAC address from the card will be used.

I would advise to take that out of the config file. If you ever have to change the NIC, which would have a different MAC address, having the address in the config file could cause problems.

I would make the file look like:

HP_BASE100_INTERFACE_NAME[0]=lan0
HP_BASE100_STATION_ADDRESS[0]=
HP_BASE100_SPEED[0]=AUTO_ON

Ron Kinner
Honored Contributor

Re: HP-UX 11.00 Fresh Installation: TCP/IP Problem

Just a note for Steve,

Auto Negotiate only works if both sides are set to auto negotiate (and if the cables are certains lengths). If one side is set to a fixed full duplex then the auto negotiate standard says to set the auto end to half duplex. Don't ask me why but that's the way the fool thing reads. So if you set one side to FULL you have to set the other side to FULL to or you will have an auto mismatch.

http://www.cisco.com/univercd/cc/td/doc/product/lan/c2900xl/29_35xp/scg/kitrbl.htm


Ron