Linux ip: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 69: Line 69:
<font color=red>
<font color=red>
TODO
TODO
Route changes operated with ip are not saved. See [[Linux_Routing_Configuration#Routing_Configuration_that_Survives_Reboot|Routing configuration that survives reboot]].
</font>
</font>


Line 79: Line 81:
<font color=red>
<font color=red>
TODO
TODO
Route changes operated with ip are not saved. See [[Linux_Routing_Configuration#Routing_Configuration_that_Survives_Reboot|Routing configuration that survives reboot]].
</font>
</font>



Revision as of 17:25, 22 May 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

Route Management

Listing Routes

ip route

Deleting a Route

TODO

Route changes operated with ip are not saved. See Routing configuration that survives reboot.

ip delete  ...

Adding a Route

TODO

Route changes operated with ip are not saved. See Routing configuration that survives reboot.

ip add ...