04-22-2019 02:01 PM - edited 04-22-2019 02:10 PM
Hello,
How can a Cisco SF300-08 switch be configured to give out DHCP IP addresses only on select interfaces (Ports)?
In other words: How to preventing certain devices to get ip from it's DHCP, based on the physical port they are connected to.
Thank you.
04-22-2019 03:27 PM
Hi,
In other words: How to preventing certain devices to get ip from it's DHCP, based on the physical port they are connected to.
Don't configure any vlans on these ports.
HTH
04-23-2019 10:28 AM - edited 04-23-2019 11:54 AM
Hi Reza,
Thank you, the mentioned solution may work in some cases but I think this scenario may need a different approach.
Here is some more information:
There's a network with 2 DHCP(s).
DHCP-A has an excluded IP pool range of .245-250 and DHCP B has the same pool to hand out.
These 2 (router/switches) are connected via ethernet and to the trunk port of DHCP-B which is the SF300-08 box we mentioned.
What is expected and currently doing is giving ip to all the machines that are directly and indirectly connected to it according to the pool.
What I'm trying to achieve is to get DHCP-B to withhold giving ip to anyone except devices that are directly on it's physical ports (Port 1-5 for example) and to leave behind the other machines that are indirectly connected (via the trunk port and to the other switch).
Looking for a solution to avoid other machines from getting ip from that pool unless they are on ports 1-5 of the sf300 box.
Thank in advance for the help
04-23-2019 12:48 PM
Hi,
Looking for a solution to avoid other machines from getting ip from that pool unless they are on ports 1-5 of the sf300 box.
One option would be to put the group of machines you don't want to get IPs in a different IP segment/vlan.
HTH
04-23-2019 12:54 PM - edited 04-23-2019 01:01 PM
Correct but there's also a domain controller on the other side (on DHCP-A) that those few machines need to talk to :)
The whole thought for doing this is to get DHCP-B point those few (directly connected) machines to a different DNS.
I wonder if there's a way for turning DHCP listening on/off on the select ports. (G1 for example)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide