I have a squeeze box that I'm testing ipv6 on... eth3 is the interface... if I set up an 'normal' ipv6 address (::101:c0a8:3132/120), I see expected results in ifconfig...
eth3 Link encap:Ethernet HWaddr 00:02:b3:9a:af:6d
inet6 addr: fe80::202:b3ff:fe9a:af6d/64 Scope:Link
inet6 addr: ::101:c0a8:3132/120 Scope:Global
But if I configure an IPv4-mapped IPv6 address, I don't see part of the address...
[mpenning@hotcoffee EX4200_PC5448]$ sudo ip -6 addr del ::101:c0a8:3132/120 dev eth3
[mpenning@hotcoffee EX4200_PC5448]$ sudo ip -6 addr add ::ffff:192.168.13.236/120 dev eth3
[mpenning@hotcoffee EX4200_PC5448]$ ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:02:b3:9a:af:6d
inet6 addr: 192.168.13.236/120 Scope:Global
inet6 addr: fe80::202:b3ff:fe9a:af6d/64 Scope:Link
Shouldn't this address display as ::ffff:192.168.13.236/120 instead of 192.168.13.236/120?
I'm also having a problem pinging when the IPv4-mapped IPv6 address is assigned, so now I wonder whether this related to the unexpected display in ifconfig, or something wrong on the other side.
EDIT:
Using ip addr show eth3...
[mpenning@hotcoffee ~]$ ip addr show eth3
5: eth3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:02:b3:9a:af:6d brd ff:ff:ff:ff:ff:ff
inet6 ::ffff:192.168.13.236/120 scope global
valid_lft forever preferred_lft forever
inet6 fe80::202:b3ff:fe9a:af6d/64 scope link
valid_lft forever preferred_lft forever
[mpenning@hotcoffee ~]$
ifconfig. – Juliano Apr 22 '11 at 18:10