Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2153816
  • 博文数量: 227
  • 博客积分: 10521
  • 博客等级: 上将
  • 技术积分: 3452
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-20 14:59
个人简介

低调做人,高调做事!

文章分类

全部博文(227)

文章存档

2013年(4)

2012年(8)

2011年(16)

2010年(24)

2009年(92)

2008年(83)

分类: LINUX

2010-08-17 19:52:08

dhcpd.conf配置样例:

ddns-update-style interim;
ignore client-updates;
default-lease-time 1800;
max-lease-time 3600;


shared-network vlan{
        subnet 192.168.100.0 netmask 255.255.255.0 {
              option routers 192.168.100.1;
              option subnet-mask 255.255.255.0;
              option broadcast-address 192.168.100.255;
              option domain-name-servers 192.168.300.254,192.168.300.253;
              range dynamic-bootp 192.168.100.10 192.168.100.240;

              host test {hardware ethernet 00:dd:09:88:xx:33;fixed-address 192.168.100.66;}

        }
}
shared-network vlan{
        subnet 192.168.200.0 netmask 255.255.255.0 {
              option routers 192.168.200.1;
              option subnet-mask 255.255.255.0;
              option broadcast-address 192.168.200.255;
              option domain-name-servers 192.168.300.254,192.168.300.253;
              range dynamic-bootp 192.168.200.10 192.168.200.240;

              host printer {hardware ethernet 00:25:11:77:88:99;  fixed-address 192.168.200.88;}

        }
}
阅读(1500) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~