Table of Contents
- Introduction 1.1
- Overview 1.2
-
Address management
1.3
- 1. Show all addresses 1.3.1
- 2. Show addresses for a single interface 1.3.2
- 3. Show addresses only for running interfaces 1.3.3
- 4. Show only static or dynamic IPv6 addresses 1.3.4
- 5. Add an address to an interface 1.3.5
- 6. Add an address with human-readable description 1.3.6
- 7. Delete an address 1.3.7
- 8. Remove all addresses from an interface 1.3.8
- 9. Notes 1.3.9
- Neighbor (ARP and NDP) table management 1.4
-
Link management
1.5
- 1. Show information about all links 1.5.1
- 2. Show information about specific link 1.5.2
- 3. Bring a link up or down 1.5.3
- 4. Set human-readable link description 1.5.4
- 5. Rename an interface 1.5.5
- 6. Change link layer address (usually MAC address) 1.5.6
- 7. Change link MTU 1.5.7
- 8. Delete a link 1.5.8
- 9. Enable or disable multicast on an interface 1.5.9
- 10. Enable or disable ARP on an interface 1.5.10
- 11. Create a VLAN interface 1.5.11
- 12. Create a QinQ interface (VLAN stacking) 1.5.12
- 13. Create pseudo-ethernet (aka macvlan) interface 1.5.13
- 14. Create a dummy interface 1.5.14
- 15. Create a bridge interface 1.5.15
- 16. Add an interface to bridge 1.5.16
- 17. Remove interface from bridge 1.5.17
- 18. Create a bonding interface 1.5.18
- 19. Create an intermediate functional block interface 1.5.19
- 20. Create a pair of virtual ethernet devices 1.5.20
- Link group management 1.6
- Tun and Tap devices 1.7
-
Tunnel management
1.8
- 1. Create an IPIP tunnel 1.8.1
- 2. Create a SIT tunnel 1.8.2
- 3. Create an IPIP6 tunnel 1.8.3
- 4. Create an IP6IP6 tunnel 1.8.4
- 5. Create a gretap (ethernet over GRE) device 1.8.5
- 6. Create a GRE tunnel 1.8.6
- 7. Create multiple GRE tunnels to the same endpoint 1.8.7
- 8. Create a point-to-multipoint GRE tunnel 1.8.8
- 9. Create a GRE tunnel over IPv6 1.8.9
- 10. Delete a tunnel 1.8.10
- 11. Modify a tunnel 1.8.11
- 12. View tunnel information 1.8.12
- L2TPv3 pseudowire management 1.9
-
VXLAN management
1.10
- 1. Create unicast VXLAN link 1.10.1
- 2. Create multicast VXLAN link 1.10.2
-
Route management
1.11
- 1. Connected routes 1.11.1
- 2. View all routes 1.11.2
- 3. View routes to a network and all its subnets 1.11.3
- 4. View routes to a network and all supernets 1.11.4
- 5. View routes to exact subnet 1.11.5
- 6. View only the route actually used by the kernel 1.11.6
- 7. View route cache (pre 3.6 kernels only) 1.11.7
- 8. Add a route via gateway 1.11.8
- 9. Add a route via interface 1.11.9
- 10. Change or replace a route 1.11.10
- 11. Delete a route 1.11.11
- 12. Default route 1.11.12
- 13. Blackhole routes 1.11.13
- 14. Other special routes 1.11.14
- 15. Routes with different metric 1.11.15
- 16. Multipath routing 1.11.16
-
Policy-based routing
1.12
- 1. Create a policy route 1.12.1
- 2. View policy routes 1.12.2
- 3. General rule syntax 1.12.3
- 4. Create a rule to match a source network 1.12.4
- 5. Create a rule to match a destination network 1.12.5
- 6. Create a rule to match a ToS field value 1.12.6
- 7. Create a rule to match a firewall mark value 1.12.7
- 8. Create a rule to match inbound interface 1.12.8
- 9. Create a rule to match outbound interface 1.12.9
- 10. Set rule priority 1.12.10
- 11. Show all rules 1.12.11
- 12. Delete a rule 1.12.12
- 13. Delete all rules 1.12.13
-
Network namespace management
1.13
- 1. Create a namespace 1.13.1
- 2. List existing namespaces 1.13.2
- 3. Delete a namespace 1.13.3
- 4. Run a process inside a namespace 1.13.4
- 5. List all processes assigned to a namespace 1.13.5
- 6. Identify process' primary namespace 1.13.6
- 7. Assign network interface to a namespace 1.13.7
- 8. Connect one namespace to another 1.13.8
- 9. Monitor network namespace subsystem events 1.13.9
-
Multicast management
1.14
- 1. View multicast groups 1.14.1
- 2. Add a link-layer multicast address 1.14.2
- 3. View multicast routes 1.14.3
-
Network event monitoring
1.15
- 1. Monitor all events 1.15.1
- 2. Monitor specific events 1.15.2
- 3. Read a log file produced by rtmon 1.15.3
- netconf (sysctl configuration viewing) 1.16