Table of Contents

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

results matching ""

    No results matching ""