Pages

Tuesday, January 11, 2011

Build DHCP Server with dnsmasq

Dnsmasq DHCP server again
1. Edit / etc / dnsmasq.conf:
   # mcedit /etc/dnsmasq.conf

    Add on the bottom row:
    domain = lks.sch.id
    dhcp-range = 192.168.10.2,192.168.10.5,12h  h range and the lease time 12h
    dhcp-option = 1,255.255.255.248  1 means netmask
    dhcp-option = 3,192.168.10.1  3 meaning gateway / default route
    dhcp-option = 6,192.168.10.1  6 mean DNS server
    dhcp-option = 28,192.168.10.7  28 means broadcast address

2. Restart service
    # /etc/init.d/dnsmasq restart

1 comment:

  1. Casino Site ᐈ Find the best online Casino site
    Read our list of all Casino 카지노사이트 Sites that have the best slots games and more. หาเงินออนไลน์ Choose the latest slots, table games 바카라 사이트 and more at our casino

    ReplyDelete