hostname BR-RTR commit confirm Vim /etc/hostname a hostname ctrl+c :wq! configure interface gigabitethernet 1/0/1 ip firewall disable ip address 172.16.5.2/28 no shutdown BOOTPROTO=static TYPE=eth NM CONTROLLED=no DISABLED=no CONFIG_IPv4=yes BOOTPROTO=dhcp TYPE=eth NM CONTROLLED=yes DISABLED=no CONFIG_IPv4=yes tunnel gre 1 ttl 16 mtu 1400 ip firewall disable local address 172.16.5.2 remote address 172.16.4.2 ip address 172.16.1.2/30 enable exit ip route 0.0.0.0/0 172.16.5.1 exit commit confirm configure username net_admin password P@ssw0rd privilege 15 end commit confirm useradd -m -u 1010 sshuser passwd sshuser Указание пароля vim /etc/sudoers sshuser ALL=(ALL) NOPASSWD:ALL :wq! chmod 7777 /usr/bin/sudo аутентификация под пользователем sshuser Sudo whoami router ospf 1 router-id 172.16.5.2 area 0.0.0.0 network 192.168.1.0/27 network 172.16.1.0/30 enable exit enable tun gre 1 ip ospf instance 1 ip ospf exit router ospf 1 router-id 172.16.4.2 area 0.0.0.0 network 192.168.0.0/26 network