ifconfig 查看ip,没有ip时需要配置

配置步骤:

1输入命令setup,选择network configuration,选择runtool,选择device configuration,选择eth0,修改Use DHCP,把* 用空格键删除,修改static ip为192.168.17.10(不能跟网关ip一样),子网掩码 netmask 为255.255.255.0,default gateway ip为192.168.17.2,seconary DNS Server 为8.8.8.8(或者192.168.17.2),然后保存退出,重启。

2 重启命令service network restart

查看ip ifconfig

ifconfig eth0 down

reboot

如果还是没有ip,进行以下操作,勾选connect automatically,应用。

之后就会出现ip了。

大数据学习——linux系统的网卡配置步骤

 

大数据学习——linux系统的网卡配置步骤

大数据学习——linux系统的网卡配置步骤

 

查看网络ip

大数据学习——linux系统的网卡配置步骤

 

大数据学习——linux系统的网卡配置步骤

 

相关文章:

  • 2021-07-12
  • 2021-10-03
  • 2022-02-10
  • 2021-07-27
  • 2021-05-17
  • 2021-04-24
  • 2021-09-12
猜你喜欢
  • 2022-01-08
  • 2021-09-07
  • 2022-02-10
  • 2021-10-07
  • 2022-01-08
  • 2021-09-30
  • 2021-12-11
相关资源
相似解决方案