Changes

Jump to: navigation, search

Orange Pi R1

64 bytes added, 13:50, 24 June 2022
Configure DHCP
b.Modify network file on /etc/default/isc-dhcp-server as following:<br>
<nowiki># On what interfaces should the DHCP server (dhcpd) serve DHCP requests?</nowiki><br>
<nowiki># Separate multiple interfaces with spaces, e.g. "eth0 eth1". INTERFACES="<span style="color:red;">eth0</span>"</nowiki><br>
c.Modify file of /etc/dhcp/dhcpd.conf, which is for configuring the IP range allocated by DHCP, example for configuring 192.168.3.0:<br>
subnet 192.168.3.0 netmask 255.255.255.0 {<br>
range 192.168.3.100 192.168.3.105;<br>
<nowiki>option routers 192.168.3.; <span style="color:red;">#Configuring the client default gateway must be added</span></nowiki><br>
option broadcast-address 192.168.3.255;<br>
default-lease-time 600;<br>

Navigation menu