ipv6

Karl Auer kauer at biplane.com.au
Wed Mar 6 00:16:11 UTC 2013


On Tue, 2013-03-05 at 13:49 -0800, Thufir wrote:
> I notice that ifconfig seems to use, or default to, ipv6.  I have
> trouble parsing the address because I'm trying to use addresses like
> 192.x.x.x but see ipv6 info in ifconfig.

ifconfig will show you all addresses on an interface - including IPv6
addresses. You should be seeing both IPv4 and IPv6 addresses. If you are
offline you may not be seeing any IPv4 addresses, but IPv6 will at very
least have a link local address on every interface that is up. A better
program for looking at your network configuration is probably the "ip"
program.

See only IPv6 addresses:
   ip -6 addr show

See only IPv4 addresses:
   ip -4 addr show

Look at "man ip" for more options (there are a great many).

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://www.biplane.com.au/blog

GPG fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A
Old fingerprint: AE1D 4868 6420 AD9A A698 5251 1699 7B78 4EEE 6017






More information about the ubuntu-users mailing list