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

DHCP and routing problem

mohamed sebaey
Level 1
Level 1

Dear all

I have a big problem  , i have  a router which used as IP telephony server and this router is connected to layer 2 switch and the layer 2 switch is connected to core switch , Core switch used as a DHCP server for end users. My IP phones can not get IP address. I have my servers in vlan 10 and IP phones in vlan 4.Is there any routing issue.

router

Interface giga 0/0

IP address 10.10.10.1 255.255.255.0

switch L2

Interface gig 0/1/0                     port to router

switchport mode access

switchport access vlan 10

interface gig 0/1/49                      port to core switch

switchport mode trunk

switchport trunk encaps

core switch

IP dhcp pool voice

option 150 ip 10.10.10.1

default router 10.10.20.1

interface vlan 4

ip address 10.10.20.1 255.255.255.0

thank you

2 Replies 2

Hello

Do you have an SVI of vlan 10 on the core?

int vlan 10

ip address 10.10.10.x 255.255.255.0

vlan 10,20

exit

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Bilal Nawaz
VIP Alumni
VIP Alumni

Hello, everything seems good here apart from your DHCP scope. And whether you have a VLAN interface on the core for VLAN 10 to allow the different subnets to communicate. After all, your phones and CME are in different subnets and need to be routed via the Core.

On your core switch, please configure the network statement and exclude any addresses that are static and being used. And also be sure you have vlan 10 configured as below:

Core switch:

Conf t

!

VLAN 10

!

VLAN 4

!

ip dhcp pool voice

network 10.10.20.0 255.255.255.0

option 150 ip 10.10.10.1

default router 10.10.20.1

!

interface vlan 4

ip address 10.10.20.1 255.255.255.0

!

interface vlan 10

ip address 10.10.10.X 255.255.255.0

Also as a gentle reminder, ip routing must be enabled on the Core (layer 3 switch) but I am assuming this is already the case.

Hope this helps

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

Please rate useful posts & remember to mark any solved questions as answered. Thank you.