Сценарии практического занятия на тему: Управление сетью

«Вопросы»

  1. ifconfig -a
  2. ping 127.0.0.1
  3. ifconfig eth0 down
  4. ifconfig eth0 192.168.1.1 up
  5. ifconfig eth0 10.10.1.1 netmask 255.0.0.0 up
  6. arp

«Вопросы»

  1. route -n
  2. route add -host 10.10.2.1 dev eth0
  3. route del -host 10.10.2.1
  4. route add -net 192.168.1.0 gw 10.10.1.253
  5. traceroute ya.ru

«Вопросы»

  1. cat /etc/hosts
  2. ping ya.ru
  3. cat /etc/resolv.conf
  4. host ya.ru
  5. host ya.ru ns1.yandex.ru

«Вопросы»

  1. telnet ya.ru 80
  2. netstat -t
  3. netstat -a

«Вопросы»

  1. ssh user@10.10.1.222
  2. who
  3. exit