linux下arp绑定

十一月 4th, 2009 Posted in Centos, Ubuntu | 阅读次数: 61
双线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服务器

相关日志:

Tags: ,

2 Responses to “linux下arp绑定”

  1. Quietus reviews Says:

    Cool sites……

    [...]we came across a cool site that you might enjoy. Take a look if you want[...]………


  2. foundation repair in Camp Shor IN Says:

    [...] 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 [...]……


留下您的脚印