Categories
Welcome Center
Education & Development
Cyber Security
Virtualization
General
Certification Preparation
Project Management
Posts
Groups
Training Resources
Infosec
IT & Security Bootcamps
Practice Exams
Security Awareness Training
About Us
Home
Certification Preparation
Cisco
CCNA & CCENT
I am confused: IP address for different hosts in different VLANs
halaakajan
I am confused.
How does an IP address is given from a Microsoft DHCP server to the clients. Lets say we have around 6 scopes (Computer,Wireless,Printers,etc) in the DHCP server. How does the server know which range to give the client ip address from? Is it because of the "ip helper address" command in the Cisco switch?
Please explain.
Your help will be very much appreciated.
Find more posts tagged with
Comments
RouteMyPacket
We can assign IP Helper on each VLAN interface
Example:
Interface VLAN 1
192.168.1.1 255.255.255.0
ip helper-address 192.168.10.254
Interface VLAN 2
192.168.2.1 255.255.255.0
ip helper-address 192.168.10.254
and so on
So each time a DHCP broadcast goes out, it will hit it's DG right? Ok now that we have the ip helpewr address applied it will pass it along to the scope that matches the vlan subnet
f0rgiv3n
To add to that, the server knows which range to give it because of the interface IP of the VLAN. So when it comes from vlan 20 which has an ip of 192.168.¿.1, the server will notice in the packet that the request is coming from 192.168.¿.1 and grab IPs from that range. Also, sometimes you need to give the DHCP server additional information in order to have it react in certain ways, look up option 82.
Zartanasaurus
There is a field in the DHCP packet called GIADDR (gateway address). Devices that are performing DHCP relay stamp their IP from the interface they received the DHCP discover message from. The DHCP server looks at the GIADDR and offers an IP from that range.
fadhil
there is some devices like printer,server and other devices in which their ip address are not change are configured statically(for a special device like printer or a gateway) so dhcp server knows a certain ip address should given a host or client so other ip addresses may be given other clients.
emerald_octane
The above info is good. Seriously configuring vlan/subnet dhcp on win server is so easy your head will spin. It just works.
2URGSE
halaakajan
wrote:
»
Is it because of the "ip helper address" command in the Cisco switch?
This command forwards UDP broadcasts (DHCP) across an interface.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of