Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: IPv6 validation

  1. #1
    Member
    Join Date
    Aug 2009
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question IPv6 validation

    Is the any inbuilt functionality is available to validate IPv6 addresses( i.e., reserved by IETF ) in java.Please do me the favor.

    List of IP addresses are,

    IPv6 Prefix Allocation Reference Note
    0000::/8 Reserved by IETF [RFC4291] [1][5]
    0100::/8 Reserved by IETF [RFC4291]
    0200::/7 Reserved by IETF [RFC4048] [2]
    0400::/6 Reserved by IETF [RFC4291]
    0800::/5 Reserved by IETF [RFC4291]
    1000::/4 Reserved by IETF [RFC4291]
    2000::/3 Global Unicast [RFC4291] [3]
    4000::/3 Reserved by IETF [RFC4291]
    6000::/3 Reserved by IETF [RFC4291]
    8000::/3 Reserved by IETF [RFC4291]
    A000::/3 Reserved by IETF [RFC4291]
    C000::/3 Reserved by IETF [RFC4291]
    E000::/4 Reserved by IETF [RFC4291]
    F000::/5 Reserved by IETF [RFC4291]
    F800::/6 Reserved by IETF [RFC4291]
    FC00::/7 Unique Local Unicast[RFC4193]
    FE00::/9 Reserved by IETF [RFC4291]


  2. #2
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: IPv6 validation

    How about.

    IPAddressUtil.isIPv6LiteralAddress("some address")

    // Json

Similar Threads

  1. Input Validation
    By nic in forum AWT / Java Swing
    Replies: 4
    Last Post: November 18th, 2009, 10:54 AM
  2. Problems with If validation
    By websey in forum Loops & Control Statements
    Replies: 1
    Last Post: November 18th, 2009, 09:43 AM