Re: Disable IPv4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/13/2011 04:35 PM, Rose Price wrote:
> 
> Disable the IPv4 protocol, so that is a user or even root could not use the 
> protocol, for example there is a switch to disable IPv6, disable_ipv6.

You're talking about the module parameter here, correct?  That was added
because by default, Linux will add a link-local address to all interfaces
when the module is loaded, before someone can tell it not to.  So that
parameter will set the default value that is propagated to all interfaces:

# sysctl net.ipv6.conf.default.disable_ipv6
net.ipv6.conf.default.disable_ipv6 = 1

>>> Is there  a configuration option to disable ipv4 in the linux kernel 2.6.XX?  
>>
>> You can disable all networking, but you can't have IPv6 without IPv4.

That's not exactly true, I've run IPv6-only before, it's just that things
like DNS, X, etc don't behave very well when you do it :(

-Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux