1834215 Members
2363 Online
110066 Solutions
New Discussion

Network Setup Problems

 
vipa
Occasional Advisor

Network Setup Problems

Thought I had but not so. Still trying to setup this E9000 on a home network with a router. Can't get the host, ip address and gateway to work together. Tried /etc/set_parms initial but can't get the right combination. I do remember seeing 127.0.0.1 as an ip address as local host, 192.168.0.1 as xxx(remote system name) HP9000 host and I think 192.168.1.2 as gateway. Telestar did have 192.168.1.2 as default host.Help
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Network Setup Problems

lanscan

see if you have any working lan cards.

then try based on the lan that comes up.

ifcfg lan0 192.168.0.2 netmask 255.255.255.0

See if then, you can ping the gateway.

These settings can be manipulated in the /etc/rc.config.d/netconf file

You did not mention what verions of HP-UX you were running.

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
vipa
Occasional Advisor

Re: Network Setup Problems

sorry, B10.01 E9000/806
lanscan = 60/6*??????????????*0*UP*lan0*UP*4*ETHER*Yrs*52.
ran ifconfig command & it reads;
lan0: flags=863
inet 192.168.0.2 netmask ffffff00 broadcast 192.168.0.255

Steven E. Protter
Exalted Contributor

Re: Network Setup Problems

1) I mean ifconfig

I vegged out due to issues in my own shop.

2) Your ifconfig command shows lan0 is up and running.

check cabling and see about pinging the gateway ip

ping 192.168.0.1

Check /etc/rc.config.d/netconf

see that the netmask is 255.255.255.0 and is the same as the gateway/router

This netmask means that 192.168.0 is the network. If the gateway/router is on network 192.168.1 Then that explains the problem.

In this masking scenario 1 is the host of the router 2 is host of the hp box.

The networks must be the same if the two are going to properly talk to each other.

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
vipa
Occasional Advisor

Re: Network Setup Problems

Cabling seems ok. ping 192.168.0.1=ok,ping 127.0.0.1=ok,ping 192.168.1=ok,ping 192.168.0.2=no good.
/etc/rc.config.d/netconf says execute permission denied. Logged in as root.
Internet address of lan0 on HP box says 192.168.1.2, can't ping.Subnet Mask = 255.255.255.0 Default gateway = 192.168.1.2