Ifconfig returns flags=4163
May 06, 2020 · The ifconfig command still has a lot to offer its users. Whether its displaying network settings, configuring an IP address or netmask, creating aliases for interfaces, or setting MAC address, ifconfig can handle it. Let's take a look at how to use ifconfig to accomplish some more common tasks you may find yourself working on completing. May 20, 2020 · ifconfig stands for “interface configuration”.It allows us to view and configure network interface settings. $ ifconfig ens33: flags=4163
May 12, 2020 · [root@localhost ~]# ifconfig enp0s3 enp0s3: flags=4163 mtu 1500 inet 192.168.0.103 netmask 255.255.255.0 broadcast 192.168.0.255 ether 08:00:27:1d:8e:54 txqueuelen 1000 (Ethernet) RX packets 33568 bytes 12062979 (11.5 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 20124 bytes 4406857 (4.2 MiB) TX errors
% ifconfig em0: flags=8843
The venerable ifconfig is available on almost every unix I have encountered. In addition to reporting the IP addressing and usage statistics of an optionally specified interface, ifconfig can modify an interface's MTU and other flags and interface characteristics, bring up an interface and bring down an interface.
By default ifconfig will show me all available interfaces , but what if I just want to display active ones? Like, en0 only in below. en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAS % ifconfig em0: flags=8843