Disabling IPv6 on one NIC
Alexander Apprich
a.apprich at science-computing.de
Tue Mar 15 10:46:18 UTC 2005
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 at charon fc3]# echo "alias net-pf-10 off" >> /etc/modprobe.conf
A reboot is required.
[/snip]
Alex
>
--
Alexander Apprich science + computing ag
IT-Services Hagellocher Weg 71-75
phone +49(0)7071 9457-291 D-72070 Tuebingen, Germany
fax +49(0)7071 9457-211 www.science-computing.de
s+c certificates via http://www.science-computing.de/cacert.crt
More information about the fedora-list
mailing list