| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.43 2006/03/29 01:30:31 vapier Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.44 2006/04/09 17:22:49 vapier Exp $ --> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/home-router-howto.xml" lang="en"> |
5 | <guide link="/doc/en/home-router-howto.xml" lang="en"> |
| 6 | <title>Home Router Guide</title> |
6 | <title>Home Router Guide</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| … | |
… | |
| 15 | </abstract> |
15 | </abstract> |
| 16 | |
16 | |
| 17 | <!-- The content of this document is released into the public domain --> |
17 | <!-- The content of this document is released into the public domain --> |
| 18 | <license/> |
18 | <license/> |
| 19 | |
19 | |
| 20 | <version>1.26</version> |
20 | <version>1.27</version> |
| 21 | <date>2006-03-28</date> |
21 | <date>2006-04-09</date> |
| 22 | |
22 | |
| 23 | <chapter> |
23 | <chapter> |
| 24 | <title>Introduction</title> |
24 | <title>Introduction</title> |
| 25 | <section> |
25 | <section> |
| 26 | <body> |
26 | <body> |
| … | |
… | |
| 849 | option subnet-mask 255.255.255.0; |
849 | option subnet-mask 255.255.255.0; |
| 850 | option broadcast-address 192.168.0.255; |
850 | option broadcast-address 192.168.0.255; |
| 851 | option routers 192.168.0.1; |
851 | option routers 192.168.0.1; |
| 852 | option domain-name-servers 192.168.0.1; |
852 | option domain-name-servers 192.168.0.1; |
| 853 | } |
853 | } |
| 854 | # <i>nano /etc/conf.d/dhcp</i> |
854 | # <i>nano /etc/conf.d/dhcpd</i> |
| 855 | <comment>(Set IFACE="eth0")</comment> |
855 | <comment>(Set IFACE="eth0")</comment> |
| 856 | # <i>rc-update add dhcp default</i> |
856 | # <i>rc-update add dhcpd default</i> |
| 857 | # <i>/etc/init.d/dhcp start</i> |
857 | # <i>/etc/init.d/dhcpd start</i> |
| 858 | </pre> |
858 | </pre> |
| 859 | |
859 | |
| 860 | <p> |
860 | <p> |
| 861 | This is the minimal setup required to replace the dnsmasq DHCP functionality |
861 | This is the minimal setup required to replace the dnsmasq DHCP functionality |
| 862 | that we used earlier. Speaking of which, you did remember to disable the DHCP |
862 | that we used earlier. Speaking of which, you did remember to disable the DHCP |