OpenBGP

2011-02-28 Thread fredrik danerklint
Hi!

I need some help with an configuration of OpenBGP. 

I have four routers that is connected with p-2-p links between each other:

R1 - R2 - R3 - R4

I've only seen networks announced to the nearest router that it is connected 
to.

For example: R1 see R2 but R1 cannot see R3 etc..

There is no other router deamon running on the servers (ie no ospfd).

I think this must be some basic error that I have made.

The configuration files is very basic ie: no filter rules at all and there is 
an allow from any.

All the routers have an uniq router id. All routers announce an uniq network 
that the others don't have.

-- 
//fredan



Re: OpenBGP

2011-02-28 Thread fredrik danerklint
mendagen den 28 februari 2011 15.15.21 skrev  Claudio Jeker:
 On Mon, Feb 28, 2011 at 03:08:05PM +0100, fredrik danerklint wrote:
  Hi!
  
  I need some help with an configuration of OpenBGP.
  
  I have four routers that is connected with p-2-p links between each
  other:
  
  R1 - R2 - R3 - R4
  
  I've only seen networks announced to the nearest router that it is
  connected to.
  
  For example: R1 see R2 but R1 cannot see R3 etc..
  
  There is no other router deamon running on the servers (ie no ospfd).
  
  I think this must be some basic error that I have made.
  
  The configuration files is very basic ie: no filter rules at all and
  there is an allow from any.
  
  All the routers have an uniq router id. All routers announce an uniq
  network that the others don't have.
 
 If you use the same AS on all 4 routers then you need to full mesh the
 four routers (iBGP sessions). Another option would be to use the
 route-reflector support. This is how BGP works.

Fair enough.

I have now tested to use three different AS number on the routers so they all 
act like eBGP in between them (I have in this test skipped router R4).

Only router R2 sees everything. R1 see what R2 announce but not R3 and the 
same is true for router R3 that it can't see what R1 announce.

Still, it must be something obviously that I have missed with this 
configuration for OpenBGP shall work in a configuration like this?

-- 
//fredan



Re: OpenBGP

2011-02-28 Thread fredrik danerklint
mendagen den 28 februari 2011 16.22.10 skrev  Henning Brauer:
 * fredrik danerklint fredan-open...@fredan.se [2011-02-28 15:11]:
  Hi!
  
  I need some help with an configuration of OpenBGP.
  
  I have four routers that is connected with p-2-p links between each
  other:
  
  R1 - R2 - R3 - R4
  
  I've only seen networks announced to the nearest router that it is
  connected to.
  
  For example: R1 see R2 but R1 cannot see R3 etc..
 
 that's how BGP works. inside your own AS, the assumptions are
 1) every bgp speaker talks to every bgp speaker, or there's a route
 reflector 2) routing inside the AS is handled by an IGP (e. g. ospf)

I have seems to missed this with BGP but now dived into presentations about 
BGP to learn more about this (that I need some type of a mesh network inside 
my AS to achieve what I would like to do).

 
  There is no other router deamon running on the servers (ie no ospfd).
 
 well, you'll need one.

Well, ospf6d is so broken that it can't be used in a production environment.

Since IPv6 is so important for me as a Internet Service Provider I have to 
come up with something to solve my needs

-- 
//fredan



Re: OpenBGP

2011-02-28 Thread fredrik danerklint
mendagen den 28 februari 2011 19.27.28 skrev  fredrik danerklint:
 mendagen den 28 februari 2011 15.15.21 skrev  Claudio Jeker:
  On Mon, Feb 28, 2011 at 03:08:05PM +0100, fredrik danerklint wrote:
   Hi!
   
   I need some help with an configuration of OpenBGP.
   
   I have four routers that is connected with p-2-p links between each
   other:
   
   R1 - R2 - R3 - R4
   
   I've only seen networks announced to the nearest router that it is
   connected to.
   
   For example: R1 see R2 but R1 cannot see R3 etc..
   
   There is no other router deamon running on the servers (ie no ospfd).
   
   I think this must be some basic error that I have made.
   
   The configuration files is very basic ie: no filter rules at all and
   there is an allow from any.
   
   All the routers have an uniq router id. All routers announce an uniq
   network that the others don't have.
  
  If you use the same AS on all 4 routers then you need to full mesh the
  four routers (iBGP sessions). Another option would be to use the
  route-reflector support. This is how BGP works.
 
 Fair enough.
 
 I have now tested to use three different AS number on the routers so they
 all act like eBGP in between them (I have in this test skipped router R4).
 
 Only router R2 sees everything. R1 see what R2 announce but not R3 and the
 same is true for router R3 that it can't see what R1 announce.
 
 Still, it must be something obviously that I have missed with this
 configuration for OpenBGP shall work in a configuration like this?

I did miss the announce all in the neighbour. Now it does work as eBGP in 
between.

-- 
//fredan



Re: network bandwith with em(4)

2011-02-28 Thread fredrik danerklint
mendagen den 28 februari 2011 23.00.10 skrev  Daniel Ouellet:
  OK. Anyway NIC buffers restrict buffered packets number. But the problem
  remain: why a (for exemple) dual Xeon E5520@2.27GHz with Intel PRO/1000
  (82576) can't route 150kpps without Ierr :-)
  http://www.oxymium.net/tmp/core3-dmesg
 
 Just an idea, but may be it very well could have something to do with this:
 
 http://www.openbsd.org/want.html
 
 Specifically this part:
 
 # Intel 82576 SFP and 82580 based Gigabit Ethernet devices for improving
 hardware support in em(4). Needed in Hannover, Germany. Contact
 j...@openbsd.org.

I've sent an 4-port network card (Intel NIC I340-T4 (82580 ethernet chipset)) 
to jsg which he did received 2011-01-18. 

-- 
//fredan



Intel NIC I340-T4 (82580 ethernet chipset)

2011-01-10 Thread fredrik danerklint
Hi!

Is there any plans for supporting this network card from Intel? 

There is an driver for FreeBSD 7.x series and later available from Intel

http://downloadcenter.intel.com/Detail_Desc.aspx?agr=YDwnldID=15815keyword=%2282580%22lang=eng

Is it very complicated to port this driver to OpenBSD?

The only messages I've seen so far is this

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg237533.html

-- 
//fredan