ventilaar
/
sdn-cursus
Archived
1
Fork 0

getest werkt

This commit is contained in:
Ventilaar 2022-01-18 13:22:15 +01:00
parent 55dd09dca8
commit 14f10324f4
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
#Gemaakt door Ruben Blom 1788844.
---
- name: OSPF configuratie EdgeRouter
hosts: EdgeRouter
gather_facts: false
connection: network_cli
tasks:
- name: OSPF inschakelen EdgeRouter
ios_config:
parents: router ospf 1
lines:
- router-id 2.2.2.2
- redistribute bgp 65001 subnets
- network 192.168.5.0 0.0.0.255 area 0
- network 192.168.8.0 0.0.0.255 area 0
- name: OSPF configuratie R3
hosts: R3
gather_facts: false
connection: network_cli
tasks:
- name: OSPF inschakelen R3
ios_config:
parents: router ospf 1
lines:
- router-id 3.3.3.3
- network 192.168.5.0 0.0.0.255 area 0