P
P
Phorcys2020-09-17 23:08:12
DHCP
Phorcys, 2020-09-17 23:08:12

Why do computers take IP from different DHCP pools?

Created two vlans for client devices, assigned an IP address to each, created two address pools. All this on a real Cisco switch (l3). But as a result, addresses are issued to devices from vlan 2 from both pools ... Here is the config
I 'm building a similar network in CPT - there is no such problem.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Ryzhkin, 2020-09-18
@Franciz

Gateway is not specified in each VLAN, so requests from all vlans go to the default 192.168.2.*

K
kisaa, 2020-09-18
@kisaa

I'm not a real welder, but at the request "Cisco bind DHCP pool to vlan" I found this:
https://community.cisco.com/t5/small-business-swit... Any name or desired vlan after
the word ?pool

ip dhcp pool vlan1
network 1.1.1.0 255.255.255.0
domain-name cisco.com
dns-server 4.4.4.2 4.4.4.1
default-router 1.1.1.1
lease 3
ip dhcp pool vlan2
network 2.2.2.0 255.255.255.0
domain-name cisco. com
dns-server 4.4.4.2 4.4.4.1
default-router 2.2.2.1
lease 3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question