Linux ip: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 36: Line 36:
ip link set dev eth0 multicast on|off
ip link set dev eth0 multicast on|off
</pre>
</pre>
==Routing==
* [[Linux_Routing_Configuration#Adding_Multicast_Routing_to_a_Specific_Network_Interface|Add Multicast Routing to a Specific Network Interface]].


=Multicast=
=Multicast=

Revision as of 17:36, 21 March 2017

External

Internal

Overview

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

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