• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Comparing NET-TOOLS V/s IPROUTE Package Commands (ip Vs ifconfig command comparison)

By admin

Below is a short comparison of the commands provided by the net-tools V/s iproute package. Basically we will be comparing the commands ifconfig V/s ip.

NET-TOOLS COMMANDS IPROUTE COMMANDS
arp -a ip neigh
arp -v ip -s neigh
arp -s 192.168.1.1 1:2:3:4:5:6 ip neigh add 192.168.1.1 lladdr 1:2:3:4:5:6 dev eth1
arp -i eth1 -d 192.168.1.1 ip neigh del 192.168.1.1 dev eth1
ifconfig -a ip addr
ifconfig eth0 down ip link set eth0 down
ifconfig eth0 up ip link set eth0 up
ifconfig eth0 192.168.1.1 ip addr add 192.168.1.1/24 dev eth0
ifconfig eth0 netmask 255.255.255.0 ip addr add 192.168.1.1/24 dev eth0
ifconfig eth0 mtu 9000 ip link set eth0 mtu 9000
ifconfig eth0:0 192.168.1.2 ip addr add 192.168.1.2/24 dev eth0
netstat ss
netstat -neopa ss -neopa
netstat -g ip maddr
route ip route
route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0 i ip route add 192.168.1.0/24 dev eth0
route add default gw 192.168.1.1 ip route add default via 192.168.1.1
ip Command Examples to Manage Networking in Linux
‘ip’ Command cheat sheet (Command Line Reference)

Filed Under: Linux

Some more articles you might also be interested in …

  1. Understanding linux fdisk utility
  2. Understanding OS load average and run queue/blocked queue in terms of CPU utilization in Linux
  3. How to Re-Create the Yum Cache and/or Force a Fetch of the Package List of the Enabled Repositories
  4. “uname” Command Examples to Check UNIX/Linux Version
  5. How to extract RPM package without installing it
  6. CentOS / RHEL 7 : How to recover from deleted root entry in /etc/shadow and/or /etc/passwd files
  7. CentOS / RHEL 7 : Shutting Down, Suspending, or Rebooting Commands (systemctl)
  8. How to install/remove/query/update RPM packages in Linux (Cheat Sheet)
  9. Linux OS Service ‘hplip’
  10. How to grow/extend XFS filesytem in CentOS / RHEL using “xfs_growfs” command

You May Also Like

Primary Sidebar

Recent Posts

  • MySQL: how to figure out which session holds which table level or global read locks
  • Recommended Configuration of the MySQL Performance Schema
  • MySQL: Identify what user and thread are holding on to a meta data lock that is preventing other queries from running
  • MySQL: How to kill a Long Running Query using max_execution_time
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary