Solved

how to associate subnet with vlan

Posted on 2011-03-22
7
607 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
7 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 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.

0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

947 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

23 Experts available now in Live!

Get 1:1 Help Now