About

Work - Learn - Share

Lê Quang Thành : quangthanh010290@gmail.com | thanhlev@amazon.com.vn

Linux Network Management

Table of contents

  1. Ifupdown
  2. Network Manager
  3. Systemd-networkd
  4. Netplan
  5. Netifd

Ifupdown

# static IP
iface eth0 inet static
    address 192.168.0.111
    netmask 255.255.255.0
    gateway 192.168.0.1

# DHCP IP
iface eth0 inet dhcp

# Wi-Fi interface
iface wlan0 inet dhcp
    wireless-essid myessid
    wireless-key 123456789e
# ls /etc/network/if-pre-up.d
bridge : Cấu hình các cho software bridge interface
wireless-tools: Cấu hình wireless interface sử dụng iwconfig tool
wpasupplicant : Cấu hình Wi-Fi interface  mode station

Network Manager

Netplan

Netifd