cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1102
Views
0
Helpful
6
Replies

C3560x dhcp pools

John Myhre
Level 1
Level 1

Hi

 

i have an issue regarding the C3560x ver:12.2(55)SE1 License lvl: ipservices

 

i have a dhcp scope running and working on this router, i want to create another one, but this will give out 192.168.1.0 to an uplink port on another switch (dlink) -please dont ask...and then give clients access to the WAN, but with a 192.168.1.0 address instead of the 108.75.178.0.

 

this is the current config that i have:

ip dhcp pool Public
   network 108.75.178.224 255.255.255.224
   dns-server 108.75.181.16 108.75.181.76
   default-router 108.75.178.254

 

vlan 2
 name Public_IP

 

interface GigabitEthernet0/1
 switchport access vlan 2
 switchport mode access
 switchport nonegotiate
 spanning-tree portfast
 spanning-tree guard root

 

interface Vlan2
 description ## Public IP ##
 ip address 108.75.178.254 255.255.255.224

 

suggested config for second pool:

 

ip dhcp pool Public
   network 192.168.1.100 255.255.252.0
   dns-server ------------------------------------------------> what do i use ??
   default-router 192.168.1.254

 

vlan 3
 name Public_192

 

interface GigabitEthernet0/1
 switchport access vlan 3
 switchport mode access
 switchport nonegotiate
 spanning-tree portfast
 spanning-tree guard root

 

interface Vlan3
 description ## Public 192 ##
 ip address 192.168.1.100 255.255.252.0

6 Replies 6

John Blakley
VIP Alumni
VIP Alumni

John,

I'm not sure I understand what your question is. If your hosts are using 192.168.1.100 as their default gateway (regardless of what switch they're on), they can pull from a local pull on the switch as long as you have a scope in the 192.168.0.0/22. If you don't have one on here, you can redirect your requests to another server using a helper address on vlan 3's svi. As far as the dns-server line, you can use anything you want here as long as the host can get to it either internal or natted to the internet.

HTH,

John

HTH, John *** Please rate all useful posts ***

Just a thought wouldn't the Dlink provide DHCP for clients on the 192.168.1.0/24 network. Then you will not need any vlan 3 IP addressing, just ports on vlan 3

Yes, that could work. But the dlink is unmanaged switch

Ok, so I assume there are users connected to the Dlink switch that need Internet access, so you will give them the 192.168.1.0/24 Ip address, then they will use your Public IP address to get out to the Internet. Then you will have to do some NAT...is this the case?

you are correct sir :)

 

There was a dlink 800series wich provided this service, but its unstable. so wanted Cisco to take control over this feature, but i probably need a L4 to do this right ? could you recomend a setup; WAN----->3560x---->1900

John,

Somewhere the 192.168.1.0/24 network has to use NAT to get to the Internet.The 3560-X cannot do NAT so will have to be done somewhere else in your network. Most probably on the 1900 router.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card