Solved

vlans and dhcp pools

Posted on 2006-11-07
2
1,172 Views
Last Modified: 2009-08-26
I have a cisco 877 I need to create 2 vlans. I would then like to associate a vlan to 2 of the switch prorts on the router and the other vlan to the other 2 ports. I would also like to have dhcp activated but have a set of ips for each vlan. so port 0,1 would give out 192.168.1.?  and port 2,3 10.34.8.? Can anyone piont me in the right direction ?

Thanks
steve
0
Comment
Question by:steve_mills
2 Comments
 
LVL 79

Accepted Solution

by:
lrmoore earned 250 total points
ID: 17896603

vlan 2
vlan 3
interface Fast0
 switchport access vlan 2
interface Fast1
 switchport access vlan 2
interface Fast2
 switchport access vlan 3
interface Fast3
 switchport access vlan 3
interface vlan 2
 ip address 192.168.1.1 255.255.255.0
interface vlan 3
 ip address 10.34.8.1 255.255.255.0

ip dhcp pool VLAN2
 network 192.168.1.0/24
 default-router 192.168.1.1
 dns-server 10.34.8.100

ip dhcp pool VLAN3
 network 10.34.8.0/24
 default-router 10.34.8.1
 dns-server 10.34.8.100

0
 

Author Comment

by:steve_mills
ID: 17903289
Hi Irmoore
This worked great thanks for the config.

Thanks
Steve
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 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

13 Experts available now in Live!

Get 1:1 Help Now