Difference between revisions of "Ip (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
  
  
 +
== Linux ==
 
* <code>[[ip route show]]</code>. See also: <code>[[netstat]] -rnv</code>
 
* <code>[[ip route show]]</code>. See also: <code>[[netstat]] -rnv</code>
 
* <code>ip route add</code>
 
* <code>ip route add</code>
Line 9: Line 10:
  
 
[[Policy based routing]] / Source routing policy:
 
[[Policy based routing]] / Source routing policy:
  ip roule add from <source>/<mask> table <name>  
+
  ip route add from <source>/<mask> table <name>  
 
  ip route add 1.2.3.4/24 via <router> dev eth4 table <name>
 
  ip route add 1.2.3.4/24 via <router> dev eth4 table <name>
  
[[Cisco IOS]]
+
[[ip link]] add wg0 type [[wireguard]]
 +
 
 +
== [[Cisco IOS]] ==
 
* <code>[[debug]] [[ip domain]]</code>
 
* <code>[[debug]] [[ip domain]]</code>
  

Revision as of 09:45, 10 April 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

Cisco IOS


See also

Advertising: