社区
系统维护与使用区
帖子详情
linux下修改mac
bipeng
2003-09-15 01:47:42
linux下怎末修改mac阿!!
...全文
23
3
打赏
收藏
linux下修改mac
linux下怎末修改mac阿!!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
dennis_pan
2003-09-15
打赏
举报
回复
改网卡物理地址:
在/etc/rc.d/init.d/中的network中
加入ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
然后重新启动就会发现你的网卡地址已经是xxxxxxx了
实现IP与Mac地址的捆绑:
arp -i eth0 -s xxx.xxx.xxx.xxx(IP) xx.xx.xx.xx.xx(MAC)
man arp查看具体参数.
dennis_pan
2003-09-15
打赏
举报
回复
改网卡物理地址:
在/etc/rc.d/init.d/中的network中
加入ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
然后重新启动就会发现你的网卡地址已经是xxxxxxx了
实现IP与Mac地址的捆绑:
arp -i eth0 -s xxx.xxx.xxx.xxx(IP) xx.xx.xx.xx.xx(MAC)
man arp查看具体参数.
ayiiq180
2003-09-15
打赏
举报
回复
首先必须关闭网卡设备,否则会报告系统忙,无法更改。
命令是:“/sbin/ifconfig eth0 down”
2.修改MAC地址
命令是:“/sbin/ifconfig eth0 hw ether 00AABBCCDDEE”
3.重新启用网卡
Linux
下
修改
MAC
值
Linux
下
修改
MAC
地址 方法一: 1.关闭网卡设备 ifconfig eth0 down 2.
修改
MAC
地址 ifconfig eth0 hw ether
MAC
地址 3.重启网卡 ifconfig eth0 up 方法二: 以 上方法一
修改
后
linux
重启后
MAC
又恢复为原来的,为了下次启动时
修改
后的
MAC
仍有效,我们可以
修改
文件file:/etc/rc.d /rc.sysinit(RedFlag
Linux
为这个文件,其他版本的
linux
应该不同)的内容,在该文件末尾加以下内
linux
命令行
修改
mac
,
Linux
下
修改
MAC
地址
Linux
下
修改
MAC
地址Author:JaylinZhouDate:10/17/2009使用ifconfig命令标准形式:#ifconfigdevice_namehwether
MAC
_address例如:#ifconfigeth0hwether00:AA:BB:CC:DD:EESIOCSIFHWADDR:Deviceorresourcebusy因为eth0正在使...
linux
修改
bcast,
Linux
下
修改
MAC
地址
Linux
下
修改
MAC
地址Author:JaylinZhouDate:10/17/2009使用ifconfig命令标准形式:#ifconfigdevice_namehwether
MAC
_address例如:#ifconfigeth0hwether00:AA:BB:CC:DD:EESIOCSIFHWADDR:Deviceorresourcebusy因为eth0正在使...
嵌入式
Linux
下
修改
MAC
地址
Linux
下
修改
MAC
地址 方法一: 1.关闭网卡设备 ifconfig eth0 down 2.
修改
MAC
地址 ifconfig eth0 hw ether
MAC
地址 3.重启网卡 ifconfig eth0 up 方法二: 以上方法一
修改
后
linux
重启后
MAC
又恢复为原来的,为了下次启动时
修改
后的
MAC
仍有效,我们可以
修改
文件file:/etc/rc.d /rc.
linux
设置
mac
地址命令,[转载]
Linux
下
修改
MAC
地址
转自http://blogold.chinaunix.net/u3/94284/showart_2430693.html
Linux
下
修改
MAC
地址方法一:1.关闭网卡设备ifconfig eth0 down2.
修改
MAC
地址ifconfig eth0 hw ether
MAC
地址3.重启网卡ifconfig eth0 up方法二:以上方法一
修改
后
linux
重启后
MAC
又恢复为原来的,为了下次启动时...
系统维护与使用区
19,613
社区成员
74,602
社区内容
发帖
与我相关
我的任务
系统维护与使用区
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
复制链接
扫一扫
分享
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章