Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

how to associate subnet with vlan

Posted on 2011-03-22
7
Medium Priority
?
693 Views
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.

Shinda
0
Comment
Question by:shindasingh
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:m_walker
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.


0
 

Author Comment

by:shindasingh
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..

Shinda
0
 
LVL 4

Accepted Solution

by:
m_walker earned 2000 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.

0
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 

Author Comment

by:shindasingh
ID: 35204399
Thanks Walker..

It worked for me..
0
 
LVL 4

Expert Comment

by:m_walker
ID: 35204425
Any reason why I did not get any points for the solution?
0
 
LVL 4

Expert Comment

by:m_walker
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..



0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Setting up SSH Cisco We are all told that you should not use Telent for connecting to devices because it is unsecure and all clear text. Much better is to use SSH, but it can seem a bit of a challenge setting it all up and especially in a small n…
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
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.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

575 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