[Xorp-users] How configure a multicast static route with xorp_sh ?

Pavlin Radoslavov pavlin at icir.org
Thu Mar 8 10:50:49 PST 2007


Note: in my examples below I assume all subnet mask lengths are /24.

> Hello, after reading the docs, I haven't find a solution.
> 
> 
> my configuration :
> ----                                                       -----
> |    |             ___                ___           |  V |
> |    | ---------|      |-----------|      |--------|  L |
> |    |             |__ |               |__ |           |  C |
> ----                 2                    3              ----
>    1
> 
> 1. A video streamer in multicast (172.17.0.1)
> 2. a xorp_router  (172.17.0.10 and 192.168.18.1)
> 3. a another xorp_router (192.168.18.2 and 192.168.17.1)
> VLC is a client to read video streaming (192.168.18.1)
                                           ~~~~~~~~~~~~
This address doesn't seem right. It should belong to the same subnet
as 192.168.17.1/24 (e.g., 192.168.17.2).

> I search the xorp_sh command to configure router 2 and 3 with static  
> multicast routing  .

The routes you need to add are:
(a) A route inside XORP2 how to reach the VLC subnet
   (192.168.17.0/24).
(b) A route inside XIRP3 how to reach the streamer's subnet
   (172.17.0.0/24).

Then the static configuration inside XORP2 will look like:

protocols {
    static {
        route 192.168.17.0/24 {
            next-hop: 192.168.18.2
        }
    }
}

Similarly, the static configuration inside XORP3 will look like:

protocols {
    static {
        route 172.17.0.0/24 {
            next-hop: 192.168.18.1
        }
    }
}

The above setup will add unicast static routes to the system. If you
have fib2mrib configured, then they will be used for multicast
purpose as well.
If you want to install static routes that will be used for multicast
purpose only, then replace "route" with "mrib-route".

Regards,
Pavlin



More information about the Xorp-users mailing list