?
Solved

vlans and dhcp pools

Posted on 2006-11-07
2
Medium Priority
?
1,181 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
[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
2 Comments
 
LVL 79

Accepted Solution

by:
lrmoore earned 1000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…
Suggested Courses

771 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