You are not logged in.

#1 2012-06-22 15:45:24

Picoli
Member
Registered: 2010-06-29
Posts: 17

How to gain global scope inet6 address?

Hi,

I'm struggling with dhcpd and ipv6.

So I connect to a ipv6 capable router with networkmanager. The ipv4 part works smoothly, but for ipv6 the result is the following:

~ $ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436  metric 1
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1965  bytes 154444 (150.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1965  bytes 154444 (150.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 195.176.112.209  netmask 255.255.255.128  broadcast 195.176.112.255
        inet6 fe80::ba8d:12ff:fe11:7784  prefixlen 64  scopeid 0x20<link>
        ether b8:8d:12:11:77:84  txqueuelen 1000  (Ethernet)
        RX packets 11788  bytes 4179948 (3.9 MiB)
        RX errors 0  dropped 45  overruns 0  frame 0
        TX packets 1742  bytes 224937 (219.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

So the ipv6 address is only link scoped (which is basically a self assigned ipv6 address, right?).

I think it has somehow to do with this line from /var/log/everything.log:

Jun 22 17:24:45 localhost NetworkManager[378]: <warn> the dhcpcd backend does not support IPv6.

The strange thing is that my college using ubuntu can connect to the router and establish a working ipv6 address without any problems.

Has anyone an idea what could be messed up?

Cheers!

Offline

#2 2012-06-23 08:24:32

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: How to gain global scope inet6 address?

The current ipv6 address that you're seeing is just a link local address indeed, so that won't get you very far in terms of external connectivity.

Which (ipv6) output do you get when running "dhcpcd wlan0"?

Last edited by Gcool (2012-06-23 08:24:54)


Burninate!

Offline

#3 2012-06-24 23:15:54

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: How to gain global scope inet6 address?

Jun 22 17:24:45 localhost NetworkManager[378]: <warn> the dhcpcd backend does not support IPv6.

I would almost certainly say that is your problem... Are you able to manually assign a global address to the interface without error?

ip a a 2001::12:11:77:84 dev wlan0
ip r r default via 2001::abcd

(Obviously I don't know your assigned IPv6 prefix so update accordingly)

Offline

Board footer

Powered by FluxBB