论坛风格切换切换到宽版
  • 560阅读
  • 0回复

[问题求助][RedHat] 请高手指点怎样该REDHAT9网卡物理地址。谢谢!! [复制链接]

上一主题 下一主题
离线aeleven.
 
发帖
2203
C币
-262342
威望
435
贡献值
1
银元
-1
铜钱
5068
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
I assume that the i.nterface you want to change MAC .is eth0,            鲜花
and also,it could be eth1,eth.1,etc....     健康
  
1.i.n the scripting way 虚拟主机
run t.he following command as. root 域名
  
#ifconfig eth0 dow.n 教育
#ifconf.ig eth0 hw ethe.r 5254AB3B0880 .
#ifconf.ig eth0 up            鲜花
  
NOTE:
If the. interface you changed is which the default gateway. bonding with, .
after ifconfig down&up,the setting of .default gatew.ay would lost,you cou.ld add it manually .
#route add -net 0.0..0..0/0 gw 10.0.0.254 健康
  
tota.lly there is 4 command lin.e,you can append them to /etc/rc.local,           婚庆
then .this job wil.l be done automaticly. .
  
2.in the sysconf .way .
edit "/etc/s.ysconfig/network-script/ifcfg.-eth0" 服务器
add a line like. this            建材
MACADDR=52:54:AB:3.B:0.8:80 .
then restart netwok. 健康
#/etc/in.it.d/n.etwork restart     外汇
in this way,t.he chang.ed MAC will be applied at system start up.    健康
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个