Linux
#vanem lähenemine
ifconfig
ifconfig -a
#uuem lähenemine
ip a
ip a s eth0
ip -d a s eth0 #-d detail
networkctl list [eth0]
networkctl status
networkctl -a #kõik liidesed
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 nat ether routable configured
3 host-only ether routable configured
#riistvara teave
sudo lshw -C network
sudo lshw -C network -businfo
ethtool eth0
ethtool -i eth0
ethtool -P eth0 #MAC-aadress
MS Windows
ipconfig
ipconfig /all
Linuxis:
inet addr #IPv4
inet6 addr #IPv6
HWaddr *#*MAC-aadress
link/ether *#*MAC-aadress
näiteks eth0 MAC-aadressi näeb veel ka:
cat /sys/class/net/eth0/address
MS Windows:
Physical Address *#*MAC-aadress