[CentOS] what is difference between ifconfig and ifup?

mcclnx mcc

mcclnx at yahoo.com.tw
Mon Feb 3 21:30:35 UTC 2014


I and testing command line to up and down ethernet connection.

if I perform following, client can not re-connect.
      ifconfig eth0 down
      ifconfig eth0 up

if I use following, client can re-connect:
      ifconfig eth0 down
      ifup eth0

What difference between "ifconfig up" and "ifup"?

thanks.



More information about the CentOS mailing list