If you don't have a managed switch that will support trunking you can assign IP addresses to multiple ports in your router and patch it in to two seperate switches.
An example of multiple pools are:
ip dhcp pool Pool1
network 172.29.1.0 255.255.255.0
default-router 172.29.1.1
dns-server 4.2.2.2
lease 0 12
ip dhcp pool Pool2
network 172.31.1.0 255.255.255.0
default-router 172.31.1.1
dns-server 4.2.2.2
lease 0 12
The router is smart enough to use the proper pool with the proper interface on the router. The key is making sure you have a router interface with an IP address that corresponds to teh DHCP pools.
Main Topics
Browse All Topics





by: wiscomPosted on 2009-08-19 at 12:18:12ID: 25136233
Hi,
/prod/coll ateral/rou ters/ps380 / ps6200/pr od_qas0900 aecd8028a9 82.html
au/index.p hp? title=S ample_Conf ig_For_Cis co_877
Vlan Trunking (802.1Q) is needed to serve both VLANS.
So firstly you need the Advanced IP Services Cisco IOS Software Image
See: http://www.cisco.com/en/US
Table 3
After that you need to configure on the router both VLANS and setup a VLAN trunk to the switch. Then you need to configure the DHCP pools
See enxample config: http://exewiki.exetel.com.
A/