发布网友 发布时间:2022-04-29 13:51
共1个回答
热心网友 时间:2023-10-09 06:35
摘要vim /etc/sysconfig/network-scripts/ifcfg-ens33TYPE=“Ethernet”PROXY_METHOD=“none”BROWSER_ONLY=“no”BOOTPROTO=staticDEFROUTE=“yes”IPV4_FAILURE_FATAL=“no”IPV6INIT=“yes”IPV6_AUTOCONF=“yes”IPV6_DEFROUTE=“yes”IPV6_FAILURE_FATAL=“no”IPV6_ADDR_GEN_MODE=“stable-privacy”NAME=“ens33”UUID=“5095beff-bc74-4cfa-b2df-428adc10fe7d”DEVICE=“ens33”ONBOOT=“yes”IPADDR=192.168.9.22NETMASK=255.255.255.0GATEWAY=192.168.9.2DNS1=8.8.8.8DNS2=114.114.114.114咨询记录 · 回答于2021-07-10如何给ens33网卡配置ip地址分别为192.168.0.10和172.16.10.244,子网掩码均为DEVICE=“ens33” ONBOOT=“yes” IPADDR=192.168.9.22 NETMASK=255.255.255.0 GATEWAY=192.168.9.2 DNS1=8.8.8.8 ...我这边快没时间了后边还有省略号?vim /etc/sysconfig/network-scripts/ifcfg-ens33TYPE=“Ethernet”PROXY_METHOD=“none”BROWSER_ONLY=“no”BOOTPROTO=staticDEFROUTE=“yes”IPV4_FAILURE_FATAL=“no”IPV6INIT=“yes”IPV6_AUTOCONF=“yes”IPV6_DEFROUTE=“yes”IPV6_FAILURE_FATAL=“no”IPV6_ADDR_GEN_MODE=“stable-privacy”NAME=“ens33”UUID=“5095beff-bc74-4cfa-b2df-428adc10fe7d”DEVICE=“ens33”ONBOOT=“yes”IPADDR=192.168.9.22NETMASK=255.255.255.0GATEWAY=192.168.9.2DNS1=8.8.8.8DNS2=114.114.114.114这是答案?