[Edit]
+
0
-
0

Linux bring down and bring up network interface using ip command

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# Simple steps: # # 1. find network interface that you want to use: # e.g. https://dirask.com/snippets/Linux-list-network-interfaces-using-using-ip-command-1AoO5p # # 2. bring down and bring up network interface using: # e.g. ip link set dev eth0 down ip link set dev eth0 up # Syntax: # # ip link set dev <interface> up # ip link set dev <interface> down