How to switch from NetworkManager to systemd-networkd on Linux

In the world of Linux, adoption of systemd has been a subject of heated controversy, and the debate between its proponents and critics is still going on. As of today, most major Linux distributions have adopted systemd as a default init system. Billed as a “never finished, never complete, but tracking progress of technology” by […]
Continue reading…

 

How to diskless boot a Linux machine

Diskless booting implies that a client computer does not have any disk storage when booting an operating system. In that case, the computer can load the kernel as well as the root filesystem from a remote NFS server over network. It may use several different methods to load the kernel and the root filesystem from […]
Continue reading…

 

How to configure an IP address on Raspberry Pi

The default Raspbian system for Raspberry Pi is set up to get an IP address automatically from the network via DHCP, whether for wired Ethernet or wireless WiFi (via a USB wireless dongle). Raspbian can support both IPv4 and IPv6. IPv4 is ready for use by default, while IPv6 must be enabled manually. If you […]
Continue reading…

 

How to find a rogue DHCP server

If your company has a large corporate network shared by many employees, you may have encountered the case where your host machine is getting an IP address assigned by some unknown DHCP server not under the administrative control of the corporate network, which in turn causes various connectivity issues for your host. When a host […]
Continue reading…

 

How to find the IP address of a DHCP server

When a network interface configured with DHCP is being enabled, a host machine broadcasts DHCP discovery message to discover available DHCP server(s) on the network. Once the host has received a DHCP offer message from any DHCP server, it then sends a DHCP request message to the DHCP server to finalize the lease of an […]
Continue reading…

 

How to set up DHCP and NAT on Vyatta router

Vyatta is a feature-rich enterprise class software router. You can download a free community version of Vyatta. Vyatta router can easily be built on a physical machine via a well-packaged LiveCD, or on a VMware virtual machine (VM) via a custom virtual appliance. As a ready-made software router, Vyatta can be configured extremely easily to […]
Continue reading…

 

How to configure network interfaces in CentOS

In CentOS, Fedora or RHEL, you can configure network interfaces by using configuration files located in /etc/sysconfig/network-scripts/. For each network interface (e.g., eth0), there should be a corresponding configuration file (e.g., ifcfg-eth0) in the directory. If you would like to configure a network interface, do the following. $ sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 If you would like […]
Continue reading…