cancel
Showing results for 
Search instead for 
Did you mean: 

VOSS - IP DHCP-SERVER TRICK

VOSS - IP DHCP-SERVER TRICK

EF
Contributor II

Hi Team,

I want to share my first dhcp-server config lab on VOSS:

1.- Mandatory, mgmt CLIP interface:

mgmt clip
ip address 1.1.1.1/32
enable

2.- Create VLAN, L3 interface and assing it to a port:

 vlan create 666 name DHCP type port-mstprstp 0
interface vlan 666
ip address 192.168.69.1 255.255.255.0

vlan member add 666 1/4

3.- DHPC-SERVER subnet

ip dhcp-server subnet 192.168.69.0/24
pool 192.168.69.100 192.168.69.200
router 192.168.69.1
domain-name-servers 8.8.8.8 8.8.4.4
domain-name dhcp.int
lease-time 86400
enable

4.- Enable it globally

ip dhcp-server enable

At this point the server doesnt work, in order to work you must enable dhcp-server relay on VLAN to mgmt CLIP

5.- Enable DHCP-RELAY

interface vlan 666
ip dhcp-relay fwd-path 1.1.1.1 enable
ip dhcp-relay

I hope you find this usefully.

Cheers!!

EF

 

 

 

 

1 ACCEPTED SOLUTION

RobertD1
Contributor

Thanks for sharing EF. This is new in release 9.0.0.0 I believe.

View solution in original post

1 REPLY 1

RobertD1
Contributor

Thanks for sharing EF. This is new in release 9.0.0.0 I believe.

GTM-P2G8KFN