Book now with code EOY2025
ip dhcp pool example host 1.1.1.1 /24 hardware-address aaaa.aaaa.aaaa
networker050184 wrote: You can do a static mapping from MAC with the commandip dhcp pool example host 1.1.1.1 /24 hardware-address aaaa.aaaa.aaaa I don't see why you wouldn't just assign a static IP manually though.
redwarrior wrote: I do this with my own work laptop. That way, I still have an IP address out of the regular dhcp pool, but it's always the same so I don't have to figure out what my IP is every time I want to test something. I've also found this is handy in situations like an ASA that is configured for Easy VPN that sometimes connects to one network and other times another. This way, I can keep it set up with dhcp for the outside interface but still know what the IP will be when it is connected to a certain network. I think dhcp reservations come in most handy when you're talking about a device with the mobility to connect to multiple networks and you don't want to be bothered having to change a static IP configuration.
aueddonline wrote: How would I go about configuring a Mapping so that when a specified interface sent a DHCP discover to a sever (cisco router) it would get the IP address defined by the mapping?
tech-airman wrote: aueddonline wrote: How would I go about configuring a Mapping so that when a specified interface sent a DHCP discover to a sever (cisco router) it would get the IP address defined by the mapping? aueddonline, Is there a managed switch(es) involved with VLAN capabilities?
aueddonline wrote: tech-airman wrote: aueddonline wrote: How would I go about configuring a Mapping so that when a specified interface sent a DHCP discover to a sever (cisco router) it would get the IP address defined by the mapping? aueddonline, Is there a managed switch(es) involved with VLAN capabilities? will I have my host plugged into a 2950?why?
tech-airman wrote: aueddonline wrote: tech-airman wrote: aueddonline wrote: How would I go about configuring a Mapping so that when a specified interface sent a DHCP discover to a sever (cisco router) it would get the IP address defined by the mapping? aueddonline, Is there a managed switch(es) involved with VLAN capabilities? will I have my host plugged into a 2950?why? aueddonline, You could configure your 2950 for "VLAN association based on MAC address." Then associate that VLAN with the specific subinterface on the router on a stick with the IP subnet that you want that specific host to receive it's DHCP address from. Unless you're trying to configure end to end "DHCP" reserved IP address for the specific MAC address?
sprkymrk wrote: I hope I understood your question correctly
aueddonline wrote: tech-airman wrote: aueddonline wrote: tech-airman wrote: aueddonline wrote: How would I go about configuring a Mapping so that when a specified interface sent a DHCP discover to a sever (cisco router) it would get the IP address defined by the mapping? aueddonline, Is there a managed switch(es) involved with VLAN capabilities? will I have my host plugged into a 2950?why? aueddonline, You could configure your 2950 for "VLAN association based on MAC address." Then associate that VLAN with the specific subinterface on the router on a stick with the IP subnet that you want that specific host to receive it's DHCP address from. Unless you're trying to configure end to end "DHCP" reserved IP address for the specific MAC address? I get ya, yeah I was thinking ' if this MAC sends a DHCP discover, OFFER this IP and so on.
aueddonline wrote: on you point though if I had my multiple VLANS on the switch with a dot1Q trunk with subinterfaces would the 'ip dhcp smart-relay' command be used. In this book it mentions secondary IP addresses not subinterfaces. I'm guessing the 'ip helper-address' would be configured on the sub-interface and it wouldn't be used?
aueddonline wrote: I get ya, yeah I was thinking ' if this MAC sends a DHCP discover, OFFER this IP and so on. on you point though if I had my multiple VLANS on the switch with a dot1Q trunk with subinterfaces would the 'ip dhcp smart-relay' command be used. In this book it mentions secondary IP addresses not subinterfaces. I'm guessing the 'ip helper-address' would be configured on the sub-interface and it wouldn't be used?
Use code EOY2025 to receive $250 off your 2025 certification boot camp!