cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2728
Views
0
Helpful
10
Replies

DHCP relay in IPTV network

Praveen AR
Level 1
Level 1

Hi

I am having

Core switch : 4507R-E with IOS 12.2(31)SGA

Edge Switch : 4506E with IOS (12.2(52) SG

Vlans

Vlan 501     : IPTV (192.168.0.0/19)

Vlan 301     : Data (192.168.32.0/24)

Vlan 401     : Voice (192.168.64.0/24)

Vlan interface in Core switch

Interface vlan 501

IP address 192.168.19.1 255.255.240.0

Interface vlan 301

IP address 192.168.32.1 255.255.255.0

Interface vlan 401

IP address 192.168.64.1 2552.255.255.0

Coreswitch ----------------------->Ether channel trunk ----------->  4506E

IPTV server is running DHCP server to provide IP address to set top boxes connected to vlan 501 .Set top boxes are not getting ip address in vlan 501 from edge switch 4506 .When i directly connect to core switch IPTV vlan I  am getting IP address from DHCP server.

When i manually give ip address i can ping all server,only problem is dhcp not working.Can anyone help me.

10 Replies 10

Jon Marshall
Hall of Fame
Hall of Fame

praveen.ar wrote:

Hi

I am having

Core switch : 4507R-E with IOS 12.2(31)SGA

Edge Switch : 4506E with IOS (12.2(52) SG

Vlans

Vlan 501     : IPTV (192.168.0.0/19)

Vlan 301     : Data (192.168.32.0/24)

Vlan 401     : Voice (192.168.64.0/24)

Vlan interface in Core switch

Interface vlan 501

IP address 192.168.19.1 255.255.240.0

Interface vlan 301

IP address 192.168.32.1 255.255.255.0

Interface vlan 401

IP address 192.168.64.1 2552.255.255.0

Coreswitch ----------------------->Ether channel trunk ----------->  4506E

IPTV server is running DHCP server to provide IP address to set top boxes connected to vlan 501 .Set top boxes are not getting ip address in vlan 501 from edge switch 4506 .When i directly connect to core switch IPTV vlan I  am getting IP address from DHCP server.

When i manually give ip address i can ping all server,only problem is dhcp not working.Can anyone help me.

Add this to the vlan 501 interface on your core switch -

int vlan 501

ip helper-address

Jon

I tried ip helper-address in vlan 501,Still i am not getting ip from dhcp server.

praveen.ar wrote:

I tried ip helper-address in vlan 501,Still i am not getting ip from dhcp server.

What vlan is the IPTV server in ?

Do you have a scope for vlan 501 on your DHCP server ?

Jon

IPTV server is in vlan 501

ip address 192.168.20.1 mask 255.255.240.0

Server is linux based and it has scope for vlan 501.

For testing i tried making etherchannel between core switch and switch 3560 G.I connected set top boxes in vlan 501 and it is working fine in 3560 G

how can i troubleshoot dhcp relay in 4506 switch and what can be the reason for not getting ip.

Praveen

If the IPTV server is in the same vlan then you need to look at your DHCP server ie. you don't need an ip helper-address. If when you assign an IP address out of vlan 501 manually to a client on the 4506 switch and it works then that proves that vlan 501 is working across the trunk link.

So it is not a problem with your switches but your DHCP server as far as i can see.

Note that i am assuming when you manually address a client it is still attached to the 4506. If it isn't then check the trunk link to make sure vlan 501 is allowed on it.

Jon

Hi jon ,

It cannot be a problem of trunk because when I manually give ip addrress it is working with 4506 E.For Edge switches  there is  only default-gateway to core switch .Do I need to create interface vlan for 501 on edge switches also.

praveen.ar wrote:

Hi jon ,

It cannot be a problem of trunk because when I manually give ip addrress it is working with 4506 E.For Edge switches  there is  only default-gateway to core switch .Do I need to create interface vlan for 501 on edge switches also.


Hi Praveen,

On you edge switch, you need to create vlan 501 not svi just a layer-2 vlan

HTH

Reza

I already have all vlans including vlan 501  in edge switches.I have not created SVI.Do i need to create SVI

You do not need SVI if the switch is serving as a layer-2 device only.  You only need a layer-2 vlan

example

config t

vlan 501

name iptv-vlan

Hi Reza,

I have created vlan same as core switch.Manual ip address is working in vlan 501 in edge switch

IPTV guys are saying that it is network problem because Set top boxes are working when it is connected  directly to core switch .Core Switches  to edge switches  trunk is single mode fiber at adistance of 865 meters .Is this can be a problem any Dhcp message is getting timeout

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco