Here is a setup I used for a client
Router Setup:
(One per port/vlan)
ip dhcp excluded-address 10.0.101.1 10.0.101.10
ip dhcp excluded-address 10.0.102.1 10.0.102.10
(One per port/vlan)
ip dhcp pool vlan101
network 10.0.101.0 255.255.255.0
default-router 10.0.101.1
!
ip dhcp pool vlan102
network 10.0.102.0 255.255.255.0
default-router 10.0.102.1
interface FastEthernet0/0
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
no cdp enable
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
(One subinterface per port/vlan)
interface FastEthernet0/1.101
encapsulation dot1Q 101
ip address 10.0.101.1 255.255.255.0
ip access-group 101 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/1.102
encapsulation dot1Q 102
ip address 10.0.102.1 255.255.255.0
ip access-group 102 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
!
(One ACL per port/vlan)
access-list 101 permit ip 10.0.101.0 0.0.0.255 10.0.101.0 0.0.0.255
access-list 101 deny ip 10.0.101.0 0.0.0.255 10.0.0.0 0.255.255.255
access-list 101 permit ip any any
access-list 102 permit ip 10.0.102.0 0.0.0.255 10.0.102.0 0.0.0.255
access-list 102 deny ip 10.0.102.0 0.0.0.255 10.0.0.0 0.255.255.255
access-list 102 permit ip any any
access-list 199 permit ip 10.0.0.0 0.0.255.255 any
ip nat inside source list 199 interface FastEthernet0/0 overload
Switch:
(Configure each interface with different VLAN)
interface FastEthernet0/1
switchport access vlan 101
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 102
switchport mode access
spanning-tree portfast
(Trunk a port to the router.)
interface GigabitEthernet0/1
switchport trunk allowed vlan 1,101-124
switchport mode trunk
That should do it for you without having to buy new equipment.
Brent
Systems Engineer / Consultant
CCNP, CCSP