预配置

auto lo
iface lo inet loopback

auto eth0 
iface eth0 inet static
        address 192.168.104.10
        netmask 255.255.255.0
        network 192.168.104.0
        broadcast 192.168.104.255


# The primary network interface
auto eth1
iface eth1 inet static
        address 172.16.12.2
        netmask 255.255.255.0
        network 172.16.12.0
        broadcast 172.16.12.255


auto eth2
iface eth2 inet dhcp
上一篇:套接口、ip、端口号相关


下一篇:mysql8安装脚本以及系统调试