<div dir="ltr">Hi Jan Matejka,<div><br></div><div>I have tried your suggestions but still same. I would use iBGP instead of OSPF, my time is over and I have to finish this job.</div><div>I'll wait for new machine with same specifications and I'll try again.</div><div><br></div><div>Thanks to you all.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><br><br>
Best regards,<br>David S.<br>
------------------------------------------------<br><div style="font-size:small"><div><div dir="ltr"><div dir="ltr">e. <a href="mailto:david@zeromail.us" style="color:rgb(17,85,204)" target="_blank">david@zeromail.us</a><br>w. <a href="http://pnyet.web.id/" style="color:rgb(17,85,204)" target="_blank">pnyet.web.id</a></div></div></div></div><span style="font-size:small">p. 087881216110</span><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On Sat, Jan 7, 2017 at 4:48 PM, Jan Matejka <span dir="ltr"><<a href="mailto:jan.matejka@nic.cz" target="_blank">jan.matejka@nic.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Now your bge0 is set as stub. It won't connect on that interface.<br>
<span class=""><br>
> protocol ospf {<br>
>         import none;<br>
>         export none;<br>
<br>
</span>This blocks all the routes send through ospf, beware.<br>
<span class=""><br>
>         area 0 {<br>
>                 interface "bge0" {<br>
>                         cost 5;<br>
</span>>                 };<br>
<br>
No more tweaking needed, all the other lines are unnecessary. If this<br>
does not work, try adding "type pointopoint;" to both sides. If this<br>
still does not work, return to this thread.<br>
<span class=""><br>
>                 interface "*" {<br>
>                         cost 1000;<br>
>                         stub;<br>
>                 };<br>
<br>
</span>This adds the routes from other interfaces but doesn't connect on them<br>
(the "stub" directive means "do not connect")<br>
<br>
>         };<br>
> }<br>
<br>
MQ<br>
<span class=""><br>
On 01/07/2017 09:06 AM, David S. wrote:<br>
> Hi Plamen,<br>
><br>
</span><div><div class="h5">> Here is my current ospf configuration both on routera and routerb:<br>
><br>
> protocol ospf {<br>
>         import none;<br>
>         export none;<br>
>         area 0 {<br>
>                 interface "bge0" {<br>
>                         stub;<br>
>                         cost 5;<br>
>                         type pointopoint;<br>
>                         #hello 5;<br>
>                         #retransmit 2;<br>
>                         #wait 10;<br>
>                         #dead 20;<br>
>                 };<br>
><br>
>                 interface "*" {<br>
>                         cost 1000;<br>
>                         stub;<br>
>                 };<br>
>         };<br>
> }<br>
><br>
> Here is ospf status print:<br>
><br>
> #routera<br>
><br>
> bird> show protocols all ospf1<br>
> name     proto    table    state  since       info<br>
> ospf1    OSPF     master   up     14:30:00    Alone<br>
>   Preference:     150<br>
>   Input filter:   REJECT<br>
>   Output filter:  REJECT<br>
>   Routes:         0 imported, 0 exported, 0 preferred<br>
>   Route change stats:     received   rejected   filtered    ignored<br>
> accepted<br>
>     Import updates:             28          0         28          0<br>
>      0<br>
>     Import withdraws:            2          0        ---         30<br>
>      0<br>
>     Export updates:         639949          0     639949        ---<br>
>      0<br>
>     Export withdraws:          263        ---        ---        ---<br>
>      0<br>
><br>
> bird> show ospf<br>
> ospf1:<br>
> RFC1583 compatibility: disabled<br>
> Stub router: No<br>
> RT scheduler tick: 1<br>
> Number of areas: 1<br>
> Number of LSAs in DB:   1<br>
>         Area: 0.0.0.0 (0) [BACKBONE]<br>
>                 Stub:   No<br>
>                 NSSA:   No<br>
>                 Transit:        No<br>
>                 Number of interfaces:   26<br>
>                 Number of neighbors:    0<br>
>                 Number of adjacent neighbors:   0<br>
><br>
> bird> show ospf interface "bge0"<br>
> ospf1:<br>
</div></div>> Interface bge0 (<a href="http://10.22.40.16/30" rel="noreferrer" target="_blank">10.22.40.16/30</a> <<a href="http://10.22.40.16/30" rel="noreferrer" target="_blank">http://10.22.40.16/30</a>>)<br>
<div><div class="h5">>         Type: ptp<br>
>         Area: 0.0.0.0 (0)<br>
>         State: PtP (stub)<br>
>         Priority: 1<br>
>         Cost: 5<br>
>         Hello timer: 10<br>
>         Wait timer: 40<br>
>         Dead timer: 40<br>
>         Retransmit timer: 5<br>
><br>
> #routerb<br>
><br>
> bird> show protocols all ospf1<br>
> name     proto    table    state  since       info<br>
> ospf1    OSPF     master   up     14:33:06    Alone<br>
>   Preference:     150<br>
>   Input filter:   REJECT<br>
>   Output filter:  REJECT<br>
>   Routes:         0 imported, 0 exported, 0 preferred<br>
>   Route change stats:     received   rejected   filtered    ignored<br>
> accepted<br>
>     Import updates:             29          0         29          0<br>
>      0<br>
>     Import withdraws:            0          0        ---         29<br>
>      0<br>
>     Export updates:         644034          0     644034        ---<br>
>      0<br>
>     Export withdraws:          300        ---        ---        ---<br>
>      0<br>
><br>
> bird> show ospf<br>
> ospf1:<br>
> RFC1583 compatibility: disabled<br>
> Stub router: No<br>
> RT scheduler tick: 1<br>
> Number of areas: 1<br>
> Number of LSAs in DB:   1<br>
>         Area: 0.0.0.0 (0) [BACKBONE]<br>
>                 Stub:   No<br>
>                 NSSA:   No<br>
>                 Transit:        No<br>
>                 Number of interfaces:   29<br>
>                 Number of neighbors:    0<br>
>                 Number of adjacent neighbors:   0<br>
><br>
> bird> show ospf interface "bge0"<br>
> ospf1:<br>
</div></div>> Interface bge0 (<a href="http://10.22.40.16/30" rel="noreferrer" target="_blank">10.22.40.16/30</a> <<a href="http://10.22.40.16/30" rel="noreferrer" target="_blank">http://10.22.40.16/30</a>>)<br>
<span class="">>         Type: ptp<br>
>         Area: 0.0.0.0 (0)<br>
>         State: PtP (stub)<br>
>         Priority: 1<br>
>         Cost: 5<br>
>         Hello timer: 10<br>
>         Wait timer: 40<br>
>         Dead timer: 40<br>
>         Retransmit timer: 5<br>
><br>
> If you have any suggestion please let me know.<br>
> Thank you<br>
><br>
><br>
><br>
> Best regards,<br>
> David S.<br>
> ------------------------------<wbr>------------------<br>
</span>> e. <a href="mailto:david@zeromail.us">david@zeromail.us</a> <mailto:<a href="mailto:david@zeromail.us">david@zeromail.us</a>><br>
> w. <a href="http://pnyet.web.id" rel="noreferrer" target="_blank">pnyet.web.id</a> <<a href="http://pnyet.web.id/" rel="noreferrer" target="_blank">http://pnyet.web.id/</a>><br>
<span class="">> p. 087881216110<br>
><br>
> On Fri, Jan 6, 2017 at 6:11 PM, Plamen Stoev<br>
</span>> <<a href="mailto:plamen.stoev@profitbricks.com">plamen.stoev@profitbricks.com</a> <mailto:<a href="mailto:plamen.stoev@profitbricks.com">plamen.stoev@<wbr>profitbricks.com</a>>><br>
<span class="">> wrote:<br>
><br>
>     Hi David,<br>
><br>
>     It turned out you have 25 ospf interfaces but I'm guessing the bge0<br>
>     is out of the applied running configuration.<br>
><br>
>     Did you dry to comment out that part of your config?<br>
><br>
>         interface "bge0" {<br>
>                stub;<br>
>                cost 5;<br>
>                hello 10; retransmit 2; wait 10; dead 40;<br>
>                type pointopoint;<br>
>        };<br>
><br>
>     Please give it a try and let us know if this will help so far to<br>
>     establish the adjacency?<br>
><br>
>     It would be great to provide us with the output of birdc show ospf<br>
>     interface.<br>
><br>
>     Thanks,<br>
>     Plamen<br>
><br>
>     On Thu, Jan 5, 2017 at 5:13 PM, David S. <<a href="mailto:david@zeromail.us">david@zeromail.us</a><br>
</span><div><div class="h5">>     <mailto:<a href="mailto:david@zeromail.us">david@zeromail.us</a>>> wrote:<br>
><br>
>         Hi Plamen,<br>
><br>
>         Here is the ifconfig for bge0 both on routera and routerb<br>
><br>
>         #routera<br>
>         bge0: flags=8843<UP,BROADCAST,<wbr>RUNNING,SIMPLEX,MULTICAST> metric<br>
>         0 mtu 1500<br>
><br>
>         options=8009b<RXCSUM,TXCSUM,<wbr>VLAN_MTU,VLAN_HWTAGGING,VLAN_<wbr>HWCSUM,LINKSTATE><br>
>                 ether 1c:98:ec:13:5e:60<br>
>                 inet 10.22.40.17 netmask 0xfffffffc broadcast 10.22.40.19<br>
>                 inet6 fe80::1e98:ecff:fe13:5e60%bge0 prefixlen 64<br>
>         scopeid 0x5<br>
>                 inet6 2400:6:: prefixlen 127<br>
>                 nd6 options=21<PERFORMNUD,AUTO_<wbr>LINKLOCAL><br>
>                 media: Ethernet autoselect (1000baseT <full-duplex>)<br>
>                 status: active<br>
><br>
>         #routerb<br>
>         bge0: flags=8843<UP,BROADCAST,<wbr>RUNNING,SIMPLEX,MULTICAST> metric<br>
>         0 mtu 1500<br>
><br>
>         options=8009b<RXCSUM,TXCSUM,<wbr>VLAN_MTU,VLAN_HWTAGGING,VLAN_<wbr>HWCSUM,LINKSTATE><br>
>                 ether 1c:98:ec:13:4e:f0<br>
>                 inet 10.22.40.18 netmask 0xfffffffc broadcast 10.22.40.19<br>
>                 inet6 fe80::1e98:ecff:fe13:4ef0%bge0 prefixlen 64<br>
>         scopeid 0x7<br>
>                 inet6 2402:6980::1 prefixlen 127<br>
>                 nd6 options=21<PERFORMNUD,AUTO_<wbr>LINKLOCAL><br>
>                 media: Ethernet autoselect (1000baseT <full-duplex>)<br>
>                 status: active<br>
><br>
>         #ping from routera to routerb<br>
>         root@:~ # ping -S 10.22.40.17 10.22.40.18<br>
>         PING 10.22.40.18 (10.22.40.18) from 10.22.40.17<br>
</div></div>>         <<a href="http://10.22.40.17" rel="noreferrer" target="_blank">http://10.22.40.17</a>>: 56 data bytes<br>
>         64 bytes from 10.22.40.18 <<a href="http://10.22.40.18" rel="noreferrer" target="_blank">http://10.22.40.18</a>>: icmp_seq=0<br>
>         ttl=64 time=0.215 ms<br>
>         64 bytes from 10.22.40.18 <<a href="http://10.22.40.18" rel="noreferrer" target="_blank">http://10.22.40.18</a>>: icmp_seq=1<br>
>         ttl=64 time=0.328 ms<br>
>         64 bytes from 10.22.40.18 <<a href="http://10.22.40.18" rel="noreferrer" target="_blank">http://10.22.40.18</a>>: icmp_seq=2<br>
>         ttl=64 time=0.274 ms<br>
>         64 bytes from 10.22.40.18 <<a href="http://10.22.40.18" rel="noreferrer" target="_blank">http://10.22.40.18</a>>: icmp_seq=3<br>
>         ttl=64 time=0.174 ms<br>
>         64 bytes from 10.22.40.18 <<a href="http://10.22.40.18" rel="noreferrer" target="_blank">http://10.22.40.18</a>>: icmp_seq=4<br>
<span class="">>         ttl=64 time=0.346 ms<br>
><br>
>         --- 10.22.40.18 ping statistics ---<br>
>         5 packets transmitted, 5 packets received, 0.0% packet loss<br>
>         round-trip min/avg/max/stddev = 0.174/0.267/0.346/0.065 ms<br>
><br>
>         #from routerb to routera<br>
>         # ping -S 10.22.40.18 10.22.40.17<br>
>         PING 10.22.40.17 (10.22.40.17) from 10.22.40.18<br>
</span>>         <<a href="http://10.22.40.18" rel="noreferrer" target="_blank">http://10.22.40.18</a>>: 56 data bytes<br>
>         64 bytes from 10.22.40.17 <<a href="http://10.22.40.17" rel="noreferrer" target="_blank">http://10.22.40.17</a>>: icmp_seq=0<br>
>         ttl=64 time=0.145 ms<br>
>         64 bytes from 10.22.40.17 <<a href="http://10.22.40.17" rel="noreferrer" target="_blank">http://10.22.40.17</a>>: icmp_seq=1<br>
>         ttl=64 time=0.149 ms<br>
>         64 bytes from 10.22.40.17 <<a href="http://10.22.40.17" rel="noreferrer" target="_blank">http://10.22.40.17</a>>: icmp_seq=2<br>
>         ttl=64 time=0.141 ms<br>
>         64 bytes from 10.22.40.17 <<a href="http://10.22.40.17" rel="noreferrer" target="_blank">http://10.22.40.17</a>>: icmp_seq=3<br>
>         ttl=64 time=0.207 ms<br>
>         64 bytes from 10.22.40.17 <<a href="http://10.22.40.17" rel="noreferrer" target="_blank">http://10.22.40.17</a>>: icmp_seq=4<br>
<span class="">>         ttl=64 time=0.165 ms<br>
><br>
>         --- 10.22.40.17 ping statistics ---<br>
>         5 packets transmitted, 5 packets received, 0.0% packet loss<br>
>         round-trip min/avg/max/stddev = 0.141/0.161/0.207/0.024 ms<br>
><br>
>         I don't know why routera couldn't sent ospf hello packets to<br>
>         routerb vice versa.<br>
>         You can find on my previous post (pastebin) for the tcpdump resulst.<br>
><br>
>         Thank you<br>
><br>
><br>
><br>
>         Best regards,<br>
>         David S.<br>
>         ------------------------------<wbr>------------------<br>
</span>>         e. <a href="mailto:david@zeromail.us">david@zeromail.us</a> <mailto:<a href="mailto:david@zeromail.us">david@zeromail.us</a>><br>
>         w. <a href="http://pnyet.web.id" rel="noreferrer" target="_blank">pnyet.web.id</a> <<a href="http://pnyet.web.id/" rel="noreferrer" target="_blank">http://pnyet.web.id/</a>><br>
<span class="">>         p. 087881216110<br>
><br>
>         On Thu, Jan 5, 2017 at 7:00 PM, Plamen Stoev<br>
>         <<a href="mailto:plamen.stoev@profitbricks.com">plamen.stoev@profitbricks.com</a><br>
</span><span class="">>         <mailto:<a href="mailto:plamen.stoev@profitbricks.com">plamen.stoev@<wbr>profitbricks.com</a>>> wrote:<br>
><br>
>             Hi David,<br>
><br>
>             Can you please provide us with the output of 'ifconfig bge0'<br>
>             from both machines?<br>
><br>
>             It would also be helpful to get ping router-a from router-b<br>
>             and vise versa. Does this work?<br>
><br>
>             Thank you in advance.<br>
><br>
>             Best,<br>
>             Plamen<br>
><br>
><br>
>             On Tue, Jan 3, 2017 at 9:43 PM, David S. <<a href="mailto:david@zeromail.us">david@zeromail.us</a><br>
</span><span class="">>             <mailto:<a href="mailto:david@zeromail.us">david@zeromail.us</a>>> wrote:<br>
><br>
>                 Hi,<br>
><br>
>                 After installing a 1 server with FreeBSD11 and configure<br>
>                 BIRD with minimum configuration I saw that error<br>
>                 "invalid argument" for bge0 is still appear but not for<br>
>                 igb*.<br>
><br>
>                 This takes more than 4 days, still confusing.<br>
><br>
>                 Does netmap cased this problem? Netmap is enabled by<br>
>                 default on FreeBSD11 (CMIIW).<br>
><br>
>                 Thank you<br>
><br>
><br>
><br>
><br>
><br>
>                 Best regards,<br>
>                 David S.<br>
>                 ------------------------------<wbr>------------------<br>
</span>>                 e. <a href="mailto:david@zeromail.us">david@zeromail.us</a> <mailto:<a href="mailto:david@zeromail.us">david@zeromail.us</a>><br>
>                 w. <a href="http://pnyet.web.id" rel="noreferrer" target="_blank">pnyet.web.id</a> <<a href="http://pnyet.web.id/" rel="noreferrer" target="_blank">http://pnyet.web.id/</a>><br>
<span class="">>                 p. 087881216110<br>
><br>
>                 On Tue, Jan 3, 2017 at 4:53 PM, David S.<br>
</span><span class="">>                 <<a href="mailto:david@zeromail.us">david@zeromail.us</a> <mailto:<a href="mailto:david@zeromail.us">david@zeromail.us</a>>> wrote:<br>
><br>
>                     Hi Ondrej,<br>
><br>
>                     I have no firewall enable and it's not work on all<br>
>                     card. I have 4 port 1gbe broadcom and 4 port 1gbe<br>
>                     intel I350 chipset based.<br>
>                     The clue I only have is ospf not sending hello<br>
>                     packet between routera to routerb vice versa, both<br>
>                     of server use HP DL360 Gen9 FreeBSD11.<br>
>                     Both router has multiple bgp session and receive<br>
>                     full route from the internet.<br>
><br>
>                     It's weird, when routera able to send and receive<br>
>                     ospf hello packets from and to routerc vice versa,<br>
>                     both of them are FreeBSD11.<br>
><br>
>                     I'll try to reinstall the OS and configure ospf<br>
>                     first and then one by one configure the bgp.<br>
><br>
>                     So, it's only happen to me? :d<br>
><br>
>                     Thanks anyway.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
>                     Best regards,<br>
>                     David S.<br>
>                     ------------------------------<wbr>------------------<br>
</span>>                     e. <a href="mailto:david@zeromail.us">david@zeromail.us</a> <mailto:<a href="mailto:david@zeromail.us">david@zeromail.us</a>><br>
>                     w. <a href="http://pnyet.web.id" rel="noreferrer" target="_blank">pnyet.web.id</a> <<a href="http://pnyet.web.id/" rel="noreferrer" target="_blank">http://pnyet.web.id/</a>><br>
<span class="">>                     p. 087881216110<br>
><br>
>                     On Mon, Jan 2, 2017 at 9:04 PM, Ondrej Zajicek<br>
>                     <<a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a><br>
</span><span class="">>                     <mailto:<a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a><wbr>>> wrote:<br>
><br>
>                         On Mon, Jan 02, 2017 at 01:33:57AM +0700, David<br>
>                         S. wrote:<br>
>                         > Hi,<br>
>                         ><br>
>                         > I tried to setup new environment using FreeBSD11 amd64 on vmware and<br>
>                         > everything work without a problem, I didn't see any error or interface<br>
>                         > issue like on routera and routerb. Let's say that new router we called it<br>
>                         > routerc and routerd.<br>
>                         > I try to create ospf session between routera to routerc, routerb to routerd<br>
>                         > and the neighbor is appear, everything is normal.<br>
>                         > I don't know why but the ospf hello packets are not sent by routera to<br>
>                         > routerb or vice versa.<br>
><br>
>                         It seems like some specific problem in your<br>
>                         setup. Perhaps firewall or<br>
>                         insufficient privileges? Does it work with<br>
>                         different network card?<br>
><br>
>                         --<br>
>                         Elen sila lumenn' omentielvo<br>
><br>
>                         Ondrej 'Santiago' Zajicek (email:<br>
>                         <a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a><br>
</span>>                         <mailto:<a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a><wbr>>)<br>
<span class="">>                         OpenPGP encrypted e-mails preferred (KeyID<br>
>                         0x11DEADC3, <a href="http://wwwkeys.pgp.net" rel="noreferrer" target="_blank">wwwkeys.pgp.net</a><br>
</span>>                         <<a href="http://wwwkeys.pgp.net" rel="noreferrer" target="_blank">http://wwwkeys.pgp.net</a>>)<br>
<div class="HOEnZb"><div class="h5">>                         "To err is human -- to blame it on a computer is<br>
>                         even more so."<br>
><br>
><br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>