Hello Ahmed,

When you assign your 28xx fastethernet ip addresses in the 10.10.10.0/24 range 
or the 11.11.11.0/24 range the router will know where to assign the addresses 
based on where the DHCP request came from. Also if you're not using dot1q 
trunking on the router interface you may want to assign the port on the router 
going to the 3560 to whatever vlan you are needing DHCP be it Vlan 10 or 11.

Sample Config:

Router 28xx

interface fastethernet0/0
ip address 10.10.10.1 255.255.255.0
no shut

interface fastethernet0/1
ip address 11.11.11.1 255.255.255.0
no shut

ip dhcp pool VLAN_10
network 10.10.10.0 /24
default-router 10.10.10.1

ip dhcp pool VLAN_11
network 11.11.11.0 /24
default-router 11.11.11.1

Catalyst 3560

interface FastEthernet0/10
description Link to Router 28xx
switchport access vlan 10
switchport mode access

interface FastEthernet0/11
description Link to Router 28xx
switchport mode access vlan 11
switcport mode access

You really should know this stuff as it is pretty basic. You can also look up 
other DHCP options in the Doc CD. Please feel free to correct me if I'm wrong 
guys!

> Date: Mon, 28 Mar 2011 14:27:22 +0100
> From: [email protected]
> To: [email protected]
> Subject: [OSL | CCIE_RS] A Router as a DHCP server
> 
> 
> 
> Hi
> 
> I have got 28xx router with 2 FastEthernet interfaces. Fastethernet0/0 is 
> connected to 3560 switchs fastethernet0/10 which has 10 pcs with VLAN 10 and 
> IP address of 10.10.10.0/24. Then the routers FastEthernet 0/1 is connected 
> to a 3550 switch´s fastethernet 0/11 wich has 5 hosts connected to it with 
> VLAN 11 and subnet of 11.11.11.0 /24. Now, this is my home lab. But my 
> question is how do I configure the router as a DHCP server in order to offer 
> the 10.10.10.0/24 in VLAN 10 and at the same time offer the subnet 
> 11.11.11.0/24 in VLAN 11?
> 
> Please help me out?
> 
> Thanx
> Ahmed
> 
> 
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please 
> visit www.ipexpert.com
                                          
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to