Debian ifconfig inet611/9/2023 ![]() ![]() You can use ifconfig to change the status of a network interface from inactive to active, or vice versa. When a network interface is active, it can send and receive data when it is inactive, it is not able to transmit or receive. ![]() displays the configuration of device eth0 only. To view the configuration of a specific interface, specify its name as an option. Viewing the configuration of a specific interface This produces output similar to running ifconfig, but if there are any inactive interfaces on the system, their configuration is also shown. If you'd like to view the configuration of all network interfaces on the system (not just the ones that are currently active), you can specify the -a option, like this: ifconfig -a Viewing the configuration of all interfaces Check your configuration, or consult your documentation, to determine the exact names of your interfaces. For instance, under many BSD operating systems, Ethernet interfaces are named em0, em1, etc. These are the traditional naming conventions for network interfaces under Linux other operating systems may have different names. Additional wireless interfaces would be named wlan1, wlan2, etc. ![]() wlan0 is the name of the first wireless network interface on the system.This is a special network interface that the system uses to communicate with itself. (Additional Ethernet interfaces would be named eth1, eth2, etc.) This type of interface is usually a NIC connected to the network by a category 5 cable. Here, eth0, lo and wlan0 are the names of the active network interfaces on the system. TX packets:364103 errors:0 dropped:0 overruns:0 carrier:0 RX packets:436968 errors:0 dropped:0 overruns:0 frame:0 TX packets:83 errors:0 dropped:0 overruns:0 carrier:0 RX packets:83 errors:0 dropped:0 overruns:0 frame:0 TX packets:48515 errors:0 dropped:0 overruns:0 carrier:0 RX packets:54071 errors:1 dropped:0 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 The output resembles the following: eth0 Link encap:Ethernet HWaddr 09:00:12:90:e3:e5 displays information about all network interfaces currently in operation. Running the ifconfig command with no arguments, like this: ifconfig Ifconfig stands for "interface configuration." It is used to view and change the configuration of the network interfaces on your system. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |