Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 09:59:41 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-stable@freebsd.org
Subject:   ifconfig-i386 on 8-STABLE/amd64
Message-ID:  <20100415215941.GA14428@osiris.chen.org.nz>

next in thread | raw e-mail | index | archive | help
Hi,

I've got a 32-bit build on a 8-STABLE/amd64 machine, built using
instructions at:

http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d

And I'm noticing some odd output from ifconfig (commands are run from
the non-chrooted env):

    $ /sbin/ifconfig
    xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:60:97:a4:7f:82
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        inet 192.168.1.11 netmask 0xffffffff broadcast 192.168.1.11
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
    fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:1d:7d:f0:67:8b
        ch 1 dma -1
    fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        lladdr 0.1d.7d.0.0.f0.67.8b.a.2.ff.fe.0.0.0.0
    re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
        ether 00:1d:7d:9d:3f:1f
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        inet 192.168.2.10 netmask 0xffffffff broadcast 192.168.2.10
        inet 192.168.2.12 netmask 0xffffffff broadcast 192.168.2.12
        media: Ethernet autoselect (none)
        status: no carrier
    plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 
        inet6 ::1 prefixlen 128 
        inet 127.0.0.1 netmask 0xff000000 
    nd6 options=3<PERFORMNUD,ACCEPT_RTADV>

    $ /compat/i386/sbin/ifconfig
    : flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        inet 192.168.1.11 netmask 0xffffffff broadcast 192.168.1.11
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        inet 192.168.2.10 netmask 0xffffffff broadcast 192.168.2.10
        inet 192.168.2.12 netmask 0xffffffff broadcast 192.168.2.12
        inet 127.0.0.1 netmask 0xff000000 
    ifconfig: ioctl(SIOCGIFINFO_IN6): Device not configured

Why is the output from the 32-bit ifconfig severely mangled?

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>
-----------------------------------------------------------------------
"I love deadlines. I like the whooshing sound they make as they fly by"
                                                        - Douglas Adams



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100415215941.GA14428>