Tuesday, February 16, 2021

ipconfig replaced by ip

 

ipconfig vs ip

show
ipconfig  ip addr show <interface>
                ip a
 
add
ifconfig eth0 add 192.168.80.174                ip a add 192.168.80.174 dev eth0
ifconfig eth0 add 192.168.80.174                ip a add 192.168.80.174 dev eth0
ifconfig eth0 del 192.168.80.174                 ip a del 192.168.80.174 dev eth0
ifconfig eth0 hw ether 00:0c:29:33:4e:aa    ip link set dev eth0 address 00:0c:29:33:4e:aa

Deprecated command

Replacement command(s)

arp ip n (ip neighbor)
ifconfig ip a (ip addr), ip link, ip -s (ip -stats)
iptunnel ip tunnel
iwconfig iw
nameif ip link, ifrename
netstat ss, ip route (for netstat-r), ip -s link (for netstat -i), ip maddr (for netstat-g)
route ip r (ip route)

 

--30--

No comments:

Post a Comment