Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

VLAN DHCP Pool

Hi

I need to create a VLAN on a  3750 switch whereby the users in that VLAN get assigned an address from the following range and a certain gateway

Range 10.255.11.30 - 10.255.11.40

Gateway: 10.255.251.218

This is so users on this VLAN have unrestricted internet access.

I was just wondering how I go about doing this?

Thanks in advance

Everyone's tags (2)
12 REPLIES

Re: VLAN DHCP Pool

Hi

You can follow the steps as mentioned in this link

http://articles.techrepublic.com.com/5100-10878_11-5690240.html

regds

Community Member

Re: VLAN DHCP Pool

Thanks for that!

One other question.

I have two VLANS, VLAN1 (Native) and VLAN 56.

VLAN1 goes out through .254

VLAN56 should access internet via .218

How do I ensure that users in VLAN 56 get the range associated with the new dhcp pool and that users in the Native VLan1 get the standard DHCP settings from our domain controllers?

Thanks!

Community Member

Re: VLAN DHCP Pool

Hi,

You can try the following,

Under VLAN 56 SVI Interface, assign ip helper-address as VLAN 56 L3 address,

!

interface vlan 56

ip add x.x.x.x

ip helper-address x.x.x.x

---

--

Under VLAN 1 assign your Domain-Controller(DHCP Server) IP Address, so that VLAN 1 user will get ip from that server

!

interface vlan 1

ip add y.y.y.y

ip helper-address "your domain controller(DHCP Server) IP address"

---

---

!

I'm not sure what exactly you are expecting from the follwing,

"

VLAN1 goes out through .254

VLAN56 should access internet via  .218"

Thanks,

ThiyaguVG.

Community Member

Re: VLAN DHCP Pool

I think he wants traffic from vlan56 to go out via .218 and traffic from vlan1 go out via .254.

Which he would have to use PBR I would assume.

http://www.cisco.com/en/US/products/ps6637/products_ios_protocol_option_home.html

Community Member

Re: VLAN DHCP Pool

Thats exactly it, I need traffic from VLAN 56 to go out through the gateway .218.

Is PBR the only way I can do it?

My OS version isnt compatible with that...typical!

Thanks again

Community Member

Re: VLAN DHCP Pool

As far as I know.

You can download the correct IOS (need CCO account), ipservices capable one.

Community Member

Re: VLAN DHCP Pool

Hi

Thanks for that, have downloaded the updated IOS for pbr.

Am new to this so I'm not sure of the config to use.

How would I set it so that all traffic on VLAN56 would go out a DGW of 10.255.251.218 considering all the PC's will be on the 10.255.0.0 subnet.

Thanks again for all your help!

Community Member

Re: VLAN DHCP Pool

Is 10.255.251.218 a next-hop router or is it the IP you have assigned to  vlan 56?

Community Member

Re: VLAN DHCP Pool

What did he say?

Community Member

Re: VLAN DHCP Pool

Nothing yet

I was agreeing to your question about weather it was the VLAN IP or next hop.  

Community Member

Re: VLAN DHCP Pool

Okay this is the config I have done, hopefully it works. Im hoping this will push any 10.255.0.0 traffic that is associated with vlan56 out through 10.255.251.218

access-list 101 permit ip 10.255.0.0 0.0.0.0 any

route-map vlan56internet permit 10

match ip address 101

set ip next-hop 10.255.251.218  (Internet Gateway)

int vlan56

ip policy route-map vlan56internet

Thanks again

3597
Views
0
Helpful
12
Replies
CreatePlease to create content