1834450 Members
2278 Online
110067 Solutions
New Discussion

Re: network problem

 
Fadia Almarei
Super Advisor

network problem

Dear All
i have HP-UX 11.0 server i have three network cards on it i configure one of the network cards with IP on the DMZ using sam and again using set_parms initial command,when i do a restart to the server the configuration for the network removed from sam and when i do ifconfig to this card nothing found , i check the ifconfig file the configuration is correct on it, one thing through the start of the system it stuck on the NFS server start until i do break and then every thing goes correct,kindly a deeply configuration.
fadia.marei
13 REPLIES 13
Slawomir Gora
Honored Contributor

Re: network problem

Hi,
check if you have correct entries in files:

1. /etc/rc.config.d/netconf
2. /etc/hosts

NSF usualy hangs if something is wrong with name resolution.
Pradeep_3
Frequent Advisor

Re: network problem

When you configure lan card through sam ,
after configuration check whether its entry
gets generated in /etc/rc.config.d/netconf
file for that lan card.

Fadia Almarei
Super Advisor

Re: network problem

there are correct in the /etc/rc.config.d/netconf and on the /etc/hosts.
fadia.marei
Slawomir Gora
Honored Contributor

Re: network problem

Hi,
if you don't use NFS you can modify config file /etc/rc.config.d/nfsconf by setting:
NFS_CLIENT=0
NFS_SERVER=0

But I think that you have to carefully look at your network configuration and name resolution (/etc/resolv.conf, /etc/nsswitch.conf) - somethink is not OK.

You can verify network startup scripts by command:
/sbin/init.d/net start

Check /etc/rc.log - maby there will be some errors.
Fadia Almarei
Super Advisor

Re: network problem

this is the error i have in the /etc/rc.log
"ERROR: lan0 interface: ifconfig: ioctl (SIOCSIFNETMASK): bad value
ERROR: lan1 interface: ifconfig: ioctl (SIOCSIFNETMASK): bad value
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
add net default: gateway 212.14.224.6: Network is unreachable
"/sbin/rc2.d/S340net start" FAILED

Start name server daemon
Output from "/sbin/rc2.d/S370named start":
fadia.marei
Joseph Loo
Honored Contributor

Re: network problem

hi,

r u on igelan driver for the network device? or r u on ATM card?

regards.
what you do not see does not mean you should not believe
Fadia Almarei
Super Advisor

Re: network problem

i do not understand what do you mean
fadia.marei
Muthukumar_5
Honored Contributor

Re: network problem

May be the problem with startup script of /sbin/rc2.d/S340net. Post that script.

hth.
Easy to suggest when don't know about the problem!
Joseph Loo
Honored Contributor

Re: network problem

hi,

lan0 and lan1 error seems to point to subnet mask checking is disable, to confirm:

# ndd -get /dev/ip ip_check_subnet_addr

also, what is the ARPA transport patch in the server:

# swlist -l patch|grep -i arpa

refer to this doc for more info:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062905534

regards.
what you do not see does not mean you should not believe
Fadia Almarei
Super Advisor

Re: network problem

# swlist -l patch| grep -i arpa
# PHNE_18708 1.0 cumulative ARPA Transport
patch
# PHNE_19375 1.0 cumulative ARPA Transport
patch
fadia.marei
Fadia Almarei
Super Advisor

Re: network problem

the attached file for the S340net file
fadia.marei
Roland Piette
Regular Advisor

Re: network problem

Hi Fadia,

One thing also to control is the parameter contains in the lan interface files. There is one file in the /etc/rc.config.d directory for each type of NIC (Gigabit Eth, 100BT/Gigabit, Ethernet interface, ...).

These files are used to configure some parameter of the NIC and they are use by script in the rc2.d during boot phases. A lan card must be referenced in only one file.

You can control what happen in the boot sequence when reading /etc/rc.log file.

Look at line after network tracing and logging daemon.

Line should begin with Configure HP interfaces and followed by a line wich begin Output from /sbin/rc2.d/S30......

Regards,
Roland
Mel Burslan
Honored Contributor

Re: network problem

Could you please post the section of /etc/rc.config.d/netconf file, which looks like this :

INTERFACE_NAME[0]="lan1"
IP_ADDRESS[0]="xxx.xxx.xxx.xxx"
SUBNET_MASK[0]="yyy.yyy.yyy.yyy"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

for both lan1 and lan2 ?

Modification by sam sometimes does strange things. Even better, please attach the whole file if you don't mind.
________________________________
UNIX because I majored in cryptology...