9/19/2023 0 Comments Arch linux ifconfigIn this example, let us discuss how to bring Up/Down the Network interface using ip command.Ĭommon Syntax for ip: # ip link set Down/Up Unknown interface enp0s8 3) Bringing UP/Down Network Interface using ip command? Unknown interface message will appear when executed. Inet6 fe80::a00:27ff:fed5:a018/64 scope link tentative dadfailedĪs mentioned earlier, ifup and ifdown does not support the latest interface device bearing the names such as enpXXX. # ip a sh dev eth1ģ: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 “eth1” interface status can be further verified by running the following command. Run the following command to bring up the eth1 interface. “enp0s3” interface status can be further verified by running the following command.ģ: eth1: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 Please run the following command to bring up the enp0s3 interface. # ifconfig enp0s3 downĪs per the following output, enp0s3 interface is down # ip a sh dev enp0s3Ģ: enp0s3: mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 Please remember to enter the interface name of your system, instead of “enp0s3” as mentioned in this example. Run the following command to bring down the enp0s3 interface in the system. In this example, let us see, how to bring up and down the interface using ifconfig command.Ĭommon Syntax for ifconfig: # ifconfig Down/Up Ifconfig runs at boot time to set up network interfaces and provides a lot of information about the NIC. Valid_lft forever preferred_lft forever 1) Bring UP/Down Network Interface, using ifconfig command Inet6 fe80::3899:270f:ae38:b433/64 scope link noprefixrouteģ: enp0s8: mtu 1500 qdisc fq_codel state UP group default qlen 1000 Valid_lft 86049sec preferred_lft 86049sec # ip aġ: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 According to the below output, two network interfaces (enp0s3 & enp0s8) are up and running in the system. Ip command shows the available network interface card information in the Linux system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |