1834261 Members
68093 Online
110066 Solutions
New Discussion

Re: network problem

 
Rene_17
Regular Advisor

network problem

Befor i executed the set_parms initial command the ping is working. After the execution the ping, ssh is not working any more !

iff2:/ # cat /etc/rc.config.d/netconf

HOSTNAME="iff2"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=138.232.81.3
SUBNET_MASK[0]=255.255.255.192
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=138.232.81.62
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""

GATED=0
GATED_ARGS=""

RDPD=0

RARP=0

I think it is not the netconf file, because on a running server it has the same configuration.

iff2:/ # ifconfig lan0
lan0: flags=843
inet 138.232.81.3 netmask ffffffc0 broadcast 138.232.81.63
iff2:/ # netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
138.232.81.3 138.232.81.3 UH 0 lan0 4136
138.232.81.0 138.232.81.3 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 138.232.81.62 UG 0 lan0 0

I cannot delete any route !
(I read the manpage of route)
route delete 138.232.81.3 138.232.81.3
route delete -f 138.232.81.3

I have ux11i !
The netmask is ok, because the netmask defines how many ip addresses can be in that ip class.
This net is an c-class net.

For your information:

Server iff2 ip: 138.232.81.3 (net don??t work)
Server iff0 ip: 138.232.81.1
Server iff1 ip: 138.232.81.2
lokal gateway: 138.232.81.62
Broadcast: 138.232.81.63
Netmask: 255.255.255.192

Befor I use set_parms initial command the ping was working at the lokal net (138.232.81.), but not in the 138.232. net. So I wanted to set the gateway in netconf file. Someone said i should use set_parms initial. After that the ping command doesn??work any more !
Also the ssh command. The networkcard is up !



9 REPLIES 9
T G Manikandan
Honored Contributor

Re: network problem

No, two networks cards cannot be on the same subnet.

The problem of yours is that.
If you are to use same subnet ip's you should have the APA software.

Remove the ip's of card iff1 and iff2 to some other ip-address other than the 138.232.81 subnet.

Then things should work fine.


T G Manikandan
Honored Contributor

Re: network problem

No, two networks cards cannot be on the same subnet.

The problem of yours is that.
If you are to use same subnet ip's you should have the APA software.

Remove the ip's of card iff1 and iff2 to some other ip-address other than the 138.232.81 subnet.

Then things should work fine.


Rene_17
Regular Advisor

Re: network problem

iff2 is the server which i work on.
this server has only one networkcard !!!
iff1 and iff0 are other servers in the workgroup iff !
T G Manikandan
Honored Contributor

Re: network problem

sorry,I had interpreted wrongly!
Rene_17
Regular Advisor

Re: network problem

in the set_parms initial you will be asked for an nis server ! I added the domain of our university (uibk.ac.at) and the localhost ip address, because i don??t know an nis server in our net ! Could this be a problem ?

I only executed the set_parms command and after the configuration the ping don??t work to localhost and other hosts or ip??s !
normally when the networkcard is up the ping to localhost must work ?
I login to the server with exceed to work with !

I have no idea why i get no access to the network !
Mark Grant
Honored Contributor

Re: network problem

Seems there are some that think set_parms in a really bad utility and can seriously break config files.

Have a look at some of the comments in this thread

http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0x159393e260b0d611abdb0090277a778c,00.html

It looks like you might need to check every config file, even inetd.sec
Never preceed any demonstration with anything more predictive than "watch this"
Rene_17
Regular Advisor

Re: network problem

suddenly it works ??????
i can ping to all
i think it works !!!!
yeah
Ron Kinner
Honored Contributor

Re: network problem

Rene,

You may be running into the ndd check subnet problem. 255.255.255.192 is an illegal subnet per a now obsolete RFC which 11.0 started enforcing just as it became obsolete. Don't know about 11i but you can check:

ndd -get /dev/ip ip_check_subnet_addr

If it comes back with a 1 then you can expect problems with it.

ndd -get /dev/ip ip_check_subnet_addr 0

to fix the problem and also edit /etc/rc.config.d/nddconf to add

TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0

While you are at it you might want to turn off dead gateway detection which can also cause problems if the router (gateway) does not want to respond to pings.

TRANSPORT_NAME[1]=ip
NDD_NAME[1]=ip_ire_gw_probe
NDD_VALUE[1]=0

ndd -get /dev/ip ip_ire_gw_probe 0

This last needs the latest ndd patch on an 11. Again I don't know about 11i.

Ron