cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5773
Views
0
Helpful
2
Replies

Question on default-router on DHCP pool on switch

gerald.suiza
Level 1
Level 1

Hi,

I got a DHCP pool configured on a switch I have it is as follows:

ip dhcp pool AAA
   network 10.10.225.0 255.255.255.128
   dns-server 10.5.5.100
   default-router 10.10.224.10 <<<<<

I know that the defautl-router configured on the DHCP pool should be on the same subnet as the clients but in my case it is not will this cause connectitvity issues? Myself I am thniking it would pose problems but I would like to get your insights on this.

Thanks!

1 Accepted Solution

Accepted Solutions

johnlloyd_13
Level 9
Level 9

hi,

you would definitely want the default-router set to 10.10.225.10. otherwise, no default gateway would be responding for your LAN subnet. also, if this is a layer 2 switch you would need to add:

Switch(config)#ip default-gateway 10.10.225.10

View solution in original post

2 Replies 2

johnlloyd_13
Level 9
Level 9

hi,

you would definitely want the default-router set to 10.10.225.10. otherwise, no default gateway would be responding for your LAN subnet. also, if this is a layer 2 switch you would need to add:

Switch(config)#ip default-gateway 10.10.225.10

Thanks..just needed confirmation..what i did was route the subnet to the gateway instead of relying on layer 2 which i think is another way to solve the connectivity issue.

Review Cisco Networking for a $25 gift card