[LARTC] building a multicast router: RESOLUTION

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_01C2C8AB.4EF8B480
Content-Type: text/plain;
	charset="iso-8859-1"

well, once i figured out what to do it was easy.
 
1) install freebsd over linux.
2) recompile kernel with: option MROUTING
3) start mrouted
4) go get yourself a cold beer.  you deserve it!
 
thanks!

-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.


-----Original Message-----
From: Bob Yeaw [mailto:byeaw@widevine.com]
Sent: Wednesday, January 29, 2003 9:42 AM
To: 'lartc@mailman.ds9a.nl'
Subject: [LARTC] building a multicast router



Hi, 

I have been reading: http://lartc.org/howto/lartc.multicast.html
<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_01C2C8AB.4EF8B480
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>building a multicast router</TITLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=657095821-30012003>well, 
once i figured out what to do it was easy.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=657095821-30012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=657095821-30012003>1) 
install freebsd over linux.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=657095821-30012003>2) 
recompile kernel with: option MROUTING</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=657095821-30012003>3) 
start mrouted</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=657095821-30012003>4) go 
get yourself a cold beer.&nbsp; you deserve it!</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=657095821-30012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=657095821-30012003>thanks!</SPAN></FONT></DIV>
<P><FONT size=2>-bob<BR><BR><BR><BR>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.<BR></FONT></P>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Bob Yeaw 
  [mailto:byeaw@widevine.com]<BR><B>Sent:</B> Wednesday, January 29, 2003 9:42 
  AM<BR><B>To:</B> 'lartc@mailman.ds9a.nl'<BR><B>Subject:</B> [LARTC] building a 
  multicast router<BR><BR></FONT></DIV>
  <P><FONT size=2>Hi,</FONT> </P>
  <P><FONT size=2>I have been reading: <A 
  href="http://lartc.org/howto/lartc.multicast.html"; 
  target=_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=2>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=2>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=2>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=2>$ demsg | grep IGMP </FONT><BR><FONT size=2>IP Protocols: 
  ICMP, UDP, TCP, IGMP</FONT> <BR><FONT size=2>$ cat 
  /proc/sys/net/ipv4/ip_forward</FONT> <BR><FONT size=2>1</FONT> <BR><FONT 
  size=2>$ netstat -rn</FONT> <BR><FONT size=2>Kernel IP routing table</FONT> 
  <BR><FONT size=2>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=2>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=2>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=2>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=2>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=2>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=2># NOTE: eth1 is the client side, eth0 is the server 
  side.</FONT> </P>
  <P><FONT size=2>Problem:</FONT> <BR><FONT size=2>The problem is that no 
  multicast is getting through the router (unicast traffic works fine).&nbsp; 
  When I run:</FONT> </P>
  <P><FONT size=2>$ tcpdump -n -i eth0</FONT> </P>
  <P><FONT size=2>I see all of the multicast traffic being sent. 
  Unfortunately:</FONT> </P>
  <P><FONT size=2>$ tcpdump -n -i eth1</FONT> </P>
  <P><FONT size=2>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=2>Question:</FONT> <BR><FONT size=2>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=2>Any help or suggestions are greatly appreciated!</FONT> </P>
  <P><FONT size=2>regards,</FONT> </P>
  <P><FONT size=2>-bob</FONT> </P><BR><BR>
  <P><FONT size=2>-bob</FONT> </P><BR><BR>
  <P><FONT size=2>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></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2C8AB.4EF8B480--


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