Сценарии практического занятия на тему: Управление сетью
«Вопросы»
- ifconfig -a
- ping 127.0.0.1
- ifconfig
eth0 down
- ifconfig eth0 192.168.1.1 up
- ifconfig
eth0 10.10.1.1 netmask 255.0.0.0 up
- arp
«Вопросы»
- route
-n
- route add -host 10.10.2.1 dev eth0
- route del -host 10.10.2.1
- route add -net 192.168.1.0 gw 10.10.1.253
- traceroute ya.ru
«Вопросы»
- cat /etc/hosts
- ping ya.ru
- cat /etc/resolv.conf
- host ya.ru
- host ya.ru
ns1.yandex.ru
«Вопросы»
- telnet ya.ru 80
- netstat
-t
- netstat -a
«Вопросы»
- ssh user@10.10.1.222
- who
- exit