Skip to main content

Network

set static ip address

  • sudo nano /etc/network/interfaces:
auto ens18
iface ens18 inet static
  address 192.168.0.2
  netmask 255.255.255.0
  gateway 192.168.0.1
  dns-nameservers 89.207.128.252 89.207.130.252
  • sudo reboot

get mac address (linux and windows)

  • on linux install net-tools first: sudo apt install net-tools
  • ping host to get mac address in cache: ping 192.168.0.251
  • get physical address (mac): arp -a 192.168.0.251