ipv6
Nils Kassube
kassube at gmx.net
Tue Mar 5 22:06:07 UTC 2013
Thufir 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?
The default IPv6 address is derived from the MAC of the interface and
therefore you will always see a IPv6 address. But the IPv4 address must
be set manually or by some application (like DHCP). You can set a v4
address manually with a command like
sudo ifconfig eth0 192.168.2.123 up
and then you should see that address with the command
ifconfig eth0
Nils
More information about the ubuntu-users
mailing list