网络配置

    xiaoxiao2021-12-13  24

    Ubuntu系统进行网络配置涉及到几个配置文件1./etc/network/interfaces 2./etc/resolv.conf

    vi  /etc/network/interfaces  auto lo iface lo inet loopback

    1.NAT连接(动态获取)

    auto eth0 iface eth0 inet dhcp 2.静态分配的配置方法: auto eth0 iface eth0 inet static address 192.168.0.1 netmask  255.255.255.0 gateway  192.168.0.1

    转载请注明原文地址: https://ju.6miu.com/read-950372.html

    最新回复(0)