1845768 Members
4093 Online
110249 Solutions
New Discussion

ip address

 
Manuales
Super Advisor

ip address

Hi ..
i have configured 2 ip address a and b.
i commented ip address "b"

but there is an icon configured to access to the server through b ip address and it is accessing to the server

what do i have to coment into the system ?

if i run ifconfig command does not appear the ip address "b", what other thing i have to check to do not let access to the applications through ip address "b"?

thanks in advance.
Regards
12 REPLIES 12
Manuales
Super Advisor

Re: ip address

if i ping "b" works??'
why??? if i commented it into hosts file??

please help.
Torsten.
Acclaimed Contributor

Re: ip address

If you comment a line in /etc/hosts, you will only disable name resolution under some circumstances.

ping to the IP will work.


What do you want to do? Disable the NIC?

You can do this manually (modify the netconf file and bring down the NIC) or use SAM.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Manuales
Super Advisor

Re: ip address

i do not want that any application access tothe system through ip address "b" ...

i saw netconf file and "b" ip address is not configured there ...

if i access to that server using "b" ip adrees using telnet comand, it works

why?? if i commented it into hosts file and it is not configured ...

why??
Torsten.
Acclaimed Contributor

Re: ip address

Do you have a cluster node?

Anyway, first list the LAN devices:

# lanscan

now check the config:

# ifconfig lan0
# ifconfig lan1

and so on ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Manuales
Super Advisor

Re: ip address

i run lanscan and appeared:
10/4/4 0x080009C916ED 1 UP lan1 DOWN 4 FDDI Yes 191
10/16/4 0x080009C926E2 3 UP lan3 UP 5 FDDI Yes 191
10/4/8 0x00108304AB29 2 UP lan2 UP 6 ETHER Yes 115
10/16/8 0x00108304AB2A 4 UP lan4 UP 7 ETHER Yes 115
10/12/6 0x0060B0837A0D 0 UP lan0 DOWN 8 ETHER Yes 52

i run ifconfig lan02, lan03 and lan04 and anyone of them has configured the "b" ip address ?

whaat other thing i have to check?

i think this was configured as cluster ... in the past and the configuration was not deleted

what do i have to check?
Manuales
Super Advisor

Re: ip address

talking about cluster and nodes
where are the nodes configured?
i run cmviewcl and is showed:
PACKAGE STATUS STATE PKG_SWITCH NODE

probably in the NODE is configured that ip adress ....
Mel Burslan
Honored Contributor

Re: ip address

run this command :

netstat -in

do you see the address "b" in the listed IP addresses ? If so, which interface is it assigned to ? Actually post the output here for clear picture of your lan mapping
________________________________
UNIX because I majored in cryptology...
Manuales
Super Advisor

Re: ip address

YES !!! IT IS CONFIGURED THERE !!!
Look at where says "b"

server1:/usr/sbin->netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
ni0* 0 none none 0 0 0 0 0
ni1* 0 none none 0 0 0 0 0
lo0 4608 127 127.0.0.1 5467251 0 5467163 0 0
lan1* 4352 none none 1609794 0 3069411 0 0
lan3 4352 x.x.x.x 10.1.1.7 96214878 0 201142033 0 0
lan3 4352 x.x.x.x. 10.1.1.2 96214878 0 201142033 0 0
lan2 1500 18.1 18.1.1.2 6528809 0 1459557 58 0
lan4 1500 159.x,x.0 x.x.x.a 9172586 0 3920681 58 0
lan4 1500 159.x.x.0 x.x.x.b 9172586 0 3920681 58 0
lan0* 1500 12 12.1.1.1 0 0 0 0 0
sapp01:/usr/sbin->ifconfig lan4
lan4: flags=863
inet x.x.x.b netmask fffffc00 broadcast 159.223.91.255
server1:/usr/sbin->

do i have shutdown and after that start up the interface?
Manuales
Super Advisor

Re: ip address

there are 2 lan4 for iip address "a" and ip address "b"

lan4 1500 159.x,x.0 x.x.x.a 9172586 0 3920681 58 0
lan4 1500 159.x.x.0 x.x.x.b 9172586 0 3920681 58 0

why happened that??
is that correct?

when i arrived to this server, it has already done .. :(

what is next step?
Manuales
Super Advisor

Re: ip address

THIS Server is going to be moved to other site ...

what do i have to do to configure it the same again?

please let me know

it is related to "cluster" configuration?

Manuales
Super Advisor

Re: ip address

please,help, i want understadn how the ip address "b" was configured as same "a" using lan4 ....
TTr
Honored Contributor

Re: ip address

Judging from the ni0, ni1 lines in the "netstat -in" output, you have a HP-UX 10.20 or earlier. What version is it?

Check /etc/rc.config.d/netconf (HP-UX 10.20) to find any IP configuration.