OSPF Configuration Using Mikrotik

Leave a Comment
OSPF Configuration Using Mikrotik,


R1 Configuration
/ip adddress add address=180.50.1.186/30 interface=ether1
/ip adddress add address=10.10.10.1/30 interface=ether3
/ip dns set servers=8.8.8.8,8.8.4.4 allow-remote-requests=yes
/ip route add dst-address=0.0.0.0/0 gateway=180.50.1.185 type=unicast
/ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade
/routing ospf instance add name=area0 redistribute-connected=as-type-1 router-id=0.0.0.0
/routing ospf area add name=areanol area-id=0.0.0.0 instance=area0 
/routing ospf network add area=areanol network=10.10.10.0/30
/routing ospf network add area=areanol network=180.50.1.185/30
R2 Configuration
/ip adddress add address=10.10.10.1/30 interface=ether1
/ip adddress add address=192.168.2.1/24 interface=ether2
/routing ospf instance add name=area0 redistribute-connected=as-type-1 router-id=0.0.0.0
/routing ospf area add name=areanol area-id=0.0.0.0 instance=area0 
/routing ospf network add area=areanol network=10.10.10.0/30
/routing ospf network add area=areanol network=192.168.2.0/24
Next PostNewer Post Previous PostOlder Post Home

0 comments:

Post a Comment