есть несколько сетевых интерфейсов
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet AA.BB.CC.DD netmask 255.255.255.192 broadcast AA.BB.CC.DF
ether 00:23:26:a6:1d:d6 txqueuelen 1000 (Ethernet)
RX packets 153702 bytes 87702578 (83.6 MiB)
RX errors 0 dropped 171562 overruns 0 frame 0
TX packets 5303 bytes 486501 (475.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16
eth0.538: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.25.0.91 netmask 255.255.255.0 broadcast 10.25.0.255
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 128 bytes 12547 (12.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 1308 (1.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.808: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.54.0.252 netmask 255.0.0.0 broadcast 10.255.255.255
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 609 bytes 42513 (41.5 KiB)
RX errors 0 dropped 17 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.2805: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.6.29 netmask 255.255.254.0 broadcast 192.168.7.255
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 1447 bytes 93903 (91.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1425 bytes 109795 (107.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.2806: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.22.41 netmask 255.255.254.0 broadcast 192.168.23.255
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 1415 bytes 89847 (87.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1405 bytes 108368 (105.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.3805: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet AA.BB.CC.D1 netmask 255.255.255.0 broadcast AA.BB.CC.D2
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 25519 bytes 1964130 (1.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 20 bytes 3118 (3.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.3807: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.30.6.100 netmask 255.255.254.0 broadcast 172.30.7.255
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 6136 bytes 426102 (416.1 KiB)
RX errors 0 dropped 106 overruns 0 frame 0
TX packets 14 bytes 1554 (1.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.3813: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet AA.BB.CC.D3 netmask 255.255.255.0 broadcast AA.BB.CC.D4
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 27177 bytes 2262572 (2.1 MiB)
RX errors 0 dropped 17 overruns 0 frame 0
TX packets 27 bytes 6036 (5.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.3825: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet AA.BB.CC.D5 netmask 255.255.255.128 broadcast AA.BB.CC.D6
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 6555 bytes 1049601 (1.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7 bytes 620 (620.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.4080: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.5.174 netmask 255.255.254.0 broadcast 192.168.5.255
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 56751 bytes 76186086 (72.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 56 bytes 4114 (4.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.4081: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.24.153 netmask 255.255.254.0 broadcast 192.168.25.255
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 7 bytes 623 (623.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6 bytes 578 (578.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0.4082: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.12.148 netmask 255.255.254.0 broadcast 192.168.13.255
ether 00:23:26:a6:1d:d6 txqueuelen 0 (Ethernet)
RX packets 9 bytes 715 (715.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6 bytes 578 (578.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 4409601 bytes 6924785550 (6.4 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4409601 bytes 6924785550 (6.4 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
y@y-c ~ $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 AAA.BBB.CCC.DDD 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.25.0.1 0.0.0.0 UG 263 0 0 eth0.538
0.0.0.0 192.168.6.1 0.0.0.0 UG 265 0 0 eth0.2805
0.0.0.0 192.168.22.1 0.0.0.0 UG 266 0 0 eth0.2806
0.0.0.0 AAA.BBB.CCC.DDD 0.0.0.0 UG 267 0 0 eth0.3805
0.0.0.0 172.30.7.254 0.0.0.0 UG 269 0 0 eth0.3807
0.0.0.0 AAA.BBB.CCC.DDD 0.0.0.0 UG 270 0 0 eth0.3813
0.0.0.0 AAA.BBB.CCC.DDD 0.0.0.0 UG 271 0 0 eth0.3825
0.0.0.0 192.168.24.1 0.0.0.0 UG 272 0 0 eth0.4081
0.0.0.0 192.168.12.1 0.0.0.0 UG 273 0 0 eth0.4082
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0.808
10.15.1.0 192.168.4.3 255.255.255.0 UG 0 0 0 eth0.4080
10.25.0.0 0.0.0.0 255.255.255.0 U 263 0 0 eth0.538
A.B.C.D 0.0.0.0 255.255.255.0 U 270 0 0 eth0.3813
A.B.C.D 0.0.0.0 255.255.255.128 U 271 0 0 eth0.3825
92.60.178.0 0.0.0.0 255.255.255.0 U 267 0 0 eth0.3805
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
172.30.6.0 0.0.0.0 255.255.254.0 U 269 0 0 eth0.3807
192.168.4.0 0.0.0.0 255.255.254.0 U 274 0 0 eth0.4080
192.168.6.0 0.0.0.0 255.255.254.0 U 265 0 0 eth0.2805
192.168.12.0 0.0.0.0 255.255.254.0 U 273 0 0 eth0.4082
192.168.22.0 0.0.0.0 255.255.254.0 U 266 0 0 eth0.2806
192.168.24.0 0.0.0.0 255.255.254.0 U 272 0 0 eth0.4081
A.B.C.D 0.0.0.0 255.255.255.192 U 0 0 0 eth0
224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 eth0.4080
192.168.24.0 0.0.0.0 255.255.254.0 U 272 0 0 eth0.4081
2. Можно ли запустить dhcpcd eth0.4080, потом убить dhcpcd и удалять нужные строчки с роутов? 2.