Unix Technical Forum

HOW TO DISABLE IPv4 ON HP

This is a discussion on HOW TO DISABLE IPv4 ON HP within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> HI, I have set up my own IPv6 lab in my office . It consits of a solaris , ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:52 AM
sagar
 
Posts: n/a
Default HOW TO DISABLE IPv4 ON HP

HI,
I have set up my own IPv6 lab in my office . It consits of a
solaris , linux , AIX and HP machine. Presently they are configured
for both IPv4 and v6 but I want to have only IPv6 on those
machines . So can any one help me in disabling IPv4 on HP and even on
AIX.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:53 AM
Rick Jones
 
Posts: n/a
Default Re: HOW TO DISABLE IPv4 ON HP

sagar <mvksagar@gmail.com> wrote:
> HI,
> I have set up my own IPv6 lab in my office . It consits of a
> solaris , linux , AIX and HP machine. Presently they are configured
> for both IPv4 and v6 but I want to have only IPv6 on those
> machines . So can any one help me in disabling IPv4 on HP and even on
> AIX.


Starting with an interface which has both IPv4 and IPv6 addresses
enabled, from the command line one could do:

# ifconfig lan1
lan1: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 192.168.1.123 netmask ffffff00 broadcast 192.168.1.255
lan1: flags=4800841<UP,RUNNING,MULTICAST,PRIVATE,ONLINK>
inet6 fe80::230:6eff:fe4c:1c63 prefix 10
# ifconfig lan1 0.0.0.0
# ifconfig lan1
lan1: flags=1842<BROADCAST,RUNNING,MULTICAST,CKO>
inet 0.0.0.0 netmask ffffffff
lan1: flags=4800841<UP,RUNNING,MULTICAST,PRIVATE,ONLINK>
inet6 fe80::230:6eff:fe4c:1c63 prefix 10
# ifconfig lan1 unplumb

(or ifconfig lan1 inet unplumb)

# ifconfig lan1
lan1: flags=4800841<UP,RUNNING,MULTICAST,PRIVATE,ONLINK>
inet6 fe80::230:6eff:fe4c:1c63 prefix 10

and then to disable the IPv6:

# ifconfig lan1 inet6 unplumb
# ifconfig lan1
ifconfig: no such interface

I'm not entirely sure what the syntax would be in the
/etc/rc.config.d/netconf file. Perhaps the "sam" command is smart
enough. There may be more in the manpage for ifconfig.

You should make sure that all the applications you wish to run are
IPv6 aware of course

rick jones
--
Process shall set you free from the need for rational thought.
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:00 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com