This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Felt
Recipients Michael.Felt, serhiy.storchaka, vstinner
Date 2017-11-22.19:46:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <945bb375-80c3-835f-5ef0-74c0d37e44a6@felt.demon.nl>
In-reply-to <1511208070.25.0.213398074469.issue28009@psf.upfronthosting.co.za>
Content
x064 is AIX 5.3, x071 is AIX 6.1, x072 is AIX 7.1 - in the following output

On 11/20/2017 9:01 PM, Serhiy Storchaka wrote:
> Serhiy Storchaka <storchaka+cpython@gmail.com> added the comment:
>
> What return commands `ifconfig`, `ifconfig -a`, `ifconfig -av`, `ip link list`, `arp -an`, `lanscan -ai` (if not error)?
ifconfig:

ichael@x071:[/home/michael]dsh -n x064,x071,x072 ifconfig
x071: usage: ifconfig -a [ -d ] [ -u ] [ af ]
x071:        ifconfig -l [ -d ] [ -u ]
x071:        ifconfig interface
x071:         [ af [ address [ dest_addr ] ] [ netmask mask ] [ 
broadcast addr ]
x071:              [ alias ] [ delete ] ]
x071:         [ up ] [ down ] [ detach ]
x071:         [ af first[alias] address [ ... ] ]
x071:         [ site6 site_number ]
x071:         [ metric n ]
x071:         [ mtu n ]
x071:         [ arp | -arp ]
x071:         [ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]
x071:         [ tcp_low_rto n | -tcp_low_rto ]
x071:         [ inet6 scope n zone n ]
x071:         [[ inet4 | inet6 ][address transfer newinterface]]
x071:        ifconfig tap_interface [ create | destroy ]
x064: usage: ifconfig -a [ -m ] [ -d ] [ -u ] [ af ]
x064:        ifconfig -l [ -d ] [ -u ]
x064:        ifconfig [ -m ] interface
x064:         [ af [ address [ dest_addr ] ] [ netmask mask ] [ 
broadcast addr ]
x064:              [ alias ] [ delete ] ]
x064:         [ up ] [ down ] [ detach ]
x064:         [ af first[alias] address [ ... ] ]
x064:         [ site6 site_number ]
x064:         [ metric n ]
x064:         [ mtu n ]
x064:         [ arp | -arp ]
x064:         [ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]
x064:         [ tcp_low_rto n | -tcp_low_rto ]
x072: usage: ifconfig -a [ -d ] [ -u ] [ af ]
x072:        ifconfig -l [ -d ] [ -u ]
x072:        ifconfig interface
x072:         [ af [ address [ dest_addr ] ] [ netmask mask ] [ 
broadcast addr ]
x072:              [ alias ] [ delete ] ]
x072:         [ up ] [ down ] [ detach ]
x072:         [ af first[alias] address [ ... ] ]
x072:         [ site6 site_number ]
x072:         [ metric n ]
x072:         [ mtu n ]
x072:         [ arp | -arp ]
x072:         [ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]
x072:         [ tcp_low_rto n | -tcp_low_rto ]
x072:         [ inet6 scope n zone n ]
x072:        ifconfig tap_interface [ create | destroy ]

ifconfig -a:

michael@x071:[/home/michael]dsh -n x064,x071,x072 "ifconfig -a"
x071: en0: 
flags=1e084863,14c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
x071:   inet 192.168.129.71 netmask 0xffffff00 broadcast 192.168.129.255
x071:   inet 192.168.90.71 netmask 0xffffff00 broadcast 192.168.90.255
x071:   inet6 fe80::f8d1:8cff:fef7:6204%2/64
x071:    tcp_sendspace 262144 tcp_recvspace 262144 tcp_nodelay 1 rfc1323 1
x071: en1: 
flags=1e084863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
x071:   inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
x071:    tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
x071: lo0: 
flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
x071:   inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
x071:   inet6 ::1%1/128
x071:    tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
x064: en0: 
flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
x064:   inet 192.168.129.64 netmask 0xffffff00 broadcast 192.168.129.255
x064:    tcp_sendspace 131072 tcp_recvspace 65536
x064: lo0: 
flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
x064:   inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
x064:   inet6 ::1/0
x064:    tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
x072: en0: 
flags=1e084863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
x072:   inet 192.168.129.72 netmask 0xffffff00 broadcast 192.168.129.255
x072:    tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
x072: lo0: 
flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
x072:   inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
x072:   inet6 ::1%1/64
x072:    tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1

ifconfig -av:

michael@x071:[/home/michael]dsh -n x064,x071,x072 "ifconfig -av"
x071: ifconfig: illegal option -- v
x071: usage: ifconfig -a [ -d ] [ -u ] [ af ]
x071:        ifconfig -l [ -d ] [ -u ]
x071:        ifconfig interface
x071:         [ af [ address [ dest_addr ] ] [ netmask mask ] [ 
broadcast addr ]
x071:              [ alias ] [ delete ] ]
x071:         [ up ] [ down ] [ detach ]
x071:         [ af first[alias] address [ ... ] ]
x071:         [ site6 site_number ]
x071:         [ metric n ]
x071:         [ mtu n ]
x071:         [ arp | -arp ]
x071:         [ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]
x071:         [ tcp_low_rto n | -tcp_low_rto ]
x071:         [ inet6 scope n zone n ]
x071:         [[ inet4 | inet6 ][address transfer newinterface]]
x071:        ifconfig tap_interface [ create | destroy ]
x064: ifconfig: illegal option -- v
x064: usage: ifconfig -a [ -m ] [ -d ] [ -u ] [ af ]
x064:        ifconfig -l [ -d ] [ -u ]
x064:        ifconfig [ -m ] interface
x064:         [ af [ address [ dest_addr ] ] [ netmask mask ] [ 
broadcast addr ]
x064:              [ alias ] [ delete ] ]
x064:         [ up ] [ down ] [ detach ]
x064:         [ af first[alias] address [ ... ] ]
x064:         [ site6 site_number ]
x064:         [ metric n ]
x064:         [ mtu n ]
x064:         [ arp | -arp ]
x064:         [ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]
x064:         [ tcp_low_rto n | -tcp_low_rto ]
x072: ifconfig: illegal option -- v
x072: usage: ifconfig -a [ -d ] [ -u ] [ af ]
x072:        ifconfig -l [ -d ] [ -u ]
x072:        ifconfig interface
x072:         [ af [ address [ dest_addr ] ] [ netmask mask ] [ 
broadcast addr ]
x072:              [ alias ] [ delete ] ]
x072:         [ up ] [ down ] [ detach ]
x072:         [ af first[alias] address [ ... ] ]
x072:         [ site6 site_number ]
x072:         [ metric n ]
x072:         [ mtu n ]
x072:         [ arp | -arp ]
x072:         [ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]
x072:         [ tcp_low_rto n | -tcp_low_rto ]
x072:         [ inet6 scope n zone n ]
x072:        ifconfig tap_interface [ create | destroy ]

ip link list:
michael@x071:[/home/michael]dsh -n x064,x071,x072 "ip link list"
x071: /bin/sh: ip:  not found
x064: ksh: ip:  not found
x072: ksh: ip:  not found

arp -an:

michael@x071:[/home/michael]dsh -n x064,x071,x072 "arp -an"
x071:   ? (192.168.129.254) at e0:28:6d:d6:eb:7b [ethernet] stored in 
bucket 27
x071:
x071:   ? (192.168.129.53) at 0:8:9b:c8:6:e6 [ethernet] stored in bucket 124
x071:
x071:   ? (192.168.129.61) at 0:14:5e:c7:f:ca [ethernet] stored in 
bucket 132
x071:
x071:   ? (192.168.129.64) at 0:21:5e:a3:c7:44 [ethernet] stored in 
bucket 135
x071:
x071:   ? (192.168.129.72) at fa:d1:83:60:33:4 [ethernet] stored in 
bucket 143
x071:
x071:   ? (192.168.2.254) at 94:a7:b7:4a:ad:a7 [ethernet] stored in 
bucket 146
x071:
x071: bucket:    0     contains:    0 entries
x071: bucket:    1     contains:    0 entries
x071: bucket:    2     contains:    0 entries
...
x071: bucket:  145     contains:    0 entries
x071: bucket:  146     contains:    1 entries
x071: bucket:  147     contains:    0 entries
x071: bucket:  148     contains:    0 entries
x071:
x071: There are 6 entries in the arp table.

x064:   ? (192.168.129.254) at e0:28:6d:d6:eb:7b [ethernet] stored in 
bucket 27
x064:
x064:   ? (192.168.129.71) at fa:d1:8c:f7:62:4 [ethernet] stored in 
bucket 142
x064:
x064: bucket:    0     contains:    0 entries
x064: bucket:    1     contains:    0 entries
x064: bucket:    2     contains:    0 entries
x064: bucket:    3     contains:    0 entries
x064: bucket:    4     contains:    0 entries
x064: bucket:    5     contains:    0 entries
...
x064: bucket:  147     contains:    0 entries
x064: bucket:  148     contains:    0 entries
x064:
x064: There are 2 entries in the arp table.
x064:

x072:   ? (192.168.129.254) at e0:28:6d:d6:eb:7b [ethernet] stored in 
bucket 27
x072:
x072:   ? (192.168.129.2) at 28:d2:44:1e:ca:c8 [ethernet] stored in 
bucket 73
x072:
x072:   ? (192.168.129.61) at 0:14:5e:c7:f:ca [ethernet] stored in 
bucket 132
x072:
x072:   ? (192.168.129.63) at fa:d1:86:d4:97:4 [ethernet] stored in 
bucket 134
x072:
x072:   ? (192.168.129.71) at fa:d1:8c:f7:62:4 [ethernet] stored in 
bucket 142
x072:
x072: bucket:    0     contains:    0 entries
x072: bucket:    1     contains:    0 entries
x072: bucket:    2     contains:    0 entries
x072: bucket:    3     contains:    0 entries
x072: bucket:    4     contains:    0 entries
...
x072: bucket:  141     contains:    0 entries
x072: bucket:  142     contains:    1 entries
x072: bucket:  143     contains:    0 entries
x072: bucket:  144     contains:    0 entries
x072: bucket:  145     contains:    0 entries
x072: bucket:  146     contains:    0 entries
x072: bucket:  147     contains:    0 entries
x072: bucket:  148     contains:    0 entries
x072:
x072: There are 5 entries in the arp table.
x072:

lanscan -ai:
michael@x071:[/home/michael]dsh -n x064,x071,x072 "lanscan -ai"
x071: /bin/sh: lanscan:  not found
x064: ksh: lanscan:  not found
x072: ksh: lanscan:  not found

> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue28009>
> _______________________________________
>
History
Date User Action Args
2017-11-22 19:46:18Michael.Feltsetrecipients: + Michael.Felt, vstinner, serhiy.storchaka
2017-11-22 19:46:18Michael.Feltlinkissue28009 messages
2017-11-22 19:46:18Michael.Feltcreate