Let's say, ...
Router A, AS number 1
Router B, AS number 2
Router C, AS number 3
The connection between them is: A - B - C
B has 4 networks attached to it:
a.b.c.d, e.f.g.h, m.n.o.p, and q.r.s.t networks.
I want to have BGP pairing between B to A, and B to C. However, I want only a.b.c.d and e.f.g.h to be announced to A, while m.n.o.p and q.r.s.t to be announces to C.
In order to do that, I did an ACL filter on the announcements. The configuration looks like this:
router bgp 2
bgp router-id 2
bgp log-neighbor-changes
network a.b.c.d mask 255.255.255.0
network e.f.g.h mask 255.255.255.0
network m.n.o.p mask 255.255.255.0
network q.r.s.t mask 255.255.255.0
neighbor A remote-as 1
neighbor A distribute-list 11 out
neighbor B remote-as 2
neighbor B distribute-list 22 out
no auto-summary
access-list 11 permit a.b.c.d
access-list 11 permit e.f.g.h
access-list 11 deny any
access-list 22 permit m.n.o.p
access-list 22 permit q.r.s.t
access-list 22 deny any
BGP updated completely, as expected.
What makes me confused is, it does not do routing:
B can access (PING) to A, C, and to the 4 networks, and vice versa A, C, and the networks can PING B. But, the networks can't PING to A nor C.
Traceroute reveals that the PINGs stopped at Router B.
Looks like the C3845 Router did not routes. Or did I make a boo-boo in the configuration?
Your comments please. Thank you.
Router A, AS number 1
Router B, AS number 2
Router C, AS number 3
The connection between them is: A - B - C
B has 4 networks attached to it:
a.b.c.d, e.f.g.h, m.n.o.p, and q.r.s.t networks.
I want to have BGP pairing between B to A, and B to C. However, I want only a.b.c.d and e.f.g.h to be announced to A, while m.n.o.p and q.r.s.t to be announces to C.
In order to do that, I did an ACL filter on the announcements. The configuration looks like this:
router bgp 2
bgp router-id 2
bgp log-neighbor-changes
network a.b.c.d mask 255.255.255.0
network e.f.g.h mask 255.255.255.0
network m.n.o.p mask 255.255.255.0
network q.r.s.t mask 255.255.255.0
neighbor A remote-as 1
neighbor A distribute-list 11 out
neighbor B remote-as 2
neighbor B distribute-list 22 out
no auto-summary
access-list 11 permit a.b.c.d
access-list 11 permit e.f.g.h
access-list 11 deny any
access-list 22 permit m.n.o.p
access-list 22 permit q.r.s.t
access-list 22 deny any
BGP updated completely, as expected.
What makes me confused is, it does not do routing:
B can access (PING) to A, C, and to the 4 networks, and vice versa A, C, and the networks can PING B. But, the networks can't PING to A nor C.
Traceroute reveals that the PINGs stopped at Router B.
Looks like the C3845 Router did not routes. Or did I make a boo-boo in the configuration?
Your comments please. Thank you.