Re: Disabling IPv6 on one NIC

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

 



Alexander Apprich wrote:
buntschu wrote:

Hi,

On a system running FC3 I have 2 NIC cards. I would like to activate IPv6 only on one card and only IPv4 on the other one.

My /etc/sysconfig/network-scripts/ifcfg-eth0 looks like:

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.1.10
USERCTL=yes
PEERDNS=yes
GATEWAY=192.168.1.1
IPV6INIT=no
IPV6_AUTOCONF=no

And when running:

/etc/init.d/network restart

I still have IPv6 active on eth0 and autoconfiguration running..

Any ideas ?



Google found this

http://www.mjmwired.net/resources/mjm-fedora-fc3.shtml

[snip]
To disable IPV6: As root, you must add the line: "alias net-pf-10 off" (without quotes)
to the end of your /etc/modprobe.conf file.


-OR-

Quick solution:

[root@charon fc3]# echo "alias net-pf-10 off" >> /etc/modprobe.conf

A reboot is required.
[/snip]

Which totally disables IPv6 on the system, not what the OP wanted to do.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux