Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

vlans and dhcp pools

Posted on 2006-11-07
2
Medium Priority
?
1,186 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that'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…
Suggested Courses

618 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