How to disable ipv6 address autoconfiguration ???

I am trying to disable ipv6 stateless address autoconfiguration to implement what this document describes:
http://docs.sun.com/app/docs/doc/816-4554/6maoq01o3?a=view
There are several problems though:
1)The manual says that something must be put inside the hostname6.xxx file but then goes on to give the command as it should be given from the command line instead of the content of the file. The manual should provide some form of exapmle content for the file.
2)I go to /etc/inet/ndpd.conf and put "ifdefault StatelessAddrConf false" inside, then I pkill -HUP in.ndpd and finally I issue ifconfig eri0 inet6 token fe80::c/10. However nothing happens. The interface address remains the one generated through autoconfiguration.
Could someone that has knowledge of this subject provide any help?
Thanks very much,
Thanasis

Hi,
I have a same problem, and think we didn't understand the documentation.
Here is the link of the ndpd.conf configuration page:
http://docs.sun.com/app/docs/doc/816-4554/6maoq01qt?a=view#ipv6-ref-10
I think this is the right sintax:
if
Sets per-interface parameters. Use the following syntax:
if interface [variable-value]
Table 11�3 /etc/inet/ndpd.conf Interface Configuration Variables
StatelessAddrConf
True
Controls whether the node configures its IPv6 address through stateless address autoconfiguration. If False is declared in ndpd.conf, then the address must be manually configured. For more information, refer to How to Configure a User-Specified IPv6 Token.
I think the variable is this: StatelessAddrConf
if-variable-name StatelessAddrConf false
I think: if StatelessAddrConf false
But I found the 'false' parameter with uppercase and lowercase letter.
(It is not working for me!)
And I found another configuration file, what is include the rules of the address (/usr/sbin/ipaddrsel ).
Here is the link:
http://docs.sun.com/app/docs/doc/816-5166/6mbb1kq56?a=view
Maybe, I found the solution.
http://docs.sun.com/app/docs/doc/816-4554/6maoq01qt?a=view#ipv6-ref-10
You can creat a logical interface, and you can set the IP address of this interface.
Example 11�6 Adding a Logical IPv6 Interface With the -addif Option of the ifconfig Command
The following form of the ifconfig command creates the hme0:3 logical interface:
// this is teh example, and it is not perfect on Sol10
# ifconfig hme0 inet6 addif up
Created new logical interface hme0:3
This form of ifconfig verifies the creation of the new interface:
# ifconfig hme0:3 inet6
hme0:3: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
          inet6 inet6 fe80::203:baff:fe11:b321/10
Here is my solution:
ifconfig e1000g0 inet6 addif 1234:0000:0000:0000:0200:50FF:FE09:B980/10
ifconfig e1000g0:1 inet6 up
# ifconfig -a6
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
e1000g0: flags=2000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 fe80::20d:60ff:feee:aba8/10
ether 0:d:60:ee:ab:a8
e1000g0:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 1234::200:50ff:fe09:b980/10
I have special IP address, but I don't know that it is working or not.
If you have any idea, please write!
Br,
Sanyi

Similar Messages

  • How to disable IPv6 for loopback adapter (lo0)

    I was wondering if anyone knows how to disable IPv6 for the loopback (lo0) adpater. I know how to do it for other adapters using the Network preferences pane, but lo0 doesn't appear there...
    Thanks,
    - alan

    I need to temporary disable ipv6 address of lo0 (which by the way is not 127.0.0.1 but ::1) for testing development purpose..

  • How to disable IPV6 on localhost

    Someone known how to disable ipv6 on the lo0 interface ?

    I need to temporary disable ipv6 address of lo0 (which by the way is not 127.0.0.1 but ::1) for testing development purpose..

  • IPv6 address autoconfiguration vs static on SF302-08P

    I've just installed a 302-08P in my office so that we can get our VoIP trunks into our office, so my officemate and I can actually test
    the phones before we hand them out. (Can't do that easily with the 1 RJ-45 facilities gave us...)
    I noticed that I can not enable IPv6 address autoconfiguration for the management interface, as well as set a static IPv6 address.
    This seems wrong: I want the device to always AC an address: it makes bonjour and renumbering much easier. But,
    I want to give the device a static IP for purposes like management, DNS, etc.  If this unit failed, I'd replace it but it's address would not change.
    IPv6 hosts (which the management interface is) should be completely happy with having multiple addresses on an interface, not just
    having addresses from multiple prefixes.  What gives?

    houmles wrote:I found that I can't have two gateways on one interface, but until now there's no problem.
    I suspect it's a problem with that; I've noticed this problem as well.
    When trying to add multiple default gateways with iproute2 (ie, `ip r a default via xxx:xxx:xxx::xxxx`) it errors with the error you've mentioned. I'm not sure if this is a kernel bug, iproute2 bug, or not a bug at all.
    Having multiple default IPv4 gateways works fine.
    I believe netcfg doesn't check for an existing gateway and delete it first (or use `ip r r` instead or `ip r a`) before adding the one; but I haven't checked the code so I could be wrong.
    EDIT:
    OK, I couldn't resist looking at the code, and it indeed does a 'dumb' addition of the gateway:
    112 if [[ -n "$GATEWAY" ]]; then
    113 report_debug ethernet_iproute_up ip route add default via "$GATEWAY" dev "$INTERFACE"
    114 if ! ip route add default via "$GATEWAY" dev "$INTERFACE"; then
    115 report_iproute "Adding gateway $GATEWAY failed"
    116 fi
    117 fi
    I'm looking at making a patch now. Patch and bug report: https://bugs.archlinux.org/task/29480
    Last edited by fukawi2 (2012-04-16 01:00:09)

  • How to disable Network Address Translation

    how to disable Network Address Translation

    Hi KalaiArasu.K,
    As Chen V said, please tell us more detailed information about your requirement.
    In addition, please refer to the two following links to learn how to disable Network and computer from Explorer Navigation Pane:
    How to Add or Remove Network from the Windows 7 Navigation Pane
    http://www.sevenforums.com/tutorials/39699-network-add-remove-navigation-pane.html
    How to Remove “Computer” from Windows 7 Explorer Navigation Pane?
    http://www.askvg.com/how-to-remove-computer-from-windows-7-explorers-navigation-pane/
    Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information. What’s more, incorrectly editing the registry
    may severely damage your system. Before making changes to the registry, you should back up any valued data.
    For your infomation, plase refer to the following article to learn how to configure a Registry Item via GPO:
    Configure a Registry Item
    http://technet.microsoft.com/en-us/library/cc753092.aspx
    Regards,
    Lany Zhang

  • EA3500 Smart Wi Fi - How to disable IPV6 to address Parental Control Issue

    Hi
    I've been reading that parental controls does not work with IPV6.
    I would like to disable IPV6.
    How would I do that?
    P.S.: I noticed responses for EA4500 that there is a check box to disable the IPV6.  Very straight forward but my interface
    does not have the same layout of the GUI.  
    Thanks

    Hi petroski1,  the process of disabling IPv6 in your router depends if you’re using the Classic user interface or the Linksys Smart Wi-Fi. You may refer to this link, for instructions: http://kb.linksys.com/Linksys/ukp.aspx?pid=80&app=vw&vw=1&login=1&json=1&docid=bd520bcb07a6474596169...
    If you’re using the Classic one, select IPv6 under the Setup tab and just disable it. And if you’re also using the Linksys Smart WI-Fi, go to Connectivity, select Internet settings, click on IPv6 click edit and make sure to uncheck the enable box.

  • HT4667 How to disable IPv6 on MAC OS X Lion?

    Hi everyone,
    I am using Macbook Air OS X Lion. I have been facing slow internet browsing problem from quite a while now. I checked the forums and found that lot of people are facing the same problem. Also found that disabling IPv6 or setting it to manual mode will help fixing the issue. But another big challenge is how to do it. I tried setting it to manual which would need router address, IPv6 address and prefix length which is supposed to be collected from your ISP. Unfortunately Comcast hasnt implemented IPv6 yet so couldnt find that information. Also couldnt find the disable option as mentioned in one of the Apple article.
    So I am stuck with Macbook air with slow internet speed. If anybody could help, it would be much apprecaited.
    Thanks,
    SJ

    robughblah wrote:
    see https://answers.syr.edu/display/network/Disable+IPv6+on+Mac+Lion+and+Mountain+Li on
    This solved my problem.  Thanks

  • How to disable ipv6 mail in Server?

    I'm not doing ipv6 addressing on my server, and I'd prefer not to get the "No route to host" messages in the mail log for the v6 attempts.  I've turned off ipv6 addressing altogether with the "networksetup" command, and did the "usual" thing of setting inet_interfaces to ipv4 in the postfix config file, /Library/Server/Mail/Config/postfix/main.cf.  However, when I restart the mail service through the server control panel (or, presumably, on system restart), some part of server is clobbering my change, setting the value of inet_interfaces back to all, thus re-enabling ipv6.  You'd think that Server would notice that ipv6 is turned off and adjust itself accordingly, but no such luck, it seems.  Or have I missed something?  Is there any way to do this?  Thanks!

    What i would do is trace back the launch daemons. Usually these are under "/Library/LauchDaemons" or "/System/Library/LaunchDaemons".
    These plist files tell launchd how to launch certain applications. Usually they trigger shell scripts or a deamon directly. I don't have access to my server at the moment so i cannot look to see which daemon is causing this. Anyways i would search all of the files relating to the server functions and find which one is resetting your network interfaces.
    Now there is a possibilty that OS X uses ipv6 internally, and if so turning it off may cause problems. This is similar to how OS X requires good DNS resolution, because OS X uses it's own hostname to communicate with itself. If you have bad DNS resoltution it will slow to a crawl. Keep in mind Apple designed the new server app so that anyone could start a server, and not know anything about ipv6 or ipv4.

  • How to disable mac address filtering

    Hello I have a macbook pro. I am using a Westell 7500 wireless router and my hp photosmart 110 printer stopped working, saying that "MAC address filtering may be enabled on your wirelss router". Not sure how to dissble this and/or why it all of a sudden was enabled. Printer had worked perfectly for 2 months previously since installation of new wireless router/internet in our home. Any help is appreciated!

    You need to use AirPort Utility to change any of the AirPort Extreme's settings.
    However, like Bob Timmons said I don't believe the tech really knows what he is after, and is lost in the weeds regarding MAC Address Filtering.
    Perhaps you can ask for another technician who understands you are using an AirPort Extreme. Your Roku box should not require so much effort to configure.
    Have you read these instructions?
    http://support.roku.com/entries/244199-how-do-i-set-up-my-roku-player
    I don't have a Roku but it seems very similar to my Blu-Ray player. Account registration and setup is performed on a computer by going to the address www.roku.com/link in Step 6.
    It should not be necessary to change anything at all with your AirPort. Just make sure the Roku is within its wireless range.

  • How to disable my address book card changing my user picture

    So here are the facts:
    The Facebook app on my iPhone syncs Facebook friends' contact info (including photos) to my iCloud address book, including my own contact. My user profile on my Mac has been assigned a 'card' in my Address Book, the card being the contact (me) whose photo is synced with Facebook.
    I have now discovered that whatever I manually change my user photo to (Prefences > Users and Groups > My username > Photo) is always replaced by my Facebook profile picture, due to iCloud and everything being synced up.
    Therefore, the question which I think would solve my problem in the least distruptive way, is:
    How do I stop my Mac account being linked to a 'card' in my Address Book?
    I could then keep all my contacts photos, including my own, in my address book but still be able to manually set a user photo, as I would like to
    Any answers or better work-arounds would be appreciated.
    Lewis

    Bump?

  • How can I disable IPv6 EUI randomization with group policy?

    I need to turn off IPv6 EUI address randomization. It can be done in netsh (a few commands) or powershell (Set-NetIPv6Protocol -RandomizeIdentifiers Disabled).  How can I do this in group policy without scripting?

    Hi Jordan,
    Before going further, I hope that the suggestion provided by Martin can be helpful.
    It seems that we can't configure this setting via native policy.To configure IPv6 settings,
    we need to download ADMX files for IPv6. However, per the following article, the IPv6 settings that can be configured are:
    Enable all IPv6 components
    (Windows default)
    Disable all IPv6
    components (the setting you probably want)
    Disable 6to4
    Disable ISATAP
    Disable Teredo
    Disable Teredo and 6to4
    Disable all tunnel
    interfaces
    Disable all LAN and PPP
    interfaces
    Disable all LAN, PPP and tunnel
    interfaces
    Prefer IPv4 over IPv6
    How to Disable IPv6 through Group Policy
    http://social.technet.microsoft.com/wiki/contents/articles/5927.how-to-disable-ipv6-through-group-policy.aspx
    TechNetSubscriber Support
    If you are TechNetSubscription user and have any feedback on our support quality, please
    send your feedback here
    Best regards,
    Frank Shen
    Please read the question before marking things as answers.

  • How to prevent IPV6 entries in DNS from server End

    Hello,
    My concern is to stop the IPV6 DNS entries being added to the DNS , but the main goal is to prevent it from the server end instead of going and disabling the IPV6 entries on each client machine.
    I have gone through this article but my goal is to fix it from the server end
    http://social.technet.microsoft.com/Forums/en-US/cd1a87f0-caf3-498e-9a20-e728e474b626/how-to-prevent-ipv6-addresses-from-being-registered-in-dns-server?forum=winserverDS
    Looking forward for the reply.
    Muhammad Asif Server Administrator Linux/Windows

    Hi,
    You can use Group Policy to disable IPV6 on clients within your domain, assuming you have an Acgive Directory environment.
    There are ADM/ADMX templates that are actually doing this. You just have to import it on PolicyDefinition folder on one of your domain controller then configure a group opliy and link it to your structure.
    http://social.technet.microsoft.com/wiki/contents/articles/5927.how-to-disable-ipv6-through-group-policy.aspx
    Hope this help.
    Regards,
    Calin

  • Disable ipv6 from uboot

    How can I disable IPv6 in the kernel from uboot?  I am using a ZyXel NSA 320

    ewaller wrote:Moving to Other Architectures.  Unfortunately, U-boot is definitely in the realm of ARM.
    this article may give some clues.  It is not obvious how to pass command line parameters in U-Boot, but maybe you could do what you need in /etc/sysctl.d/40-ipv6.conf.  Or, you could build a custom kernel that turns off that capability.
    I had been looking at that link and there is a useful link from that page with instructions on how to disable IPv6 in the kernel using kernel parameters in various boot loaders, just not uboot.

  • How can i disable ipv6 in OL7?

    Hi everybody,
    how can i disable ipv6 on my OL7 box?
    In /etc/sysctl.d i have test it with the file: ipv6.conf:
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.<interface>.disable_ipv6 = 1
    But this doesnt work.
    Does anybody know how can i disable IPv6 in Oracle Linux 7?

    What I would recommend is not to set implicit or redundant parameters:
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    There is no need to disable the "default" interface, since it is already included in the "all" statement.
    I do not know, but there could be a possibility that such statements disable the network card in question, but in turn enable every other. In such case, your 2nd statement invalidates the first. Perhaps that was was part of the problem when using your other configuration.

  • How to verify  if an IPV6 address entered in a textbox is valid ?

    Hi,
    How to verify if an IPV6 address entered in a text box is valid. I have a swing application. Until now we used only IPV4 address and we had a gui component with only four entries, which checked if the number entered is <= 255, so the user had to enter a correct address. Now with IPV6 there are IPV6 addresses, IPV4 mapped addresses, IPV6 zero compressed addresses and leading zeroes dropped kinds. We cannot supply a fix gui component.
    So if I provide a textcomponent which accepts strings - how do i check if the ip addresses entered by the user is valid. Can I use INET6Address to do this ? is there a way ?
    Thanks.

    InetAddress.getByName(String host)
    If it returns an Inet6Address without throwing an exception, I guess that would work.

Maybe you are looking for