Difference between revisions of "Ip (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 17: Line 17:
  
 
  [[ip link]] set eth0 up
 
  [[ip link]] set eth0 up
 +
 +
 +
Set an IP address:
 +
* <code>ip address add 192.168.0.xx dev eth0</code>
  
 
== [[Cisco IOS]] ==
 
== [[Cisco IOS]] ==

Revision as of 08:12, 19 August 2020

This article is a Draft. Help us to complete it.


Linux

Policy based routing / Source routing policy:

ip route add from <source>/<mask> table <name> 
ip route add 1.2.3.4/24 via <router> dev eth4 table <name>
ip link add wg0 type wireguard


ip link set eth0 up


Set an IP address:

  • ip address add 192.168.0.xx dev eth0

Cisco IOS

Related commands

See also

Advertising: