Solved

How can an end host host get a new IP address when its VLAN is changed ?

Posted on 2015-01-06
5
339 Views
Last Modified: 2015-01-07
Hi,

I am trying to implement NAC (by ForeScout) in our company.

Before we push automatic VLAN change upon user login (by ForeScout NAC device) into our production network, I am testing end-host behavior by changing VLANs manually from a CounterACT Manager Console. However end hosts are not getting a new IP address after I change their VLAN from CounterACT Manager Console. The work around to this problem is that we manually need to disconnect and reconnect Ethernet cable to the end host NIC for IP address change to take effect.

So to debug more into this, I changed VLAN manually from switch itself & observed that end host is still NOT able to get a new IP. Again this time I had to implement same workaround of disconnecting and reconnecting Ethernet cable to the end host for IP address change to take effect.

When observed on Wireshark, it shows that end host sends DHCP Discovery request for new VLAN only when I disconnect & reconnect the Ethernet cable attached to its NIC.

Before carrying out those tests I had made sure that NIC drivers were up-to-date on the end host.

How do we make end-host get a new IP address without disconnecting (& reconnecting) cable attached to its NIC? Has anybody seen this issue when NAC (Cisco or ForeScout)  is implied ?


Thanks !!!
0
Comment
Question by:CCIE_Universe
  • 3
  • 2
5 Comments
 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 500 total points
ID: 40534682
When you use DHCP the end computer will not try and get a new address unless:

1) It sees a physical disconnect
2) The lease  expires
3) It is forced to by issuing ipconfig /release then ipconfig /renew.

Changing the VLAN on a port will not cause any of these situations.  You will have to somehow force something.

What I would try is do a "shut" on the interface, change the VLAN, then do a no shut.  The other option is to run a script that will do the /release & /renew.
0
 

Author Comment

by:CCIE_Universe
ID: 40534744
Thanks for the comment/ answer Giltjr, I agree with you.

But still I am confused that there do exist NAC deployments in a production environment in which IP address gets changed for a host. How do they achieve this?

Thanks Again!
0
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 40534754
I believe if you have a NAC client installed and the switch ports are configured as trunks, the client will detect the VLAN change and initiate release renew.
0
 

Author Comment

by:CCIE_Universe
ID: 40534888
Thanks Giltir !
0
 

Author Closing Comment

by:CCIE_Universe
ID: 40536147
Thanks for the Help!
0

Featured Post

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now