Skip to content

Commit

Permalink
short term commit for diff view
Browse files Browse the repository at this point in the history
  • Loading branch information
ratulm committed May 11, 2021
1 parent e7ac2de commit 2ddb8b9
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 16 deletions.
Expand Up @@ -21,7 +21,7 @@ ip cef
!
!
no ip domain lookup
ip domain name lab.local
ip domain name lab.localp
no ipv6 cef
!
!
Expand Down
Expand Up @@ -11,7 +11,7 @@ boot-end-marker
!
!
ntp server 18.18.18.18
ntp server 23.23.23.23
ntp server 18.18.18.19
!
!
no aaa new-model
Expand Down
Expand Up @@ -59,13 +59,14 @@ interface Ethernet0/0
duplex auto
!
interface GigabitEthernet0/0
ip address 10.23.21.2 255.255.255.0
ip access-group OUTSIDE_TO_INSIDE in
ip access-group INSIDE_TO_AS3 out
media-type gbic
speed 1000
duplex full
negotiation auto
shutdown
! ip address 10.23.21.2 255.255.255.0
! ip access-group OUTSIDE_TO_INSIDE in
! ip access-group INSIDE_TO_AS3 out
! media-type gbic
! speed 1000
! duplex full
! negotiation auto
!
interface GigabitEthernet1/0
ip address 2.12.22.1 255.255.255.0
Expand Down
Expand Up @@ -60,13 +60,15 @@ interface Ethernet0/0
duplex auto
!
interface GigabitEthernet0/0
description "To as2border1 GigabitEthernet1/0"
ip address 2.12.11.2 255.255.255.0
media-type gbic
speed 1000
duplex full
negotiation auto
!
interface GigabitEthernet1/0
description "To as2border2 GigabitEthernet2/0"
ip address 2.12.21.2 255.255.255.0
negotiation auto
!
Expand Down
Expand Up @@ -84,6 +84,7 @@ router bgp 65001
neighbor as2 remote-as 2
neighbor 2.34.101.3 peer-group as2
neighbor 2.34.201.3 peer-group as2
neighbor 2.34.209.3 peer-group as2
!
address-family ipv4
bgp dampening
Expand All @@ -96,7 +97,6 @@ router bgp 65001
neighbor as2 route-map dept_to_as2 out
neighbor 2.34.101.3 activate
neighbor 2.34.201.3 activate
maximum-paths eibgp 5
exit-address-family
!
ip forward-protocol nd
Expand Down
10 changes: 7 additions & 3 deletions jupyter_notebooks/networks/drift/reference/configs/as2dist1.cfg
Expand Up @@ -82,13 +82,13 @@ router bgp 2
bgp log-neighbor-changes
neighbor as2 peer-group
neighbor as2 remote-as 2
neighbor dept peer-group
neighbor dept remote-as 65001
neighbor dept2 peer-group
neighbor dept2 remote-as 65001
neighbor 2.1.2.1 peer-group as2
neighbor 2.1.2.1 update-source Loopback0
neighbor 2.1.2.2 peer-group as2
neighbor 2.1.2.2 update-source Loopback0
neighbor 2.34.101.4 peer-group dept
neighbor 2.34.101.4 peer-group dept2
!
address-family ipv4
bgp dampening
Expand All @@ -113,6 +113,7 @@ ip community-list expanded dept_community permit _65001:
no ip http server
no ip http secure-server
!
access-list 102 permit tcp host 2.128.0.0 host 255.255.0.0
access-list 102 permit ip host 2.128.0.0 host 255.255.0.0
access-list 105 permit ip host 1.0.1.0 host 255.255.255.0
access-list 105 permit ip host 1.0.2.0 host 255.255.255.0
Expand All @@ -128,6 +129,9 @@ route-map dept_to_as2dist permit 100
match community dept_community
set local-preference 350
!
route-map dept_to_as2dist permit 200
match community dept_community_new
set local-preference 350
!
!
control-plane
Expand Down
Expand Up @@ -118,6 +118,7 @@ access-list 105 permit ip host 1.0.1.0 host 255.255.255.0
access-list 105 permit ip host 1.0.2.0 host 255.255.255.0
access-list 105 permit ip host 3.0.1.0 host 255.255.255.0
access-list 105 permit ip host 3.0.2.0 host 255.255.255.0
access-list 105 permit ip host 3.0.3.0 host 255.255.255.0
!
route-map as2dist_to_dept permit 100
match ip address 105
Expand Down
Expand Up @@ -120,6 +120,10 @@ no ip http secure-server
!
ip prefix-list default_list seq 5 permit 0.0.0.0/0
!
ip prefix-list bogons seq 5 permit 10.0.0.0/8
ip prefix-list bogons seq 10 permit 172.16.0.0/16
ip prefix-list bogons seq 15 permit 192.168.0.0/16
!
ip prefix-list inbound_route_filter seq 5 deny 3.0.0.0/8 le 32
ip prefix-list inbound_route_filter seq 10 permit 0.0.0.0/0 le 32
access-list 101 permit ip host 1.0.1.0 host 255.255.255.0
Expand Down
Expand Up @@ -51,9 +51,6 @@ ip tcp synwait-time 5
!
!
!
interface Loopback0
ip address 3.10.1.1 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
Expand All @@ -78,6 +75,9 @@ interface GigabitEthernet3/0
ip address 90.90.90.2 255.255.255.0
negotiation auto
!
interface Loopback0
ip address 3.10.1.1 255.255.255.255
!
router ospf 1
network 3.0.0.0 0.255.255.255 area 1
!
Expand Down

0 comments on commit 2ddb8b9

Please sign in to comment.