Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

10.2.2 Low level network configuration – ip

The ip equivalents of the preceding ifconfig and route commands are:

  • ip link show

  • ip route list

  • ip link set eth0 down

  • ip addr del dev eth0 local 192.168.0.3

  • ip addr add dev eth0 local 192.168.0.111/24 broadcast 192.168.0.255

  • ip link set eth0 up

  • ip route add dev eth0 to 10.0.0.0/8 src 192.168.0.111 via 192.168.0.1

The ip program prints its command syntax when run with the argument help. For example, ip link help prints:

     Usage: ip link set DEVICE { up | down | arp { on | off } |
                          dynamic { on | off } |
                          multicast { on | off } | txqueuelen PACKETS |
                          name NEWNAME |
                          address LLADDR | broadcast LLADDR |
                          mtu MTU }
            ip link show [ DEVICE ]

See also ip(8).


Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire