Apr 02, 2018 Hello all, is there any way to find or find duplicate MAC address in DHCP scope. Suppose I have scope1 192.168.105. and Scope2 192.168.106. one of the engineer has reserved the MAC in both the scopes and forgot the IPs he has assigned. Aug 21, 2012 There is an option in System Preferences Network pane to use 'DHCP with manual address', wherein you enter a specific (static) IP address. But someone would have had to choose this option (accidentally or intentionally), because the default is DHCP, i.e. DHCP with dynamically assigned address.
The idea is that I want to have a static IP for the MAC computer always assign me the IP . please help , as would the commands ?
I have a cisco 3650 switch core where I configured the DHCP and VLAN former systems administrator assigned an IP to MAC address as follows :
- ip dhcp pool NAME
- host 192.168.17.137 255.255.255.0
- client-identifier 0100.71cc.02XX.XX
- client-name NAME
but I do not know how to do it for a VLAN IP 17 as mentioned always assign me a static IP .
Ron Maupin♦1 Answer
On a Cisco IOS DHCP server, it is pretty simple. In the DHCP pool configuration, use the address
command to assign an IP address to a MAC address:
Preassigning IP Addresses and Associating Them to a Client:
Preassigning IP Addresses and Associating Them to a Client
Perform this task to preassign an IP address and associate it to a client identified by a client ID or MAC address.
For port-based address assignment, you must perform the task in the Automatically Generating a Subscriber Identifier for a DHCP Message Received on a Port task to associate the client ID with the subscriber ID. The subscriber ID value is based on the short name of the port to which the directly connected device is attached.
Configure a normal DHCP pool by supplying any DHCP options and lease time. Preassigned addresses are automatically excluded from normal dynamic IP address assignment. Preassigned addresses cannot be used in host pools, but there can be multiple preassigned addresses per DHCP address pool.
Note
Only one IP address can be assigned per port.
Preassigned addresses (also called reserved addresses) cannot be cleared by using the clear ip dhcp binding command.
SUMMARY STEPS
- enable
- configure terminal
- ip dhcp pool name
- network network-number [mask | / prefix-length]
- address ip-address client-id string [ascii]
- address ip-address hardware-address mac-address [hardware-number]
- end
- show ip dhcp pool [name]
- show ip dhcp binding
Edit:
Dhcp Ip To Mac Address
Based on your comments:
Ron Maupin♦Mac Using Dhcp With Manual Address
Ron MaupinNot the answer you're looking for? Browse other questions tagged ciscoipipv4dhcpmac or ask your own question.
I'm not sure why you want to do this since it's far more convenient to use DHCP. If you should change routers you will need to reconfigure Network preferences again. You will also need to remember not to assign the IP address to any other device on your network (such as a network printer.)
Aug 13, 2008 10:10 PM