I would like to setup dhcp so it will assign ip addresses from different pools depending on which port it is connected to. The tricky part is all the dhcp ports need to be in the same subnet. For example half the ports gets an address from 172.16.1.2-20 and the other half recieve an address from a pool with the range of 172.16.1.21-40. Would I have to setup different vlans or is there a way of attaching pools to a set of ports?
you can only differentiate by putting the ports in different Vlans and having the DHCP pools mapped to different smaller IP subnets.
Until two ports are part of the same Vlan there is no reason for the network device to discriminate between them: a user connected to any of the two ports will get an IP address from the same DHCP pool.
By the way, you can discriminate based on the MAC address of the client NIC configuring a DHCP pool with only one IP address. In this way you can always assign the same IP address to the same PC.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.