Forced routing

Bradley Hook bhook at kssb.net
Wed Nov 14 13:28:21 CST 2007


Uncle Jim wrote:
> I'm not a multicast expert (or even multicast user) BUT my guess is that the
> proper command should be:
> 
>    /sbin/route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
> 
> This is not to say that Monty's command wouldn't work but that this is the
> more general command for the 224.0.0.0/4 (224.0.0.0 - 239.255.255.255)
> multicast network.
> 

You could also make your life easier by using the (common) iproute2
tools. With them you can use CIDR notation (a.k.a. "slash notation") for
IP network addresses. I honestly haven't been using route and ifconfig
for a couple years now, the newer tools are just as common and more
feature-rich.

~Bradley


More information about the Kclug mailing list