ipv6

Colin Law clanlaw at googlemail.com
Tue Mar 5 22:00:27 UTC 2013


On 5 March 2013 21:49, Thufir <hawat.thufir at gmail.com> wrote:
> I don't have regular internet access.  I'm reading the fine manual on static
> ip's and dhcp with regards to ifconfig.
>
> 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.
>
> How can i get ifconfig to "default" to, or at least display, as ipv4 so that
> I can read it easier?  or is my question flawed?

Not sure what you mean, when I run ifconfig -a I see both 4 and 6
$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:90:f5:ce:34:2f
          inet addr:192.168.1.92  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::290:f5ff:fece:342f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60825 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47936 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:54719154 (54.7 MB)  TX bytes:6352249 (6.3 MB)

...

Colin




More information about the ubuntu-users mailing list