Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

How DHCP Works in Wired/Wireless network

How DHCP Works in Wired/Wireless network

In a Network where they have Wireless and Wired Network, can they have the same DHCP server that hands out IP addresses for both Networks.

I believe that they can have on DHCP with separate scope for wireless...

For instance if I have a Laptop that use sometimes Wireless and sometimes wired Network, in this case DHCP server will hand out 2 IP addresses since 2 different Adapters(wired/wireless), then how DHCP will update the A record in DNS, with IP given to the wired or to the wireless adapter ?

Any clarification on this will be very much appreciated

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

example:

ComputerA has:
Wirless Adapter:70-B1-1C-70-A1-B1
Wired Adapter:90-B1-1C-79-A0-B3



When ComputerA uses wireless connection, it will get IP 10.0.0.10 from DHCP, when it uses Wired it will get 192.168.0.20

==============
** Regarding DHCP server, in order to have separate scopes 10.0.0.x/16 and 192.168.0.x/16
does the DHCP server need to have 2 Network Adapters ?
==============


DHCP server ,as far as I know, it updates DNS on behalf of the client.
So on DNS there will be:
ComputerA: IP 10.0.0.10
ComputerA: 192.168.0.20

when computerA powers On, then I do not think there will be a problem, since It will try to connect to the wired network, if there is no wired connection it will try wireless connection.
**what if the old IP address is not released, there could be a connection issue?



Now if ComputerX tries to connect to ComputerA ( That has 2 IP addresses in DNS)
which one will respond to computerX ? probably CopmuterX tries to connect to the IP that is not used by the ComputerA, and it fails ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

For instance DHCP hand out of IP addresses in our Environment is not done through a router, but DHCP server.

I believe that you can  have 2 DHCP servers ,one for the Wired client and for Wireless.
one DHCP server   will not be able to hand out IPs to 2 different networks, even with second NIC

=========================

when Swapping from Wired to Wireless then back to wired and so on.. how do computers release the old IP to get the new one automatically ?
================
Regarding DNS , if ComputerX connect to ComputerA, (that gets its IP changing) then it needs some kind of automatism that flushes its DNS, since ComputerA might have changed and IP and ComputerX still remembers the old one
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

the only obscure part is the 2 IP address for the same hostname that can happen.

for DHCP, it can be one server with separate Scopes ( wired and wireless), the wired will have its own Default Gateway , and Wireless it own DG.
IP Helper Address of each Router will point to the same DHCP server.


The question is when DHCP will do dynamic update of DNS on behalf of clients... it will create 2 IP address for the same hostname on DNS
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

masnrock

I got that.

What I was trying to understand is, let 's say you were connected using the wire , and you got an IP address X
you unplugged the wire, and now you are connected wirelessly, and you get IP address Y

It should not be a problem since most of the time wireless is used with Laptops, and they are not shared.

IF someone is connecting to the Laptop from another computer regularly, then they will have problems, since the hostname of the laptop is the same and the IP address changes
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

Thank you Guys!