cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2888
Views
0
Helpful
11
Replies

configuring ip multicast on one router with 2 lan interfaces

schuk
Level 1
Level 1

I try to configure static multicast routing on a router with 2 ethernet interfaces. Unfortunately it`s not possible to configure an ethernet interface as the outgoing interface for an mroute. I´ve attached a small network diagram.

What have I to configure to bring this up working?

Thanks for your help.

Regards,

Karsten

11 Replies 11

johnyoon75
Level 1
Level 1

I couldn't see the diagram.

Can you post the configuration?

Regards,

John

johnyoon75
Level 1
Level 1

I saw the diagram.

Can you explain what you are going to do?

The first step, enable "ip multicast-routing" protocol in ther router.

The second step, configure "ip pim dense mode" each ethernet interfaces.

Thanks for your reply!

I´ts a quite simple task:

We use a configuration tool which is using ip multicast to find a configserver.

The client (source) is sending a request to the multicast address 239.255.255.1 (destination). The server answer is an unicast. If clients and server are on the same ethernet segment, is works fine.

If we try it via the router, the multicast pakets are not arriving at the server.

my multicast config:

ip multicast-routing

interface FastEthernet0/0

ip pim dense-mode

interface FastEthernet0/1

ip pim dense-mode

I tried to configure a static mroute like:

ip mroute 10.195.0.1 255.255.255.255 static FastEthernet 0/0

The result is:

"Next hop IP address required for multi-access media."

???

Please, Check the routing table.

If you want to configure static mroute, the route have to exist the routing table.

Sounds interesting. Could you please explain, what exactly you mean.

Should be there a mroute already in the multicast routing table or may be a unicast route?

Yes. I mean "unicast routing table."

Multicast routing table refer to unicast routing table. So, if you want to configure staitic multicast route, the first of all, the route is reachable, and then RPF check succeed.

Good Luck...

OK, that´s important to know. In my case both networks are directly connected to the router and therefore in the unicast routing table. Is there anything else what I´ve to check out?

Could you try to change ip address instead of ethernet interface at the end of the static mroute configration?

Your config is correct. You should not have to configure any static multicast routes. Could you post the unicast IP addresses for the sources and the destination. Also post a "show ip route" and "show ip mroute".

The unicast IPs are:

Source: 10.195.158.20/28

Dest.: 10.195.158.10/28

sh ip route:

C 10.195.158.16/28 is directly connected, FastEthernet0/0

C 10.195.158.0/28 is directly connected, FastEthernet0/1

sh ip mroute:

(*, 239.255.255.1), 00:05:48/00:02:56, RP 0.0.0.0, flags: DC

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list:

FastEthernet0/0, Forward/Dense, 00:00:07/00:00:00

FastEthernet0/1, Forward/Dense, 00:05:48/00:00:00

I found out, what the reason was:

It`s so simple. My colleague wrote a java application using ip multicast. I tested the connection with this software all the time ;-(

He set the ttl to 1. So it was no wonder that it works without the router but not with it.

Tanks a lot folks!