<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">OpenVPN won’t do multicast over TUN, only TAP. </div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">--</div><b class="">Michael McConnell<br class="">WINK Streaming;<br class="">email:</b> <a href="mailto:michael@winkstreaming.com" class="">michael@winkstreaming.com</a><br class=""><b class="">toll free:</b><span class="Apple-converted-space"> </span>877-GO-4-WINK x 7400<br class=""><b class="">direct: </b>+1 312 281-5434<br class=""><b class="">cell:</b> +506 8706-2389<br class=""><b class="">skype:</b> wink-michael<br class=""><b class="">web:</b> <a href="http://winkstreaming.com" class="">http://winkstreaming.com</a></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Apr 3, 2018, at 1:23 AM, dawid k <<a href="mailto:tookie009smieci@gmail.com" class="">tookie009smieci@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">ip addr list:<br class=""></div><div class="">server: </div><div class=""> <div class="">eth0, lo and </div><div class=""><div class="">5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100</div><div class=""> link/[65534]</div><div class=""> inet 10.29.0.1 peer <a href="http://10.29.0.2/32" class="">10.29.0.2/32</a> scope global tun0</div></div><div class=""><br class=""></div><div class="">client: </div><div class=""><div class=""><br class=""></div><div class="">977: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 100</div><div class=""> link/[65534]</div><div class=""> inet 10.29.0.6 peer <a href="http://10.29.0.5/32" class="">10.29.0.5/32</a> scope global tun0</div><div class=""> valid_lft forever preferred_lft forever</div></div><div class=""><br class=""></div><div class="">Following commands resulted in similar output on client and server with different IP-Addresses.</div><div class=""><br class=""></div><div class=""><span style="font-size:12.8px" class="">birdc show interfaces:</span></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">tun0 up (index=5)</span><br class=""></div><div class=""><div class=""><span style="font-size:12.8px" class=""> PtP Multicast AdminUp LinkUp MTU=1500</span></div><div class=""><span style="font-size:12.8px" class=""> <a href="http://10.29.0.1/32" class="">10.29.0.1/32</a> (Primary, opposite 10.29.0.2, scope site)</span></div><div style="font-size:12.8px" class=""><br class=""></div></div><div class=""><div class="">birdc show ospf interface:</div><div class=""><br class=""></div><div class="">BIRD 1.6.3 ready.</div><div class="">myOSPF3:</div><div class="">Interface tun0 (peer 10.29.0.2)</div><div class=""> Type: ptp</div><div class=""> Area: 0.0.0.0 (0)</div><div class=""> State: PtP</div><div class=""> Priority: 1</div><div class=""> Cost: 10</div><div class=""> Hello timer: 10</div><div class=""> Wait timer: 10</div><div class=""> Dead timer: 40</div><div class=""> Retransmit timer: 5</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><span style="font-size:12.8px" class="">birdc show ospf neighbors: no neighbours. </span><br class=""></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">tcpdump -v -s 0 proto ospf -i tun0</span><br class=""></div><div class=""><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">06:59:00.439738 IP (tos 0xc0, ttl 1, id 15270, offset 0, flags [none], proto OSPF (89), length 64)</span></div><div class=""><span style="font-size:12.8px" class=""> server > <a href="http://ospf-all.mcast.net/" class="">ospf-all.mcast.net</a>: OSPFv2, Hello, length 44</span></div><div class=""><span style="font-size:12.8px" class=""> Router-ID repo.traffic.local, Backbone Area, Authentication Type: none (0)</span></div><div class=""><span style="font-size:12.8px" class=""> Options [External]</span></div><div class=""><span style="font-size:12.8px" class=""> Hello Timer 10s, Dead Timer 40s, Mask 0.0.0.0, Priority 1</span></div><div class=""><span style="font-size:12.8px" class="">06:59:02.449363 IP (tos 0xc0, ttl 1, id 18875, offset 0, flags [none], proto OSPF (89), length 64)</span></div><div class=""><span style="font-size:12.8px" class=""> 10.29.0.6 > <a href="http://ospf-all.mcast.net/" class="">ospf-all.mcast.net</a>: OSPFv2, Hello, length 44</span></div><div class=""><span style="font-size:12.8px" class=""> Router-ID 192.168.21.17, Backbone Area, Authentication Type: none (0)</span></div><div class=""><span style="font-size:12.8px" class=""> Options [External]</span></div><div class=""><span style="font-size:12.8px" class=""> Hello Timer 10s, Dead Timer 40s, Mask 0.0.0.0, Priority 1</span></div></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">Where server is the name of my server. </span></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">In logs I can see only multiple <TRACE> myOSPF3: HELLO packet sent via tun0 - messages and once after start initial logs like adding area and originating lsa for routes from static-protocol. </span></div><div class=""><br class=""></div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">Now i'm trying to establish ptp-connection for ospf, but in future the server should run in ptmp mode. </span>I suppose, that there is somethnig wrong with the IP-Address of peer, since the server has IP-Address 10.29.0.1 and the client 10.29.0.10. But I declared these IP-Adresses as neighbour in config file. Maybe there is an issue, that the IP-Addresses are in /32-network? But unfortunately I cannot change anything in openvpn settings. Do you have any idea, what I'm doing wrong? </div><div style="font-size:12.8px" class=""><br class=""></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">2018-03-30 0:25 GMT+02:00 Ondrej Zajicek <span dir="ltr" class=""><<a href="mailto:santiago@crfreenet.org" target="_blank" class="">santiago@crfreenet.org</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Thu, Mar 29, 2018 at 03:02:52PM +0200, dawid k wrote:<br class="">> Here my configuration (client):<br class="">><br class="">> ifconfig tun0:<br class="">> tun0 Link encap:UNSPEC HWaddr<br class="">> 00-00-00-00-00-00-00-00-00-00-<wbr class="">00-00-00-00-00-00<br class="">> inet addr:10.29.0.10 P-t-P:10.29.0.9 Mask:255.255.255.255<br class="">><br class="">> bird_ospf.conf (included in bird.conf) :<br class="">><br class="">> protocol ospf myOSPF {<br class="">> area 0.0.0.0 {<br class="">> interface "tun0" {<br class="">> cost 10;<br class="">> type ptp;<br class="">> stub no; hello 10; transmit delay 5; wait 10; dead<br class="">> 40;<br class="">> neighbors {<br class="">> 10.29.0.1;<br class="">> }; }; };<br class=""><br class=""></span>Hi<br class=""><br class="">What do you get from:<br class=""><br class="">ip addr list<br class="">birdc show interfaces<br class="">birdc show ospf interface<br class="">birdc show ospf neighbors<br class="">tcpdump -v -s 0 proto ospf -i tun0<br class=""><br class=""><br class="">Do you have anything interesting in logs?<br class=""><span class="gmail-HOEnZb"><font color="#888888" class=""><br class="">--<br class="">Elen sila lumenn' omentielvo<br class=""><br class="">Ondrej 'Santiago' Zajicek (email: <a href="mailto:santiago@crfreenet.org" class="">santiago@crfreenet.org</a>)<br class="">OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net/" rel="noreferrer" target="_blank" class="">wwwkeys.pgp.net</a>)<br class="">"To err is human -- to blame it on a computer is even more so."<br class=""></font></span></blockquote><div class=""><span class="gmail-HOEnZb"><font color="#888888" class=""><br class=""></font></span></div></div></div></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2018-03-30 0:25 GMT+02:00 Ondrej Zajicek <span dir="ltr" class=""><<a href="mailto:santiago@crfreenet.org" target="_blank" class="">santiago@crfreenet.org</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Mar 29, 2018 at 03:02:52PM +0200, dawid k wrote:<br class="">
> Here my configuration (client):<br class="">
><br class="">
> ifconfig tun0:<br class="">
> tun0 Link encap:UNSPEC HWaddr<br class="">
> 00-00-00-00-00-00-00-00-00-00-<wbr class="">00-00-00-00-00-00<br class="">
> inet addr:10.29.0.10 P-t-P:10.29.0.9 Mask:255.255.255.255<br class="">
><br class="">
> bird_ospf.conf (included in bird.conf) :<br class="">
><br class="">
> protocol ospf myOSPF {<br class="">
> area 0.0.0.0 {<br class="">
> interface "tun0" {<br class="">
> cost 10;<br class="">
> type ptp;<br class="">
> stub no; hello 10; transmit delay 5; wait 10; dead<br class="">
> 40;<br class="">
> neighbors {<br class="">
> 10.29.0.1;<br class="">
> }; }; };<br class="">
<br class="">
</span>Hi<br class="">
<br class="">
What do you get from:<br class="">
<br class="">
ip addr list<br class="">
birdc show interfaces<br class="">
birdc show ospf interface<br class="">
birdc show ospf neighbors<br class="">
tcpdump -v -s 0 proto ospf -i tun0<br class="">
<br class="">
<br class="">
Do you have anything interesting in logs?<br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
--<br class="">
Elen sila lumenn' omentielvo<br class="">
<br class="">
Ondrej 'Santiago' Zajicek (email: <a href="mailto:santiago@crfreenet.org" class="">santiago@crfreenet.org</a>)<br class="">
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net/" rel="noreferrer" target="_blank" class="">wwwkeys.pgp.net</a>)<br class="">
"To err is human -- to blame it on a computer is even more so."<br class="">
</font></span></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>