Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to Disable IPv4 on AIX

302 views
Skip to first unread message

sagar

unread,
Mar 5, 2007, 12:14:49 PM3/5/07
to
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 AIX and even on
HP.

Thanks in advance
Sagar..

Rick Jones

unread,
Mar 5, 2007, 3:13:56 PM3/5/07
to

Presumeably, if one didn't assign an IPv4 address to an interface...

rick jones
fwiw, the HP-UX folks can be found in comp.sys.hp.hpux
--
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...

Paul Landay

unread,
Mar 5, 2007, 4:39:22 PM3/5/07
to
Rick Jones wrote:
> sagar <mvks...@gmail.com> wrote:
>> 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 AIX and even on HP.
>
> Presumeably, if one didn't assign an IPv4 address to an interface...

And if you already have an IPv4 address assigned,
try this to delete it and leave the IPv6 address alone:
ifconfig enX down
chdev -l enX -a netaddr=""
chdev -l enX -a state=up
becuase using the smit panel for removing an IPv4 interface
does 'rmdev -l enX -d' which wipes out the IPv6 addr also.

Paul Landay

sagar

unread,
Mar 6, 2007, 3:37:52 AM3/6/07
to
On Mar 6, 2:39 am, Paul Landay <lan...@us.ibm.com> wrote:
> Rick Jones wrote:

Thanks for the reply....

Can u also tell me the process of getting back my IPv4 address ( as
they are statically assignes IP addresses ) after I finish IPv6
stuff..

Paul Landay

unread,
Mar 6, 2007, 6:16:10 AM3/6/07
to sagar
sagar wrote:
> Can u also tell me the process of getting back my IPv4 address ( as
> they are statically assignes IP addresses ) after I finish IPv6
> stuff..

To add IPv4 back, I would use the smit panels:
smit
Communications Applications and Services
TCP/IP
Minimum Configuration (I suggest running this only once)
or
Further Configuration
Network Interfaces
Network Interface Selection
Change / Show Characteristics

Paul Landay

sagar

unread,
Mar 6, 2007, 6:40:52 AM3/6/07
to
On Mar 6, 4:16 pm, Paul Landay <lan...@us.ibm.com> wrote:
> sagar wrote:
> > Can u also tell me the process of getting back myIPv4address ( as

> > they are statically assignes IP addresses ) after I finish IPv6
> > stuff..
>
> To addIPv4back, I would use the smit panels:

> smit
> Communications Applications and Services
> TCP/IP
> Minimum Configuration (I suggest running this only once)
> or
> Further Configuration
> Network Interfaces
> Network Interface Selection
> Change / Show Characteristics
>
> Paul Landay

HI,
I tried
ifconfig en1 down
chdev -l en1 -a netaddr=""
chdev -l en1 -a state=up
but still my en1 interface have an IPv4 address..

the ifconfig en1 command shows :
en1:
flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,
64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>
inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255
inet6 3ffe::bbbb:209:6bff:fe6b:7e97/64
inet6 fe80::209:6bff:fe6b:7e97/64
tcp_sendspace 131072 tcp_recvspace 65536

I want en1 to be only IPv6 ..Can u please help me out in this..

Thanks in advance...
Sagar

Paul Landay

unread,
Mar 6, 2007, 7:18:02 AM3/6/07
to sagar
sagar wrote:

So if this works better:
ifconfig en1 down detach
chdev -l en1 -a netaddr="" -a netmask=""


chdev -l en1 -a state=up

Paul Landay

sagar

unread,
Mar 6, 2007, 7:32:40 AM3/6/07
to
> > flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT­,

> > 64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>
> > inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255
> > inet6 3ffe::bbbb:209:6bff:fe6b:7e97/64
> > inet6 fe80::209:6bff:fe6b:7e97/64
> > tcp_sendspace 131072 tcp_recvspace 65536
>
> > I want en1 to be only IPv6 ..Can u please help me out in this..
>
> > Thanks in advance...
> > Sagar
>
> So if this works better:
> ifconfig en1 down detach
> chdev -l en1 -a netaddr="" -a netmask=""
> chdev -l en1 -a state=up
>
> Paul Landay- Hide quoted text -
>
> - Show quoted text -

Hi,
I have tried the above commands ... with that i got my IPv4 as
well as IPv6 stuff deleted...
my ifconfig en1 command gave :

en1:
flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,
64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>
inet 0.0.0.0 netmask 0x0 broadcast 10.0.1.255
tcp_sendspace 131072 tcp_recvspace 65536

I even lost my IPv6 address.......
I want my IPv6 address to remain...

Thanks in advance
Sagar

Paul Landay

unread,
Mar 6, 2007, 7:46:55 AM3/6/07
to sagar
sagar wrote:

How had you assigned the IPv6 address to begin with?
Via the smit panels, which makes the change to the ODM
database as well as to the running system, or via the
ifconfig command which only makes the change to the
running system? If you did the latter, then you have
to run those ifconfig commands again (and again after
each reboot). To make the IPv6 definitions permanent, use:


smit
Communications Applications and Services
TCP/IP

IPv6 Configuration
IPv6 Network Interfaces

Paul Landay

sagar

unread,
Mar 6, 2007, 9:07:37 AM3/6/07
to
> >>>flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROU­PRT­,

> >>>64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>
> >>> inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255
> >>> inet6 3ffe::bbbb:209:6bff:fe6b:7e97/64
> >>> inet6 fe80::209:6bff:fe6b:7e97/64
> >>> tcp_sendspace 131072 tcp_recvspace 65536
>
> >>>I want en1 to be only IPv6 ..Can u please help me out in this..
>
> >>>Thanks in advance...
> >>>Sagar
>
> >>So if this works better:
> >> ifconfig en1 down detach
> >> chdev -l en1 -a netaddr="" -a netmask=""
> >> chdev -l en1 -a state=up
>
> >>Paul Landay- Hide quoted text -
>
> >>- Show quoted text -
>
> > Hi,
> > I have tried the above commands ... with that i got my IPv4 as
> > well as IPv6 stuff deleted...
> > my ifconfig en1 command gave :
>
> > en1:
> > flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT­,

> > 64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>
> > inet 0.0.0.0 netmask 0x0 broadcast 10.0.1.255
> > tcp_sendspace 131072 tcp_recvspace 65536
>
> > I even lost my IPv6 address.......
> > I want my IPv6 address to remain...
>
> > Thanks in advance
> > Sagar
>
> How had you assigned the IPv6 address to begin with?
> Via the smit panels, which makes the change to the ODM
> database as well as to the running system, or via the
> ifconfig command which only makes the change to the
> running system? If you did the latter, then you have
> to run those ifconfig commands again (and again after
> each reboot). To make the IPv6 definitions permanent, use:
> smit
> Communications Applications and Services
> TCP/IP
> IPv6 Configuration
> IPv6 Network Interfaces
>
> Paul Landay- Hide quoted text -
>
> - Show quoted text -

Hi,
I assignes the address by using the autoconf 6 command.....

Paul Landay

unread,
Mar 6, 2007, 9:52:57 AM3/6/07
to sagar
sagar wrote:
>>How had you assigned the IPv6 address to begin with?
>>Via the smit panels, which makes the change to the ODM
>>database as well as to the running system, or via the
>>ifconfig command which only makes the change to the
>>running system? If you did the latter, then you have
>>to run those ifconfig commands again (and again after
>>each reboot). To make the IPv6 definitions permanent, use:
>> smit
>> Communications Applications and Services
>> TCP/IP
>> IPv6 Configuration
>> IPv6 Network Interfaces
>>
>>Paul Landay- Hide quoted text -
>>
>>- Show quoted text -
>
>
> Hi,
> I assignes the address by using the autoconf 6 command.....
>

You mean 'autoconf6', not 'autoconf 6'?. The latter is a tool
which helps build packages from source and it is not part of the
base AIX system. The former is a method of configuring IPv6
in AIX. The 'man autoconf6' says it is used at boot time and
refers to ifconfig, so it only does the IPv6 config for the
currently running system. That means it is subject to the info
getting lost by the 'ifconfig ... detach' command.

Now that you have an interface with no IP config, either
re-run autoconf6 (and re-run it on each reboot) or use the
smit panels to reassign the IPv6 config permanently.

http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.commadmn/doc/commadmndita/HT_commadmn_upgrade_to_ipv6.htm

Paul Landay

0 new messages