kaisawind's blog
  • 关于
  • 所有帖子

linux的interfaces网络配置 - Wed, Mar 9, 2022

linux的interfaces网络配置

/etc/network/interfaces

# cat /etc/network/interfaces 
# interface file auto-generated by buildroot

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
  address 192.168.1.100
  netmask 255.255.255.0
  gateway 192.168.1.1


辽ICP备2021007608号 | © 2025 | kaisawind

Facebook Twitter GitHub