���Iface���� MTU Met���� RX-OK RX-ERR RX-DRP RX-OVR������ TX-OK TX-ERR TX-DRP TX-OVR Flg
enp2s0�������� 1500 0���������������� 0���������� 0���������� 0 0������������������������ 0���������� 0���������� 0���������� 0 BMU
lo�������������� 65536 0���������� 1187���������� 0���������� 0 0������������������ 1187���������� 0���������� 0���������� 0 LRU
wlp3s0�������� 1500 0���������� 4943���������� 0���������� 0 0������������������ 2904���������� 0���������� 0���������� 0 BMRU
wlp3s0������ Link encap:Ethernet�� HWaddr 94:53:30:14:aa:6d ��
������������������ inet addr:192.168.0.14�� Bcast:192.168.0.255�� Mask:255.255.255.0
������������������ inet6 addr: fe80::21f3:b81d:eab3:f830/64 Scope:Link
������������������ UP BROADCAST RUNNING MULTICAST�� MTU:1500�� Metric:1
������������������ RX packets:4998 errors:0 dropped:0 overruns:0 frame:0
������������������ TX packets:2904 errors:0 dropped:0 overruns:0 carrier:0
������������������ collisions:0 txqueuelen:1000
������������������ RX bytes:6864552 (6.8 MB)�� TX bytes:295070 (295.0 KB)
The second line has the host address and the broadcast address. I didn't say easy, I said possible. This works in Linux and MacOS. I dunno about MS Windows.