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