12-04-2018 07:54 AM - edited 03-05-2019 11:05 AM
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.
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
12-04-2018 08:45 AM
Hello,
this looks like a Packet Tracer file, can you post the project file ? ZIP it first, otherwise you cannot upload...
12-04-2018 08:49 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide