cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
830
Views
0
Helpful
2
Replies

Help redistributing eBGP into OSPF, cant ping BGP network. 2 ISP's - 1 router

husqvarna1990
Level 1
Level 1

Hello i am having some trouble trying to setup a network with OSPF and BGP, this is my first ever attempt. I have 2 ISP networks and 1 router connected to both. I have configured OSPF configured on the router "Marketing, Sales, Admin" and BGP on "Admin, ISP1, ISP2" but i am unable to ping either network. Do i need an ACL, or have i just made a major error - forgot a command ?

 

What am i missing in my commands ?

 

Here is the router config that joins the OSPF and BGP networks, i have 2 instances of OSPF, 1 for ipv4 and another for ipv6.  

CaseStudy_ospf_bgp.PNG

hostname Admin
!
aaa new-model
!
aaa authentication login default local enable
aaa authentication login vty local
!
no ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
username ADMIN secret 5 $1$mERr$RldxcCZEZsTFTETUyRaA50
!
interface GigabitEthernet0/0
ip address 19.16.0.1 255.255.255.252
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8::4/127
!
interface GigabitEthernet0/1
ip address 192.168.0.2 255.255.255.252
ip ospf 1 area 0
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8::1/127
ipv6 ospf 2 area 0
!
interface GigabitEthernet0/2
ip address 192.168.1.2 255.255.255.252
ip ospf 1 area 0
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8::3/127
ipv6 ospf 2 area 0
!
interface Serial0/0/0
bandwidth 64
ip address 19.16.2.1 255.255.255.252
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8::8/127
clock rate 64000
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
redistribute bgp 1 metric 100 metric-type 1 subnets
!
router bgp 1
bgp log-neighbor-changes
no synchronization
neighbor 19.16.0.2 remote-as 2
neighbor 19.16.2.2 remote-as 3
redistribute ospf 1 match internal external 1 external 2
!
ipv6 router ospf 2
router-id 1.1.1.1
log-adjacency-changes
redistribute bgp 1 metric 100 metric-type 1 subnets
!
end

2 Replies 2

Hello,

 

this looks like a Packet Tracer file, can you post the project file ? ZIP it first, otherwise you cannot upload...

Eric101
Level 1
Level 1
This looks like an exercise, in real world you would need to have NAT between the internal network and the ISPs which are not configured.

Are your BGP sessions up and exchanging routes? sh ip bgp neigh and show ip bgp neighbors received-routes
Is OSPF up? sh ip ospf nei and sh ipv6 ospf nei
Can you display a list of routes currently seen and installed? sh ip route and sh ipv6 route