Re: No IPv6 traffic

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

 



On 08/29/2009 06:23 AM, Clodoaldo Pinto Neto wrote:
When capturing the traffic with Wireshark there is no IPv6 traffic at
all. When I set network.dns.disableIPv6 to true I can see all IPv4 in
Wireshark. This is Fedora 10 64.

While it is easy to solve it for Firefox there are many services that
can't connect even if I disable IPv6 in the system. One symptom is Yum
has to try repetitively until it finds a suitable host:

http://mirrors.ucr.ac.cr/fedora/releases/10/Everything/x86_64/os/repodata/repomd.xml:
[Errno 4] IOError:<urlopen error (-2, 'Name or service not known')>
Trying other mirror.

Another is that the weather applet and folding@home can't connect.
When I disable IPv6 in the system the applet connects but Yum behaves
the same (multiple tries) and still folding@home can't connect.

My name servers are set to opendns:

# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 208.67.220.220
nameserver 208.67.222.222
nameserver 10.1.1.1

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=d2.localdomain
NETWORKING_IPV6=yes

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit
Ethernet controller
DEVICE=eth0
BOOTPROTO=none
DNS1=208.67.220.220
DNS2=208.67.222.222
DNS3=10.1.1.1
GATEWAY=10.1.1.1
HWADDR=00:21:97:00:79:21
IPADDR=10.1.1.110
NETMASK=255.0.0.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=yes
NM_CONTROLLED=yes
PEERDNS=yes

I have another machine, F11, behind the same ADSL router, Dlink DSL
500B, without problems.

Any ideas?

Regards, Clodoaldo

This IPV6 thing is a problem in FC11 , FC10, everyone of the of the 12 boxes I have setup in FC11 I have had to do the below setup to even connect to rpmfusion.org.
1.  Q: Networking (or DNS) seems really slow and fails often (Updated 2 January 2009)
A: If Fedora 10's networking seems slow or you get frequent network connection failures (when other Fedoras or other OSes were working just fine on your machine), then you're probably hitting this bug.

Here's how you can work around it:

   1. Open a Terminal.
   2. Become root:

      su -
   3. Make sure that the "dnsmasq" program is installed (it usually is, by default, in Fedora 10):

      rpm -q dnsmasq

      If that says "package dnsmasq is not installed", then you need to install dnsmasq, by running the following command:

      yum install dnsmasq
   4. Now, you have to find out which network interface your machine is using:

      route -n

      You'll see some output that looks like this:

      Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

      The eth0 there (the furthest bottom-right text in the output) is the name of the network interface I'm using. Yours might be eth1 or something totally different. Just remember it for the next step.
   5. Now create a file called /etc/dhclient-<your network interface>.conf. For example, if your network interface is eth0, the file would be called /etc/dhclient-eth0.conf.

      You can create the file with this command (assuming your network interface is eth0):

      nano /etc/dhclient-eth0.conf

      Then make this the only line in the file:

      prepend domain-name-servers 127.0.0.1;

      And then save the file and close it (Ctrl-X then Y).

      If you have both a wireless and a wired network connection, you will have to do this step once for each of them.
   6. Now start dnsmasq:

      service dnsmasq start

      And make sure that it will start every time your computer starts:

      chkconfig dnsmasq on
   7. Now restart your network connection:

      service NetworkManager restart

And now things should be as fast as normal again. You might have to restart the programs that you're running for them to pick up the changes that NetworkManager made when it restarted.



2.  * IPv6
You might notice that your browsing through Firefox is a little slow on Fedora 10. This is because Firefox 3 has enabled by default IPv6 which causes Firefox to first resolve an IPv6 address and after the connection fails it switches to IPv4. To change this setting type:

about:config


and in Filter box type:

network.dns.disableIPv6


Right click on it, select Toggle and change its value to true. Restart Firefox and you are ready! 




Selinux Relabeling files.

setenforce 0; fixfiles -F restore; setenforce 1; reboot 
-- 
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