Thanks in advance
Sagar..
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...
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
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..
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
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
So if this works better:
ifconfig en1 down detach
chdev -l en1 -a netaddr="" -a netmask=""
chdev -l en1 -a state=up
Paul Landay
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
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.
Paul Landay