Hello list, 

I am experiencing a very strange behavior of an newly installed
OpenBGPD router running on OpenBSD 5.3 with all patches as of two days ago
from errata page.

This Router connects to internal Route Servers and it Peers
with an IXP, i have tried many parameters but i am failing to announce other
ASes that are behind me to the IXP it only announces my AS not others. Can
someone shed some light on this?

Thanks in advance :D

My AS65500, my peer
AS65501 and IXP AS65000

prefix information:
* i am learning the route from
another Router through Route Servers these are all connected to
192.168.128/25):
OpenBGPD:~# bgpctl show ip bgp detail 172.16.0.0

BGP routing
table entry for 172.16.0.0/23
    65501
    Nexthop 192.168.0.250 (via
192.168.0.250) from RS_PRIMARY (192.168.0.130)
    Origin IGP, metric 0,
localpref 600, weight 0, internal, valid, best
    Last update: 00:26:40 ago
 
  Communities: 65500:12 65500:65501
    Originator Id: 192.168.0.252
   
Cluster ID List: 192.168.0.130

BGP routing table entry for 172.16.0.0/23
   
65501
    Nexthop 192.168.0.250 (via 192.168.0.250) from RS_SECONDARY
(192.168.0.136)
    Origin IGP, metric 0, localpref 600, weight 0, internal,
valid
    Last update: 00:17:46 ago
    Communities: 65500:12 65500:65501
   
Originator Id: 192.168.0.252
    Cluster ID List: 192.168.0.136

The
configuration is(bgpd.conf):
# Macros
RS_PRIMARY="192.168.0.130"
RS_SECONDARY="192.168.0.136"
IXP_PRIMARY="10.0.0.253"
IXP_SECONDARY="10.0.0.254"



# Global Configuration
AS 65500
router-id
192.168.0.137
nexthop qualify via bgp

# internal Route-Servers
group
"CORE-RS" {
        neighbor $RS_PRIMARY {
                descr          
"Core-MS-V4"
                remote-as       65500
               
local-address 192.168.0.137
                announce IPv4 unicast
           
    set nexthop self
        }

        neighbor $RS_SECONDARY {
             
  descr           "Core-SL-V4"
                remote-as       65500
         
      local-address 192.168.0.137
                announce IPv4 unicast
     
          set nexthop self
        }
}

group "IXP" {
        neighbor
$IXP_PRIMARY {
                descr           "IXP_PRIMARY"
               
remote-as       65000
                local-address   192.168.1.7
           
    announce all
                announce IPv4 unicast
                set
nexthop self
                enforce neighbor-as no
        }

       
neighbor $IXP_SECONDARY {
                descr           "IXP_SECONDARY"
   
            remote-as       65000
                local-address   192.168.1.7
                announce all
                announce IPv4 unicast
           
    set nexthop self
                enforce neighbor-as no
        }
}
#Filters
# IXP Incoming
allow from group IXP
match from group IXP set {
localpref 300, community 65500:52 }

# IXP Outgoing
deny to group IXP
allow to
group IXP community 65500:33
allow to group IXP community 65500:65501
allow to
group IXP source-as 65501
allow to group IXP prefix 172.16.0.0/23

Reply via email to