diff --git a/pages/common/ifconfig.md b/pages/common/ifconfig.md new file mode 100644 index 0000000000..e4a0563f35 --- /dev/null +++ b/pages/common/ifconfig.md @@ -0,0 +1,23 @@ +# ifconfig + +> ifconfig - Interface Configurator, used to configure network interfaces. + +- View network settings of an ethernet adapter. + +`ifconfig eth0` + +- Display details of all interfaces, including disabled interfaces. + +`ifconfig -a` + +- Disable eth0 interface. + +`ifconfig eth0 down` + +- Enable eth0 interface. + +`ifconfig eth0 up` + +- Assign IP address to eth0 interface. + +`ifconfig eth0 {{ip_address}}`