added files from older tasks

This commit is contained in:
2025-12-15 20:43:22 +10:00
commit aec37cb714
4 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
/interface print
/ip address add interface=ether1 address=10.20.200.2/30
/ip address add interface=ether1 address=10.20.200.2/30
/ip address add interface=ether1 address=10.20.200.2/30
/ip route add dst-address=0.0.0.0/0 gateway=10.20.200.1
/interface bridge add name=loopback
/ip address add address=10.20.255.1/32 interface=loopback
routing ospf instance add name=kulesh router-id=10.20.255.1
routing ospf area add name=backbone area-id=0.0.0.0 instance=kulesh
/routing ospf interface-template
add networks=10.20.200.0/30 area=backbone
add networks=10.20.10.0/24 area=backbone
add networks=10.20.20.0/24 area=backbone
/interface vlan add name=kulesh-vlan10 interface=ether2 vlan-id=10
/interface vlan add name=kulesh-vlan20 interface=ether2 vlan-id=20
/interface vlan enable kulesh-vlan10
/interface vlan enable kulesh-vlan20
/ip address
add address=10.20.10.1/24 interface=kulesh-vlan10
add address=10.20.20.1/24 interface=kulesh-vlan20
/ip dhcp-relay
add name=kulesh-relay-vlan10 interface=kulesh-vlan10 dhcp-server=10.20.0.254
add name=kulesh-relay-vlan20 interface=kulesh-vlan20 dhcp-server=10.20.0.254
/ip dhcp-relay enable kulesh-relay-vlan10
/ip dhcp-relay enable kulesh-relay-vlan20