Ip command

From DD-WRT Wiki

Revision as of 15:34, 9 July 2006 by 219.240.12.173 (Talk)
Jump to: navigation, search

This is an infant page. Clean it up and fill it with content!


Contents

Basic Usage

As always, things in [ ] are optional and | means or

ip [ OPTIONS ] OBJECT { COMMAND | help }

Ex: To get help on the link object, one would enter

ip link help

781342388830288733115714

OBJECTs

Objects can be any of the following. (A short description of each should be added)

link 
kkl
route
rule
neigh 
tunnel
maddr
mroute
monitor

OPTIONS

Options can either be the short or long version
Ex: ip -V is the same as ip -Version

-V[ersion]
-s[tatistics]
-r[esolve]
-n[num tables]|
-f[amily]
-o[neline]

family

Family itself can take additional options:

 inet
 inet6
 ipx
 dnet
 link