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

Re: disable IPV6?



Daniel Roesen wrote:

So unless you _have_ IPv6 outside connectivity (either by some router on
your LAN advertising a default route to your host or by yourself
configuring a static IPv6 default route), there is no default route and
any attempt to connect to an IPv6 address outside your local LAN will
_immediately_ result in a "no route to host" and thus a failure. Without
noticable delay.

If someone has long timeout delays, there is something misconfigured...
e.g. a static default to a nonexistant default router. THIS needs to
be fixed.

Here's the output from a dnslookup, ifconfig, and 'netstat -rn' on my box, with just IPV4 configured followed by the IPV6 results (as setup by the Fedora install):

IPV4:

  0.000000 192.168.0.100 -> 68.54.80.5   DNS Standard query A
www.google.com
  0.011393   68.54.80.5 -> 192.168.0.100 DNS Standard query response
CNAME www.g
oogle.akadns.net A 216.239.39.147 A 216.239.39.104 A 216.239.39.99


eth0 Link encap:Ethernet HWaddr 00:01:03:C1:D1:BE inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::201:3ff:fec1:d1be/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:51 errors:0 dropped:0 overruns:0 frame:0 TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9416 (9.1 Kb) TX bytes:4229 (4.1 Kb) Interrupt:10 Base address:0xd400

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0
eth0


And here's the IPV6 version:
0.000000 192.168.0.100 -> 68.54.80.5 DNS Standard query AAAA www.google.com
5.000097 192.168.0.100 -> 68.54.80.5 DNS Standard query AAAA www.google.com
5.010537 68.54.80.5 -> 192.168.0.100 DNS Standard query response CNAME www.g
oogle.akadns.net
5.010918 192.168.0.100 -> 68.54.80.5 DNS Standard query A www.google.com
5.024892 68.54.80.5 -> 192.168.0.100 DNS Standard query response CNAME www.g
oogle.akadns.net A 216.239.39.104 A 216.239.39.99 A 216.239.39.147
5.025460 192.168.0.100 -> 68.54.80.5 DNS Standard query PTR 104.39.239.216.i
n-addr.arpa
10.025349 192.168.0.100 -> 68.54.80.5 DNS Standard query PTR 104.39.239.216.i
n-addr.arpa
10.039552 68.54.80.5 -> 192.168.0.100 DNS Standard query response, No such na
me
10.039963 192.168.0.100 -> 68.54.80.5 DNS Standard query AAAA www.google.com
10.050470 68.54.80.5 -> 192.168.0.100 DNS Standard query response CNAME www.g
oogle.akadns.net
10.051063 192.168.0.100 -> 68.54.80.5 DNS Standard query PTR 99.39.239.216.in
-addr.arpa
15.050580 192.168.0.100 -> 68.54.80.5 DNS Standard query PTR 99.39.239.216.in
-addr.arpa


(that was from loading http://www.google.com Note the AAAA responses)

eth0      Link encap:Ethernet  HWaddr 00:01:03:C1:D1:BE
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::201:3ff:fec1:d1be/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:68112 (66.5 Kb)  TX bytes:17927 (17.5 Kb)
          Interrupt:10 Base address:0xd400

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0


Routing looks the same in either case. /etc/resolv.conf is the same for both, namely this:

; generated by /sbin/dhclient-script
nameserver 68.54.80.5


If there's something else in the config that's needed, without shutting off ipv6, that'd be fine. I just wanted to get my net connection working the way it should, and turning ipv6 off did the trick. .Any other tests or suggestions?


Thanks,
randy




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