|
|
On Fri, 2007-01-05 at 20:42 +0100, Hans-Peter Mani wrote: > I am trying to get discovery service like apple's rendezvous working > with openvpn tunnels. From what I googled I understand that i have to > use a multicast router like mrouted. I am far away from being an expert > but I tried to create a mrouted tunnel with something like this > > ifconfig: > > tun0 Link encap:UNSPEC HWaddr > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > inet addr:10.5.5.1 P-t-P:10.5.5.2 Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > RX packets:10051 errors:0 dropped:0 overruns:0 frame:0 > TX packets:60457 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:1956681 (1.8 MiB) TX bytes:82776222 (78.9 MiB) > > /etc/mrouted.conf: > > tunnel 10.5.5.1 10.5.5.2 metric 1 threshold 32 > > > However, mrouted terminates immediately and reports > > warning - ignoring tun0, has invalid address (10.5.5.1) and/or mask > (255.255.255.255) > > After some googling it seems mrouted does not work with mask > 255.255.255.255. > > Can anyone confirm that this is the right way (using mrouted) to get > rendezvous working ? > Can anyone help and can post a complete example ? Assuming you aren't using the .0 and .3 addresses, you could ifconfig the interface to use a netmask of 255.255.255.252 which might work if it wants to see a traditional 4-host subnet for the route instead of a p-t-p link. I haven't used mrouted, but have run multicast over openvpn using the static router smcroute. If you know the multicast group and potential senders ahead of time you can set up static routes to forward them. -- Les Mikesell lesmikesell@xxxxxxxxx ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users |