Create DHCP Server in VyOS

set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> start <IP-ADDRESS-OF-START>stop <IP-ADDRESS-OF-STOP> You may want to set up static leases which you can do by using set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> static-mapping <NAME-OF-RULE> mac-address <MAC-ADDRESS-OF-MACHINE> set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> static-mapping <NAME-OF-RULE [same as above]> ip-address <IP-ADDRESS-OF-MACHINE> You can also set the default […]