Operating System - HP-UX
1833770 Members
2449 Online
110063 Solutions
New Discussion

Two IPs on on NIC --> CDE refuses to work

 
SOLVED
Go to solution
Juuso Siniketo
Advisor

Two IPs on on NIC --> CDE refuses to work

Hi,

I have configured two IP?s on one NIC(lan0:0 and lan0:1) and the addresses belong to different subnets.

Problem is that CDE won?t work anymore. When I try to login the screen goes blank and pops me right back to the login screen.

The configuration works fine with CDE if both addresses belong to the same subnet.
I?m running HP-UX 11.00 on C3600.

Remember to rebel against authorities, kids!
6 REPLIES 6
R.Suresh
Frequent Advisor

Re: Two IPs on on NIC --> CDE refuses to work

Hi,

It can be due to the Hostname conflict.

Please check your /etc/hosts &

/etc/rc.config.d/netconf

Better run
set_parms initial
give the host & ip details once again.
restart the system, it should work.

Thanks
R.Suresh.
PDLS
Stefan Farrelly
Honored Contributor
Solution

Re: Two IPs on on NIC --> CDE refuses to work


This is a know problem with HP-UX, trying to run 2 IPs on the same card but to different subnets. Routing gets confused and it just doesnt work at present (problem with HP's TCP stack). Same subnet is ok. HP will be devloping a fix for this in the future but for now your out of luck. This was discussed in detail in another question a while back - do a search for it and you will see other replies. Apparantly it works on a Sun, but not on HP!
Im from Palmerston North, New Zealand, but somehow ended up in London...
Alex Glennie
Honored Contributor

Re: Two IPs on on NIC --> CDE refuses to work

I'm not sure if this is supported by HP or the other members of COSE who ship CDE. I wouldn't be at all surprised of the results you describe ..... however it doesn't necessarily mean it won't work bearing in mind the results from the 2 IP's on the same subnet and from the sound of it the Xserver and dtlogin have appeared ?

You may get info from the following which may help ?

dr_dt (CDE diagnotsc), $HOME/.dt/startlog (users CDE startup), /var/dt/Xerrors (Xserver log) ...you can get more detailed info by adding set -x in .dtprofile for the startlog) or if you choose use the following to debug dtlogin :

edit /usr/dt/config/dtrc.d/90_dtlogin_st
# VL_ARGS=""
VL_ARGS="-debug 9"
If [ -x "$DTLOGIN" ]
then
# exec $DTLOGIN $VL_ARGS ......dev/null ....
exec $DTLOGIN $VL_ARGS /tmp/dtlogin.log 2>&1
else

then restart dtlogin parent process
Anthony Goonetilleke
Esteemed Contributor

Re: Two IPs on on NIC --> CDE refuses to work

Yes there is definitely a problem with routing logical interfaces on different subnets, it has something to do with routing the same MAC address across itself have a look at DOC ID W3594854 it basically says you cannot do it, although I have done this with two seperate network cards there is no problem
Minimum effort maximum output!
Juuso Siniketo
Advisor

Re: Two IPs on on NIC --> CDE refuses to work

Ok, thanks for everybody. Anyway I thought to mention that it?s possible to use such a configration (2 IPs / 2 subnets / 1 nic) with CDE if you make the necessary network modifications when CDE is already running.. Just don?t exit or kill it ;)
Remember to rebel against authorities, kids!
Mike Stroyan
Honored Contributor

Re: Two IPs on on NIC --> CDE refuses to work

Two IPs on one NIC goes beyond what this actually refers to, but it still might help-
Apply patch PHSS_20864. That is the current successor to patch PHSS_20716 which includes the fix-

1. Users are unable to login to CDE on the local console under HP-UX 11.0 when multiple network cards are installed.