Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,23 +1,23 @@
# ip
> Show / manipulate routing, devices, policy routing and tunnels
> Show / manipulate routing, devices, policy routing and tunnels.
- List interfaces with detailed info
- List interfaces with detailed info:
`ip a`
- Display the routing table
- Display the routing table:
`ip r`
- Make an interface up/down
- Make an interface up/down:
`ip link set {{interface}} up/down`
- Add/Delete an ip address to an interface
- Add/Delete an ip address to an interface:
`ip addr add/del {{ip}}/{{mask}} dev {{interface}}`
- Add an default route
- Add an default route:
`ip route add default via {{ip}} dev {{interface}}`