Re: IPV6INIT=no, but does anyway on local network

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

 



Gene Heskett wrote:
> How does one go about disabling that?

It's not easy.  The Linux kernel automatically assigns a link-local IPv6
address to any interface that's brought up.  If you don't want to use
IPv6 at all, you can use /etc/modprobe.conf to prevent the appropriate
module from being loaded.  (ISTR that it used to be called net-pf-10,
but that module doesn't seem to exist anymore; I'd try disabling the
ipv6 module.)

To get rid of the IPv6 address on a particular interface, you should be
able to use some variation of 'ip addr ...'.

The only way I know of to prevent the kernel from assigning an address
when an interface is brought up is to set the MTU to a ridiculously low
value before bringing the interface up.  If the MTU is too low for IPv6
to work, the kernel won't assign the address.  Once the interface is up,
you can set the MTU back to what you want and assign an IPv4 address (if
desired).  Needless to say, this is an ugly hack, and it's not supported
by the networking scripts.

HTH

-- 
========================================================================
Ian Pilcher                                         arequipeno@xxxxxxxxx
========================================================================

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux