cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
450
Views
0
Helpful
1
Replies

Port-Based DHCP Server with options

3rAk
Level 1
Level 1

Hi,

I want to use a C3650(IOS XE16.09.04) as a dhcp server where the ip addresses and options are bind to ports. The client has to be changeable without the need to configure ip, hostname, dns server manually on the client itself.

 

What I did so far:

 

!
ip dhcp use subscriber-id client-id
ip dhcp subscriber-id interface-name
!
ip dhcp pool pool1
 network 192.168.0.0 255.255.255.0
 default-router 192.168.0.1 
 reserved-only
   address 192.168.0.2 client-id "Gi1/0/1" ascii
!
!
!
interface GigabitEthernet1/0/1
     ip dhcp server use subscriber-id client-id
!

The client gets the ip address. But how do I configure dhcp options for the port? i want to transmit hostname, dns server name and name server.

 

Thank you!

 

1 Reply 1