linux下arp绑定
双线Linux服务器合租 Nginx服务器合租 Linux服务器合租64G超大内存制作:高进波
时间:2009-11-03
rhel/centos
建立静态IP/MAC捆绑的方法是:建立/etc/ethers文件,其中包含正确的IP/MAC对应关系,格式如下:
192.168.2.32 08:00:4E:B0:24:47
然后再/etc/rc.d/rc.local最后添加:
/sbin/arp -f
ubuntu/debian
nano /etc/ethers
ip mac(mac 必须大写)
开机自动绑定
nano /etc/rc.local
/usr/sbin/arp -f
绑定的是网关IP与MAC地址,本机不需要绑定
完成!
Linux主机 PHP主机 Nginx主机 双线Linux服务器
八月 18th, 2011 at 06:54
Cool sites……
[...]we came across a cool site that you might enjoy. Take a look if you want[...]………
一月 14th, 2012 at 13:27
[...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……