Disabling IPv6

Matvei Kliuchnikov matvei.kliuchnikov at gmail.com
Tue Nov 9 02:45:28 GMT 2004


On Mon, 08 Nov 2004 17:47:56 +0000, Niall Sheridan <niall at blacknight.ie> wrote:
> OK, this is obviously causing a problem for some people and not for
> others, as ipv6 is loaded by default in kernel 2.6.
> Could someone who is having a problem with this post the output of the
> following two commands (run as root or using sudo):
> 
> ip -6 addr
> ip -6 route show

~$ ip addr                                                       
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue                                   
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00                      
    inet 127.0.0.1/8 scope host lo                                             
    inet6 ::1/128 scope host                                                   
       valid_lft forever preferred_lft forever                                 
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000          
    link/ether 00:03:ff:33:58:4c brd ff:ff:ff:ff:ff:ff                         
    inet 192.168.0.2/24 brd 192.168.0.255 scope global eth0                    
    inet6 fe80::203:ffff:fe33:584c/64 scope link                               
       valid_lft forever preferred_lft forever                                 
3: sit0: <NOARP> mtu 1480 qdisc noop                                           
    link/sit 0.0.0.0 brd 0.0.0.0                                               

~ $ ip -6 addr                                                    
1: lo: <LOOPBACK,UP> mtu 16436                                                 
    inet6 ::1/128 scope host                                                   
       valid_lft forever preferred_lft forever                                 
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qlen 1000                           
    inet6 fe80::203:ffff:fe33:584c/64 scope link                               
       valid_lft forever preferred_lft forever                                 
                                                          
~ $ ip route show                                                 
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.2             
default via 192.168.0.1 dev eth0   
                                             
~$ ip -6 route show                                              
fe80::/64 dev eth0  metric 256  mtu 1500 advmss 1440 metric10 64               
ff00::/8 dev eth0  metric 256  mtu 1500 advmss 1440 metric10 1                 
default dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 metric10 64   
unreachable default dev lo  proto none  metric -1  error -101 metric10 255     

Note that I'm running behind a DSL gateway using NAT, and I don't
believe it's very fond of ipv6.

--
M.E. Kliuchnikov




More information about the ubuntu-users mailing list