Sponsored Content
Full Discussion: Solaris 11 disable IPv6
Operating Systems Solaris Solaris 11 disable IPv6 Post 302676059 by samer.odeh on Tuesday 24th of July 2012 03:44:53 AM
Old 07-24-2012
Question Solaris 11 disable IPv6

I've new installed Solaris 11 on Sparc T4-1.

I'd like to disable IPv6 but with no luck.

Code:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
net0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.230 netmask ffffff00 broadcast 192.168.0.255
        ether 0:21:28:fa:3:32
net4: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 169.254.182.77 netmask ffffff00 broadcast 169.254.182.255
        ether 2:21:28:57:47:17
net4: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 4
        inet6 ::/0
        ether 2:21:28:57:47:17
root@endeavour-db:~#

I tried to use ipadm but I'm not getting the right way to do it.

Code:
root@endeavour-db:~# ipadm disable-if net4/v6
ipadm: persistent operation not supported for disable-if
root@endeavour-db:~# ipadm delete-addr net4/v6
ipadm: cannot delete address: Object not found
root@endeavour-db:~# ipadm disable-addr net4/v6
ipadm: persistent operation not supported for disable-addr

I'd appreciate if someone can help me.

many thanks

Last edited by samer.odeh; 07-24-2012 at 04:46 AM.. Reason: mistyping
 

8 More Discussions You Might Find Interesting

1. IP Networking

Solaris IPv6

Hi, Anybody who worked with IPv6 on Solaris 8. I want to get rid of IPv6 (Uninstall). Any comments ...ideas...will be highly appreciated. (4 Replies)
Discussion started by: s_aamir
4 Replies

2. IP Networking

IPv6 on Solaris 10

Hi! I have to configure ipv6 network between two computers with Solaris 10 but I not an expert in using any unix system and I do it becouse I need it to my study. Is someone here who could help me and describe step-by-step how to do it? please!!! PS. I need to configure network to do secure... (1 Reply)
Discussion started by: kolec
1 Replies

3. Solaris

Solaris 19 10/09 ipv6 interface configuration

Hi, anyone has had experience in a static setting an IPv6 interface?, I'm trying accordance with the admin guide (ipv6 network configuration tasks), configure one interface in the server, actually i can do ping to my default gateway and access the Internet in IPv6, the specific point is however,... (3 Replies)
Discussion started by: pabloluja
3 Replies

4. UNIX and Linux Applications

Konqueror disable IPv6

Does anyone know how to disable IPv6 in Konqueror in Fedora? (5 Replies)
Discussion started by: cokedude
5 Replies

5. IP Networking

RedHat/Centos Disable IPv6 Networking

Guide on how to disable ipv6 for Centos and RedHat 1) Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change: NETWORKING_IPV6=yes to NETWORKING_IPV6=no 2) Edit /etc/modprobe.conf and add these lines: alias net-pf-10 off alias ipv6 off 3) Stop the ipv6tables service: ... (0 Replies)
Discussion started by: zanna91
0 Replies

6. Solaris

IPv6 for Solaris DNS

I have Bind running on a Solaris box that is our main public DNS. Given my very limited knowledge on DNS, I changed a few of the zones in the DNS to be 'dual-stack'. I did it through Webmin, but I know that I can also do it by adding an AAAA-record to the zone file. My question is how can I make... (2 Replies)
Discussion started by: Dardeer
2 Replies

7. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

8. Solaris

Solaris 10 IPv6

Hello Dears , please I need your support I have Oracle Solaris 10 X86 server please if you can advise how can I add IP v6 on my server and if IPv6 was disabled how can i enable it also how can i add two IP (v4 and v6) on the same interface or I have to add another interface . Thanks in... (1 Reply)
Discussion started by: ttashman
1 Replies
IN_GETIFA(9)						   BSD Kernel Developer's Manual					      IN_GETIFA(9)

NAME
in_getifa -- Look up the IPv4 source address best matching an IPv4 destination SYNOPSIS
options IPSELSRC #include <netinet/in_selsrc.h> struct ifaddr * in_getifa(struct ifaddr *ifa, const struct sockaddr *dst0); DESCRIPTION
in_getifa enforces the IPv4 source-address selection policy. Add the source-address selection policy mechanism to your kernel with options IPSELSRC. options IPSELSRC lets the operator set the policy for choosing the source address of any socket bound to the ``wildcard'' address, INADDR_ANY. Note that the policy is applied after the kernel makes its forwarding decision, thereby choosing the output interface; in other words, this mechanism does not affect whether or not NetBSD is a ``strong ES''. An operator affects the source-address selection using sysctl(8) and ifconfig(8). Operators set policies with sysctl(8). Some policies con- sider the ``preference number'' of an address. An operator may set preference numbers for each address with ifconfig(8). A source-address policy is a priority-ordered list of source-address ranking functions. A ranking function maps its arguments, (source address, source index, source preference, destination address), to integers. The source index is the position of source address in the interface address list; the index of the first address is 0. The source preference is the preference number the operator assigned to source address. The destination address is the socket peer / packet destination. Presently, there are four ranking functions to choose from: index ranks by source index; lower indices are ranked more highly. preference ranks by source preference; higher preference numbers are ranked more highly. common-prefix-len ranks each source address by the length of the longest prefix it has in common with destination address; longer common prefixes rank more highly. same-category determines the "categories" of source and destination address. A category is one of private, link-local, or other. If the categories exactly match, same-category assigns a rank of 2. Some sources are ranked 1 by category: a link-local source with a private destination, a private source with a link-local destination, and a private source with an other des- tination rank 1. All other sources rank 0. Categories are defined as follows. private RFC1918 networks, 192.168/16, 172.16/12, and 10/8 link-local 169.254/16, 224/24 other all other networks---i.e., not private, not link-local To apply a policy, the kernel applies all ranking functions in the policy to every source address, producing a vector of ranks for each source. The kernel sorts the sources in descending, lexicographical order by their rank-vector, and chooses the highest-ranking (first) source. The kernel breaks ties by choosing the source with the least source index. The operator may set a policy on individual interfaces. The operator may also set a global policy that applies to all interfaces whose pol- icy he does not set individually. Here is the sysctl tree for the policy at system startup: net.inet.ip.selectsrc.default = index net.inet.ip.interfaces.ath0.selectsrc = net.inet.ip.interfaces.sip0.selectsrc = net.inet.ip.interfaces.sip1.selectsrc = net.inet.ip.interfaces.lo0.selectsrc = net.inet.ip.interfaces.pflog0.selectsrc = The policy on every interface is the ``empty'' policy, so the default policy applies. The default policy, index, is the ``historical'' pol- icy in NetBSD. The operator may override the default policy on ath0, # sysctl -w net.inet.ip.interfaces.ath0.selectsrc=same-category,common-prefix-len,preference yielding this policy: net.inet.ip.selectsrc.default = index net.inet.ip.interfaces.ath0.selectsrc = same-category,common-prefix-len,preference The operator may set a new default, # sysctl -w net.inet.ip.selectsrc.debug=> same-category,common-prefix-len,preference # sysctl -w net.inet.ip.interfaces.ath0.selectsrc= yielding this policy: net.inet.ip.selectsrc.default = same-category,common-prefix-len,preference net.inet.ip.interfaces.ath0.selectsrc = In a number of applications, the policy above will usually pick suitable source addresses if ath0 is configured in this way: # ifconfig ath0 inet 64.198.255.1/24 # ifconfig ath0 inet 10.0.0.1/24 # ifconfig ath0 inet 169.254.1.1/24 # ifconfig ath0 inet 192.168.49.1/24 preference 5 # ifconfig ath0 inet 192.168.37.1/24 preference 9 A sysctl, net.inet.ip.selectsrc.debug, turns on and off debug messages concerned with source selection. You may set it to 0 (no messages) or 1. SEE ALSO
ifconfig(8), sysctl(8) STANDARDS
The family of IPv6 source-address selection policies defined by RFC3484 resembles the family of IPv4 policies that in_getifa enforces. AUTHORS
David Young <dyoung@NetBSD.org> BUGS
With options IPSELSRC, a new interface ioctl(2), SIOCSIFADDRPREF, was introduced. It ought to be documented in inet(4). Also, options(4) ought to cross-reference this manual page. This work should be used to set IPv6 source-address selection policies, especially the family of policies defined by RFC3484. BSD
February 22, 2007 BSD
All times are GMT -4. The time now is 06:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy