Wie lösche ich die virtuelle Schnittstelle in linux?
ip-link zeigt:
[root@0-25-90-68-79-4a log]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000
link/ether 00:25:90:68:79:4a brd ff:ff:ff:ff:ff:ff
5: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:25:90:68:79:4a brd ff:ff:ff:ff:ff:ff
8: gre0: <NOARP> mtu 1476 qdisc noop state DOWN
link/gre 0.0.0.0 brd 0.0.0.0
10: 35978f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br35978f0 state UP qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
13: br35978f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
Hier-Schnittstelle 35978f0 ist die virtuelle Schnittstelle, die gebunden ist, zu überbrücken br 35978f0 hab ich schon gemacht, ifconfig 35978f0 unten und brctl delif br35978f0 35978f0.
Aber wie lösche ich die Schnittstelle 35978f0 ?
verwenden Sie ip link löschen 35978f0
InformationsquelleAutor vikas | 2015-12-17
Du musst angemeldet sein, um einen Kommentar abzugeben.
Können Sie
ip link delete
zum entfernen der Schnittstelle.führen Sie den Befehl mit sudo aus
InformationsquelleAutor Frederik Deweerdt
Haben Sie versucht:
ifconfig 10:35978f0 down
Als die physikalische Schnittstelle ist
10
und der virtuelle Aspekt ist nach dem Doppelpunkt:
.Siehe auch
https://www.cyberciti.biz/faq/linux-command-to-remove-virtual-interfaces-or-network-aliases/
InformationsquelleAutor Just trying to help