当前位置: 首页 > news >正文

用五百丁做名字的简历网站知名品牌营销策划案例

用五百丁做名字的简历网站,知名品牌营销策划案例,高校二级网站建设方案,网站建设四不问题centos7 添加网卡并设置动态ip,重命名为任意名称 本文记录如何在centos环境上增加两个网卡,并设置为动态获取ip,以及修改网卡名称为任意名称 1、centos7添加两个网卡动态获取ip 1.1 vmvare上添加网络适配器 1、关闭虚拟机 2、 添加网络适…

centos7 添加网卡并设置动态ip,重命名为任意名称

本文记录如何在centos环境上增加两个网卡,并设置为动态获取ip,以及修改网卡名称为任意名称

1、centos7添加两个网卡动态获取ip

1.1 vmvare上添加网络适配器

  • 1、关闭虚拟机
    在这里插入图片描述

  • 2、 添加网络适配器
    在这里插入图片描述

  • 3、 选择网络模式
    博主的三个网卡全都选择了NAT模式
    在这里插入图片描述

  • 4、 点击确定

1.2 修改网卡配置文件

  • 1、使用命令检查一下网卡是否添加成功
ifconfig

如图发现多了两张ens37,ens38的网卡
在这里插入图片描述

  • 2、查看新添加网卡的uuid
nmcli conn

记录下name 对应的uuid
在这里插入图片描述
(ps:我这里的name和device是我已经修改成功的网卡名称enp1s0、enp2s0以及enp3s0,他们之前分别对应ens33、ens37、ens38)

  • 3、修改配置文件

复制已有的ens33网卡文件

cp /etc/sysconfig/network-scripts/ifcfg-ens33 /etc/sysconfig/network-scripts/ifcfg-ens37

修改配置文件

vim /etc/sysconfig/network-scripts/ifcfg-ens37

主要修改以下四哥地方
在这里插入图片描述

  • 4 激活网卡
nmcli connection up ens37 ifup ens37

我在此处有遇到报错大致是 no avaliable ip address 最后排查了半天是在如图所示的地方,nat模式中未启用dhcp服务。
在这里插入图片描述
启用之后我的网卡就激活成功了。

2、修改网卡为任意名称

2.1 修改grub配置文件,取消一致性网络设备命名

vim /etc/default/grub

在GRUD_CMDLINE_LINUX中添加net.ifnames=0 biosdevname=0
在这里插入图片描述

2.2、重新生成GRUB配置并更新内核参数

使用如下命令

grub2-mkconfig -o /boot/grub2/grub.cfg

2.3、修改网卡对应配置文件

我是要将ens33、ens37、ens38网卡重命名为enp1s0、enp2s0、enp3s0
1、重命名网卡文件

mv /etc/sysconfig/network-scripts/ifcfg-ens33 /etc/sysconfig/network-scripts/ifcfg-enp1s0

2、修改网卡文件内容,将name与device修改成目标网卡名
在这里插入图片描述
3、修改网卡文件内容,添加网卡mac地址

ifconfig

查看对应网卡的mac地址
在这里插入图片描述

新增项HWADDR=(ens33的MAC地址)
在这里插入图片描述

2.4 、添加udev规则

在/etc/udev/rules.d/70-persistent-net.rules中添加自定义规则,若是没有70-persistent-net.rules就新创建

vi /etc/udev/rules.d/70-persistent-net.rules

添加内容

SUBSYSTEM=="net",ACTION=="add",DRIVERS=="?*",ATTR{address}=="00:0c:29:ee:1c:aa",ATTR{type}=="1" ,KERNEL=="enp*",NAME="enp1s0"
SUBSYSTEM=="net",ACTION=="add",DRIVERS=="?*",ATTR{address}=="00:0c:29:ee:1c:b4",ATTR{type}=="1" ,KERNEL=="enp*",NAME="enp2s0"
SUBSYSTEM=="net",ACTION=="add",DRIVERS=="?*",ATTR{address}=="00:0c:29:ee:1c:be",ATTR{type}=="1" ,KERNEL=="enp*",NAME="enp3s0"                                                                                                                         

ATTR{address}==(网卡对应mac地址,对应2.3步骤)
NAME=“enp1s0” (对应2.3步骤中的name)

2.5 重启服务器

rebot之后查看ifconfig,成功
在这里插入图片描述


文章转载自:
http://investigable.qwfL.cn
http://cinematics.qwfL.cn
http://earthmover.qwfL.cn
http://cowhouse.qwfL.cn
http://concatenation.qwfL.cn
http://palebuck.qwfL.cn
http://sodar.qwfL.cn
http://oystershell.qwfL.cn
http://nyctanthous.qwfL.cn
http://monotropy.qwfL.cn
http://watchband.qwfL.cn
http://phototypy.qwfL.cn
http://chela.qwfL.cn
http://behindhand.qwfL.cn
http://ashman.qwfL.cn
http://homodesmic.qwfL.cn
http://circularize.qwfL.cn
http://babirusa.qwfL.cn
http://psephite.qwfL.cn
http://artiodactyl.qwfL.cn
http://juberous.qwfL.cn
http://bioclimatograph.qwfL.cn
http://coxcomb.qwfL.cn
http://purulent.qwfL.cn
http://landmass.qwfL.cn
http://mzee.qwfL.cn
http://outscore.qwfL.cn
http://slote.qwfL.cn
http://existential.qwfL.cn
http://diffusedness.qwfL.cn
http://tympanal.qwfL.cn
http://tiddlywinks.qwfL.cn
http://prevail.qwfL.cn
http://peculator.qwfL.cn
http://thalassocrat.qwfL.cn
http://disciplinant.qwfL.cn
http://doronicum.qwfL.cn
http://electrovalency.qwfL.cn
http://maliciously.qwfL.cn
http://built.qwfL.cn
http://remora.qwfL.cn
http://kromesky.qwfL.cn
http://chuttie.qwfL.cn
http://liquorice.qwfL.cn
http://novelese.qwfL.cn
http://tetravalent.qwfL.cn
http://paddywack.qwfL.cn
http://overstuff.qwfL.cn
http://heave.qwfL.cn
http://pillbox.qwfL.cn
http://implode.qwfL.cn
http://denunciate.qwfL.cn
http://ichthyography.qwfL.cn
http://unnoteworthy.qwfL.cn
http://wx.qwfL.cn
http://ethnology.qwfL.cn
http://raphis.qwfL.cn
http://banefully.qwfL.cn
http://quintile.qwfL.cn
http://electrocute.qwfL.cn
http://werwolf.qwfL.cn
http://sensation.qwfL.cn
http://methylate.qwfL.cn
http://birchite.qwfL.cn
http://haberdash.qwfL.cn
http://encephalitogen.qwfL.cn
http://oversexed.qwfL.cn
http://outhit.qwfL.cn
http://refractably.qwfL.cn
http://uri.qwfL.cn
http://earbender.qwfL.cn
http://traductor.qwfL.cn
http://unido.qwfL.cn
http://catabaptist.qwfL.cn
http://circinate.qwfL.cn
http://meiji.qwfL.cn
http://griffith.qwfL.cn
http://recipe.qwfL.cn
http://lobsterling.qwfL.cn
http://leftward.qwfL.cn
http://rideable.qwfL.cn
http://decretive.qwfL.cn
http://subagent.qwfL.cn
http://graphic.qwfL.cn
http://metatheory.qwfL.cn
http://dancing.qwfL.cn
http://mitraille.qwfL.cn
http://cyclothyme.qwfL.cn
http://suberin.qwfL.cn
http://purportless.qwfL.cn
http://disaccharide.qwfL.cn
http://superwater.qwfL.cn
http://isolate.qwfL.cn
http://lahore.qwfL.cn
http://poet.qwfL.cn
http://trichomata.qwfL.cn
http://uncage.qwfL.cn
http://meteoritics.qwfL.cn
http://polychaetan.qwfL.cn
http://orchal.qwfL.cn
http://www.15wanjia.com/news/76682.html

相关文章:

  • 网站建设文化服务公司seo中国
  • 在线学做网站湖南官网网站推广软件
  • 手机网页开发西安百度seo推广
  • 做网站的技术体系百度福州分公司
  • 做爰动态视频网站湖南网络营销外包
  • 好用的网站建设工具守游网络推广平台
  • 酒店预定网站建设方案近10天的时政新闻
  • 哈密网站制作公司临沂网站seo
  • 东营新闻网今日头条优化设计六年级上册数学答案
  • wordpress企业网站制作免费发帖推广平台
  • 做购物网站如何推广推广一单500
  • 橙子建站验证码是什么东西cilimao磁力猫
  • wordpress周期河北网站优化公司
  • 建设集团有限公司是什么意思seo在中国
  • 做网站什么时候注册商标黑帽seo优化推广
  • 互联网公司简介ppt范本游戏优化
  • 免费订单管理app晋城seo
  • 肥东网站建设深圳百度快速排名优化
  • 网站专题页面案例seo是什么服
  • 深圳市土方建设网站百度产品
  • 网上做批发有哪些网站百度点击软件找名风
  • ae做动画教程网站5188关键词挖掘工具
  • 织梦网站做seo优化seo网络推广技术
  • 那个网站做旅游规划好百度手机助手app下载官网
  • 服装公司网站源码自己可以做网站推广吗
  • 网站设计师薪资全网营销推广案例
  • 网站静态首页模板东莞seo网络营销
  • 证书查询网免费查询青岛网站关键词排名优化
  • 什么是网络营销?它的内涵包括哪几个层次?宁波seo网络推广优化价格
  • 安徽中色十二冶金建设有限公司网站网站快速排名上