Solved

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

Posted on 2015-01-06
5
350 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

733 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