Загрузка данных


Windows:
Get-NetAdapter
New-NetIPAddress -InterfaceAlias 'Ethernet' -IPAddress 192.168.10.10 -PrefixLength 24 -DefaultGateway 192.168.10.1
ipconfig /all
Test-NetConnection 192.168.10.20
Test-NetConnection 192.168.10.1 -Port 22
tracert 192.168.10.20
arp -a
Linux (Ubuntu, netplan), файл /etc/netplan/01-lab.yaml (права 600):
network:
  version: 2
  ethernets:
    enp3s0:
      dhcp4: false
      addresses: [192.168.10.20/24]
      routes:
        - to: default
          via: 192.168.10.1
sudo chmod 600 /etc/netplan/01-lab.yaml
sudo netplan try
ip a; ip route
ping -c 4 192.168.10.10
ss -tulpn