hostname dev2
!
interface GigabitEthernet0/0
 ip address 10.12.0.2 255.255.255.0
 no shutdown
!
interface GigabitEthernet0/1
 ip address 10.23.0.2 255.255.255.0
 no shutdown
!
router ospf 300
 router-id 10.99.2.2
 network 10.23.0.0 0.0.0.255 area 0.0.0.0
!
router bgp 300
 bgp router-id 10.99.2.2
 neighbor 10.12.0.1 remote-as 100
 neighbor 10.23.0.3 remote-as 300
 neighbor 10.23.0.3 next-hop-self
!
end
