User Tools

Site Tools


vyos:dhcp

VyOS: DHCP

context

dit document beschrijft DHCP op VyOS

overzicht

show configuration

aanmaken

set service dhcp-server shared-network-name <zone> subnet subnet/netmask default-router <ip>
set service dhcp-server shared-network-name <zone> subnet subnet/netmask name-server <ip>
set service dhcp-server shared-network-name <zone> subnet subnet/netmask range <naam> start <begin range>
set service dhcp-server shared-network-name <zone> subnet subnet/netmask range <naam> start <einde range>
run restart dhcp server

voorbeeld

set service dhcp-server shared-network-name wifi_smart subnet 10.11.100.0/24 default-router 10.11.100.253
set service dhcp-server shared-network-name wifi_smart subnet 10.11.100.0/24 name-server 10.11.100.253
set service dhcp-server shared-network-name wifi_smart subnet 10.11.100.0/24 range wifi_smart start 10.11.100.20
set service dhcp-server shared-network-name wifi_smart subnet 10.11.100.0/24 range wifi_smart stop 10.11.100.120
run restart dhcp server

verwijderen

delete service dhcp-server shared-network-name <zone>

meer info

vyos/dhcp.txt · Last modified: 2024/11/16 18:14 by 127.0.0.1