List Network Interfaces on Linux Systems (and others)

Show Network Interfaces The network configuration is a common place to start during system configuration, security audits, and troubleshooting. No surprise that Lynis helps with collecting information about network interfaces, like MAC and IP addresses. We will have a look on how to gather this information yourself, like listing all available interfaces. Although we focus a lot here at Linux, we will include tips for other platforms, like macOS. Network configuration Linux Previously the most obvious command to obtain the available […]

Read more

How to clear the ARP cache on Linux?

How to clear the ARP cache on Linux? In some cases, you might need to clear your ARP cache. There are two common ways on Linux, using the arp or ip utility. Depending on your Linux distribution, it might be preferred to use the ip utility. Clearing cache with arp The arp utility does not accept an option to clear the full cache. Instead, it allows to flush out entries found with the -d option. root@ubuntu:~# arp -d 192.168.1.1 After […]

Read more