Package: facter
Version: 1.3.8-1
Severity: important
Tags: upstream

vera:~|master|% facter | grep ip                                            #25
ipaddress => 10.53.0.1

vera:~|master|% ip a                                                        #26
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue 
    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: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:16:3e:4a:bb:7f brd ff:ff:ff:ff:ff:ff
    inet 82.197.185.122/28 brd 82.197.185.127 scope global eth0
    inet6 fe80::216:3eff:fe4a:bb7f/64 scope link 
       valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop 
    link/sit 0.0.0.0 brd 0.0.0.0
4: dns0: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1024 qdisc pfifo_fast qlen 
500
    link/[65534] 
    inet 10.53.0.1/24 scope global dns0

vera:~|master|% ip r                                                        #27
82.197.185.112/28 dev eth0  proto kernel  scope link  src 82.197.185.122 
10.53.0.0/24 dev dns0  proto kernel  scope link  src 10.53.0.1 
default via 82.197.185.113 dev eth0 


The IP address should probably be the one bound to the iface with
the default route. Right now, facter just uses the last inet IP it
finds in /sbin/ifconfig output.

aa System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages facter depends on:
ii  bind9-host [host]             1:9.4.2-10 Version of 'host' bundled with BIN
ii  net-tools                     1.60-19    The NET-3 networking toolkit
ii  ruby                          4.2        An interpreter of object-oriented 

facter recommends no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to