how to associate subnet with vlan

Posted on 2011-03-22
Last Modified: 2012-05-11
I would like to find how can we configure VLAN associate with particular subnet , so that once port is assigned to particular vlan , device attached to this port it receives ip add from particular subnet.

Question by:shindasingh
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
  • 4
  • 2

Expert Comment

ID: 35195788
Assing the VLAN an IP Address (or connect to a router).  Ensure the router from that vlan to the dhcp forwards DHCP packets. (on cisco it will be an "ip helper" setting).

then DHCP will then get a request "forwarded" from that network and know which pool to assign the IP from.


Author Comment

ID: 35203603
M Walker,,

Thanks ,, If yoy could explain further Like with examples of commands , I am actually not Cisco expert So please assist further..


Accepted Solution

m_walker earned 500 total points
ID: 35203631
Setup the vlan (if it does not exist)
config term
vlan <id>
   name some-name

exit back to the top config level (exit once)

interface vlan <some id as above>
description <some description if you want, not needed be helps>
ip address <ip address> <subnet mask>
ip helper-address <ip of your dhcp server>

exit back on level

You will need to ensure you can route from the swich (ping your dhcp ip) to test
Also ensure the vlan itself is routing ok (set a static IP on the remote computer with the VLAN IP address as its gateway.

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.


Author Comment

ID: 35204399
Thanks Walker..

It worked for me..

Expert Comment

ID: 35204425
Any reason why I did not get any points for the solution?

Expert Comment

ID: 35206318
As per my last post.  I would like to know why I did not get any points.

I beleive this post shows I helped.

shindasingh:Thanks Walker..

It worked for me..


Featured Post

Now Available: Firebox Cloud for AWS and FireboxV

Firebox Cloud brings the protection of WatchGuard’s leading Firebox UTM appliances to public cloud environments. It enables organizations to extend their security perimeter to protect business-critical assets in Amazon Web Services (AWS).

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
network + video series 4 77
IT Asset Management 5 89
Cisco IOS cempMemBufferPeak  notification SNMP 5 78
Configuring local auth. list 1 35
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
Here's a very brief overview of the methods PRTG Network Monitor ( 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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

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