LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 09-29-2010, 02:49 PM   #1
the_pilgrim
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
How do I get the prefix length of an IPv6 address programatically in AIX?


Is there a way to get the prefix length of an IPv6 address programatically in AIX?

For example, we can read the prefix length of an IPv6 address in a Linux OS from /proc/net/if_inet6.

Or is there a way to getting it from the ioct system call and if so, how and which flag should I be using?

Any help is appreciated. Thanks in advance.
 
Old 09-30-2010, 01:39 PM   #2
DukeSSD
Member
 
Registered: Sep 2007
Posts: 90

Rep: Reputation: 20
Hmm, IPv6, not my forte but I know AIX pretty well, please post a detailed example of what you expect and also what you can get from Linux and I'll have a go at finding the answer for AIX.

It will probably come down to an "lsattr -El <device>" command in AIX...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I know if ipv6 is running or active on my AIX system. ohijames AIX 1 08-06-2010 01:11 AM
How to set IPv6 address on IPv6 router tlemons Linux - Networking 3 09-17-2007 01:25 PM
LXer: Network interface operations for IPv4 and IPv6 on AIX version 5.3 LXer Syndicated Linux News 0 12-05-2006 05:03 AM
How programatically in C do I get/set the default route or gateway address of eth0 jroberts5477 Linux - Networking 2 09-15-2006 01:11 PM
dhclient ip address disagrees length shpung Linux - Wireless Networking 2 02-27-2005 12:12 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration