Linux ip: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:


<tt>ip</tt> is the Linux command to show and manipulate routing, devices, policy routing and tunnels.
<tt>ip</tt> is the Linux command to show and manipulate routing, devices, policy routing and tunnels.
=Installation=
yum install -y iproute


=Usage Examples=
=Usage Examples=

Revision as of 06:38, 2 May 2018

External

Internal

Overview

ip is the Linux command to show and manipulate routing, devices, policy routing and tunnels.

Installation

yum install -y iproute

Usage Examples

Show All Network Interfaces and Their Details

ip addr show

Show Details for a Specific Network Interface

ip addr show dev eth0

Turn Device On/Off

ip link set dev eth0 up|down

Change MULTICAST Flag on Device

ip link set dev eth0 multicast on|off

Routing

Multicast

maddr

ip maddr

Displays multicast addresses.

mrule

ip mrule

Route Management

Linux Routing Configuration