[LARTC] building a multicast router

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2C7BD.C3B6D200
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

I have been reading: http://lartc.org/howto/lartc.multicast.html in effort
to understand how to route multicast traffic and just joined the group.

History: I am trying to multicast mpeg (using the videolan server) on a
private network.   The server side of the network is copper gigabit, which
connects to one of those cheap fast Ethernet switches with a single gigabit
uplink.   The problem I'm having is the ports are getting flooded on the
client side switch (i.e., all multicast traffic sent to all ports on the
switch).

After doing some research it sounds like installing a multicast router
between the client and server side is the best solution.  So that's what I'm
trying to do now.

I have Red hat Linux 7.3 installed. I've gone through the steps described on
the how-to (link above):

$ demsg | grep IGMP 
IP Protocols: ICMP, UDP, TCP, IGMP
$ cat /proc/sys/net/ipv4/ip_forward
1
$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.3.0     0.0.0.0         255.255.255.0   U        40 0          0
eth1
10.100.100.0    0.0.0.0         255.255.255.0   U        40 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
224.0.0.0       0.0.0.0         240.0.0.0       U        40 0          0
eth1
0.0.0.0         10.100.100.254  0.0.0.0         UG       40 0          0
eth0

# NOTE: eth1 is the client side, eth0 is the server side.

Problem:
The problem is that no multicast is getting through the router (unicast
traffic works fine).  When I run:

$ tcpdump -n -i eth0

I see all of the multicast traffic being sent. Unfortunately:

$ tcpdump -n -i eth1

shows none of that multicast traffic (whether the client has requested it or
not). Interestingly, when I run iptraf and select eth0 it reports little to
no activity, which indicates to me that the traffic is getting dropped at a
low level.

Question:
My question at this point is problem identification.  Is the router
configured correctly and acting as expected but the client just isn't
sending the IGMP join requests?  Do I need to install additional software
packages like Zebra or mrouted to make this work?  Am I completely missing
something?  

Any help or suggestions are greatly appreciated!

regards,

-bob



-bob



CONFIDENTIALITY NOTICE:  The information in this electronic mail
transmission contains confidential information intended only for the use of
the individual or entity named above.  If the reader of this message is not
the intended recipient, you are hereby notified that any dissemination,
distribution or copy of the transmission is strictly prohibited.

------_=_NextPart_001_01C2C7BD.C3B6D200
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>building a multicast router</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi,</FONT>
</P>

<P><FONT SIZE=3D2>I have been reading: <A =
HREF=3D"http://lartc.org/howto/lartc.multicast.html"; =
TARGET=3D"_blank">http://lartc.org/howto/lartc.multicast.html</A> in =
effort to understand how to route multicast traffic and just joined the =
group.</FONT></P>

<P><FONT SIZE=3D2>History: I am trying to multicast mpeg (using the =
videolan server) on a private network.&nbsp;&nbsp; The server side of =
the network is copper gigabit, which connects to one of those cheap =
fast Ethernet switches with a single gigabit uplink.&nbsp;&nbsp; The =
problem I'm having is the ports are getting flooded on the client side =
switch (i.e., all multicast traffic sent to all ports on the =
switch).</FONT></P>

<P><FONT SIZE=3D2>After doing some research it sounds like installing a =
multicast router between the client and server side is the best =
solution.&nbsp; So that's what I'm trying to do now.</FONT></P>

<P><FONT SIZE=3D2>I have Red hat Linux 7.3 installed. I've gone through =
the steps described on the how-to (link above):</FONT>
</P>

<P><FONT SIZE=3D2>$ demsg | grep IGMP </FONT>
<BR><FONT SIZE=3D2>IP Protocols: ICMP, UDP, TCP, IGMP</FONT>
<BR><FONT SIZE=3D2>$ cat /proc/sys/net/ipv4/ip_forward</FONT>
<BR><FONT SIZE=3D2>1</FONT>
<BR><FONT SIZE=3D2>$ netstat -rn</FONT>
<BR><FONT SIZE=3D2>Kernel IP routing table</FONT>
<BR><FONT SIZE=3D2>Destination&nbsp;&nbsp;&nbsp;&nbsp; =
Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Flags&nbsp;&nbsp; MSS Window&nbsp; irtt Iface</FONT>
<BR><FONT SIZE=3D2>192.168.3.0&nbsp;&nbsp;&nbsp;&nbsp; =
0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
40 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 =
eth1</FONT>
<BR><FONT SIZE=3D2>10.100.100.0&nbsp;&nbsp;&nbsp; =
0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
40 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 =
eth0</FONT>
<BR><FONT SIZE=3D2>127.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
255.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
U&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 40 =
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 lo</FONT>
<BR><FONT SIZE=3D2>224.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
240.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
U&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 40 =
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1</FONT>
<BR><FONT =
SIZE=3D2>0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
10.100.100.254&nbsp; =
0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
UG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 40 =
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0</FONT>
</P>

<P><FONT SIZE=3D2># NOTE: eth1 is the client side, eth0 is the server =
side.</FONT>
</P>

<P><FONT SIZE=3D2>Problem:</FONT>
<BR><FONT SIZE=3D2>The problem is that no multicast is getting through =
the router (unicast traffic works fine).&nbsp; When I run:</FONT>
</P>

<P><FONT SIZE=3D2>$ tcpdump -n -i eth0</FONT>
</P>

<P><FONT SIZE=3D2>I see all of the multicast traffic being sent. =
Unfortunately:</FONT>
</P>

<P><FONT SIZE=3D2>$ tcpdump -n -i eth1</FONT>
</P>

<P><FONT SIZE=3D2>shows none of that multicast traffic (whether the =
client has requested it or not). Interestingly, when I run iptraf and =
select eth0 it reports little to no activity, which indicates to me =
that the traffic is getting dropped at a low level.</FONT></P>

<P><FONT SIZE=3D2>Question:</FONT>
<BR><FONT SIZE=3D2>My question at this point is problem =
identification.&nbsp; Is the router configured correctly and acting as =
expected but the client just isn't sending the IGMP join =
requests?&nbsp; Do I need to install additional software packages like =
Zebra or mrouted to make this work?&nbsp; Am I completely missing =
something?&nbsp; </FONT></P>

<P><FONT SIZE=3D2>Any help or suggestions are greatly =
appreciated!</FONT>
</P>

<P><FONT SIZE=3D2>regards,</FONT>
</P>

<P><FONT SIZE=3D2>-bob</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>-bob</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>CONFIDENTIALITY NOTICE:&nbsp; The information in this =
electronic mail transmission contains confidential information intended =
only for the use of the individual or entity named above.&nbsp; If the =
reader of this message is not the intended recipient, you are hereby =
notified that any dissemination, distribution or copy of the =
transmission is strictly prohibited.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C2C7BD.C3B6D200--


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux