Всем привет.На сервере debian не работает ifdown ifup ifconfig,reboot пишет команда не найдена,когда подключаюсь на этот сервер по ssh команда выполняется(ifdown) но почему-то интерфейс продолжает работать и пишет что он не сконфигурирован.
root@DebianServer:~# ifdown vlan100
ifdown: interface vlan100 not configured
адреса
root@DebianServer:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global ens18
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
3: vlan10@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.10.2/24 brd 192.168.10.255 scope global vlan10
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
4: vlan20@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.20.2/24 brd 192.168.20.255 scope global vlan20
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
5: vlan30@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.30.2/24 brd 192.168.30.255 scope global vlan30
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
6: vlan40@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.40.2/24 brd 192.168.40.255 scope global vlan40
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
7: vlan50@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.50.2/24 brd 192.168.50.255 scope global vlan50
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
8: vlan60@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.60.5/24 brd 192.168.60.255 scope global vlan60
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
9: vlan99@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.99.2/24 brd 192.168.99.255 scope global vlan99
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
11: vlan130@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.130.2/24 brd 192.168.130.255 scope global vlan130
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
12: vlan200@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 172.16.200.2/24 brd 172.16.200.255 scope global vlan200
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
13: vlan210@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 172.16.210.2/24 brd 172.16.210.255 scope global vlan210
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
15: vlan100@ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e2:14:11:91:8a:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.100.2/24 brd 192.168.100.255 scope global vlan100
valid_lft forever preferred_lft forever
inet6 fe80::e014:11ff:fe91:8acf/64 scope link
valid_lft forever preferred_lft forever
сам конфиг
root@DebianServer:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
#auto ens18
#iface ens18 inet static
# address 192.168.100.2
# netmask 255.255.255.0
# gateway 192.168.100.1
# dns-nameservers 127.0.0.1 1.1.1.1
auto ens18
iface ens18 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.50
dns-nameservers 1.1.1.1 8.8.8.8
auto vlan10
iface vlan10 inet static
address 192.168.10.2
netmask 255.255.255.0
gateway 192.168.10.1
vlan-raw-device ens18
auto vlan20
iface vlan20 inet static
address 192.168.20.2
netmask 255.255.255.0
gateway 192.168.20.1
vlan-raw-device ens18
auto vlan30
iface vlan30 inet static
address 192.168.30.2
netmask 255.255.255.0
gateway 192.168.30.1
vlan-raw-device ens18
auto vlan40
iface vlan40 inet static
address 192.168.40.2
netmask 255.255.255.0
gateway 192.168.40.1
vlan-raw-device ens18
auto vlan50
iface vlan50 inet static
address 192.168.50.2
netmask 255.255.255.0
gateway 192.168.50.1
vlan-raw-device ens18
auto vlan60
iface vlan60 inet static
address 192.168.60.5
netmask 255.255.255.0
gateway 192.168.60.1
vlan-raw-device ens18
auto vlan99
iface vlan99 inet static
address 192.168.99.2
netmask 255.255.255.0
gateway 192.168.99.1
vlan-raw-device ens18
auto vlan100
iface vlan100 inet static
address 192.168.100.2
netmask 255.255.255.0
gateway 192.168.100.1
vlan-raw-device ens18
auto vlan130
iface vlan130 inet static
address 192.168.130.2
netmask 255.255.255.0
gateway 192.168.130.1
vlan-raw-device ens18
auto vlan200
iface vlan200 inet static
address 172.16.200.2
netmask 255.255.255.0
gateway 172.16.200.1
vlan-raw-device ens18
auto vlan210
iface vlan210 inet static
address 172.16.210.2
netmask 255.255.255.0
gateway 172.16.210.1
vlan-raw-device ens18