On Wed Jun 24 22:04:54 2009, SHLOMIF wrote:
Show quoted text> Mandriva Linux Cooker. ifconfig is:
>
> {{{{{{{
> shlomi:~$ /sbin/ifconfig
...
ifconfig isn't the best tool for querying this. It only prints one
address per family. Use "ip"; see my output below...
$ ip addr ls
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wired: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether 00:04:61:75:61:7d brd ff:ff:ff:ff:ff:ff
inet 192.168.42.3/24 brd 192.168.42.255 scope global wired
inet 81.187.167.227/28 scope global wired
inet6 2001:8b0:3f7::3:1/48 scope global
valid_lft forever preferred_lft forever
inet6 fe80::204:61ff:fe75:617d/64 scope link
valid_lft forever preferred_lft forever
Note specifically I have a real "scope global" address; and routing:
$ ip -f inet6 route
2001:8b0:3f7::/48 dev wired metric 256 mtu 1450 advmss 1390 hoplimit 0
fe80::/64 dev wired metric 256 mtu 1450 advmss 1390 hoplimit 0
default via 2001:8b0:3f7::1 dev wired metric 1024 mtu 1450 advmss 1390
hoplimit 0
My /etc/gai.conf is entirely comments.
General details:
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.29.4-dsa-dl380-oldxeon,
archname=i486-linux-gnu-thread-multi
uname='linux murphy 2.6.29.4-dsa-dl380-oldxeon #2 smp mon may 25
13:52:52 cest 2009 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.10.0
-Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio
-Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib
-Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
ii libc6 2.9-12 GNU C Library:
Shared libraries
debian/testing.
--
Paul Evans