Considering the following kernel IP routing table below, which of the following commands must be used to remove the route to the network 10.10.1.0/24? (Select TWO answers)

Kernel IP routing table

Destination    Gateway         Genmask          Flags Metric Ref Use Iface

203.0.113.162  0.0.0.0         255.255.255.255  UH    0      0   0   ppp0
172.16.87.0    0.0.0.0         255.255.255.0    U     0      0   0   eth0
192.168.246.0  0.0.0.0         255.255.255.0    U     0      0   0   eth1
10.10.1.0      192.168.246.11  255.255.255.0    UG    0      0   0   eth1
127.0.0.0      0.0.0.0         255.0.0.0        U     0      0   0   lo
0.0.0.0        203.0.113.162   0.0.0.0          UG    0      0   0   ppp0

A.

ip net delete 10.10.1.0/24

B.

route del 10.10.1.0/24

C.

route del -net 10.10.1.0/24

D.

route del 10.10.1.0/24 gw 192.168.246.11

E.

ip route delete 10.10.1.0/24

题解

「route」指令用来显示或是管理 IP 路由表。「del」参数可以用来删除路由表上的项目。「-net」参数用来指定目标网络,「-host」参数则是用来指定目标主机。

「ip」指令可以显示或是管理路由、设备、路由政策和隧道协定。「route」参数可以用来管理路由表,「delete」或是「del」参数可以删除指定的路由。

所以答案是选项「C」和选项「E」。