DHCP reservation

Unanswered Question
Feb 4th, 2006

hello

could you pls tell me how can I create a DHCP reservation on 3750 or any other switches?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
pkhatri Sat, 02/04/2006 - 23:13

Hi Ladan,

Here's a sample config of how to set up the 3750(or other IOS-based switch) as a DHCP server:

service dhcp

!

ip dhcp pool DCHPPool1

network 10.1.1.0 255.255.255.0

default-router 10.1.1.1

dns-server

!

ip dhcp excluded-address 10.1.1.1

(since you don't want it handing out addresses such as the router's address)

You can change the addresses to suit your needs.

Hope that helps - pls rate the post if it does.

Regards,

Paresh

nethelper Sun, 02/05/2006 - 00:32

Hi,

just in case you are looking for a MAC-to-IP address reservation, below is what the configuration would look like (IP and MAC addresses used are arbitrary). Watch out: Windows clients require the ´client-identifier´ option instead of the hardware-address. There is a difference between e.g. Linux clients and Windows clients: Linux clients will use just the MAC address without the client-id, while

Windows clients use the client-id in the DHCP request, which consists of the MAC-address prepended by a ´01´

Also keep in mind that for each client, you would need another dhcp pool.

ip dhcp pool reservation1

host 192.168.1.2 mask 255.255.255.0

hardware-address 08c5.d4500.0311

or

client-identifier 0108.c5d4.0003.11

client-name Computer1

default-router 192.168.1.1

domain-name yourdomain.com

dns-server 172.16.1.1

netbios-name-server 172.16.1.2

netbios-node-type h-node

Regards,

Nethelper

Actions

Login or Register to take actions

This Discussion

Posted February 4, 2006 at 11:07 PM
Stats:
Replies:2 Overall Rating:
Views:2852 Votes:0
Shares:0
Tags: No tags.