To enable interface eth0 run the following command: $ sudo ifconfig eth0 up ![]() The following command shows to enable and disable specific interface. 2) Enable or disable the network interfaceįor troubleshooting or debugging some system admin have to enable or disable the interface. Note: If you looking for MAC address binded to that interface you can find from the ifconfig output. Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg You can check specific interface (say eth0) details using below command: $ sudo ifconfig eth0 If you want to see all interfaces information (including status up and down) then you have to use -a option. TX packets:3298 errors:0 dropped:0 overruns:0 carrier:0 RX packets:3298 errors:0 dropped:0 overruns:0 frame:0 ![]() TX packets:757638 errors:0 dropped:0 overruns:0 carrier:0 ![]() ![]() RX packets:6053915 errors:0 dropped:11 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Eth0 Link encap:Ethernet HWaddr 44:87:FC:A4:C5:DD
0 Comments
Leave a Reply. |