[CentOS] what is difference between ifconfig and ifup?

Billy Crook bcrook at riskanalytics.com
Mon Feb 3 21:37:30 UTC 2014


ifup/ifdown read your sysconfig/network-scripts/ifcfg-eth# config.
ifconfig does not, so must be told how to configure the nic usually.

On Mon, Feb 3, 2014 at 3:30 PM, mcclnx mcc <mcclnx at yahoo.com.tw> wrote:
> 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.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos



-- 
Billy Crook * Network and Security Administrator * RiskAnalytics, LLC



More information about the CentOS mailing list