Operating System - HP-UX
1832577 Members
3597 Online
110043 Solutions
New Discussion

Re: How to assign the Link-Local Address to HP-UX-11i

 
veeresh_1
Occasional Contributor

How to assign the Link-Local Address to HP-UX-11i

When HP-UX11i with IPv6 patch boots up it will get one Link-Local Address by default.I have one rquirement I need add another Link -Local Address to that Interface.I tried to add new link local Address ,It is giving warning saying as Auto bit is Set.
Could you please tell me How can I add new Link-Local Address on that Interface Or Is there any way to disable Universal/local bit?
3 REPLIES 3
Todd Whitcher
Esteemed Contributor

Re: How to assign the Link-Local Address to HP-UX-11i

Veeresh,

The man page for ifconfig talks about adding link local addresses.

Looks like you can add secondary addresses like this.



Examples:
Stateless address autoconfiguration with link-local address
ifconfig lan0 inet6 up
Manual configuration for a primary interface with link-local address
ifconfig lan0 inet6 fe80::1 up
Manual configuration for a secondary interface with link-local address
ifconfig lan0:1 inet6 fe80::3 up
Manual configuration for a secondary interface with global address
ifconfig lan0:3 inet6 2222::4 up

Here is the pdf for the man pages, easier to read sometimes. Search on link local.

http://www.docs.hp.com/en/B2355-90841docs/B2355-90841docs.pdf

Other documentation for Ipv6:

http://www.docs.hp.com/en/netcom.html#IPv6

Hope that helps

Todd
veeresh_1
Occasional Contributor

Re: How to assign the Link-Local Address to HP-UX-11i

Todd Thanks for the reply.

If I add address like "ifconfig lan0 inet6 fe80::1 up" it is adding perfectlly.

But my probelm is I have three PC in LAN one is HP-UX, FreeBSD-5-2-1 and My Host.

HP-UX has IPv6 address as fe80::210:83ff:fe36:50ce prefix 10

and My Host has fe80::20b:dbff:fe66:8b4c

Can I change HP-UX link local address as My Host address ?

I read man page of ifconfig it says
"a manually assigned address for a primary interface must have the following
pattern: FE80::xMxx:xxxx:xxxx:xxxx where x is any hexadecimal digit, and M must be 0, 1, 4, 5, 8, 9, C,
or D."

In my case M bit is set. Is there any way to reset the M bit of the HP-UX so that I can add My Host address in to HP-UX.

Thanks
Veeresh
Todd Whitcher
Esteemed Contributor

Re: How to assign the Link-Local Address to HP-UX-11i

Hello,

I'm not sure but it looks like you can do this since you can add a secondary address and change your M bit to "0" which is what your PC is using.

HP-UX has IPv6 address as fe80::210:83ff:fe36:50ce prefix 10

and My Host has fe80::20b:dbff:fe66:8b4c

So :20b: Mbit=0

Check out chapter 6 of this manual.

http://www.docs.hp.com/en/5990-7278/ch06.html