I’m trying to find a way to setup public statics without subnetting at each router and losing ips.
I’m running ospf with a management ip address. I was able to get MPLS setup but I turned it back off because everything was trying to go thru it and I just want to use it for the statics. Would I need to setup a vlan for this? Would I need a different loopback ip from the one i’m using for ospf?
Would I do something like this? (simplified version there’s more routers then that)
/interface bridge add name=lobridge
/ip address add address=192.168.255.1/32 interface=Management
/routing ospf instance
set distribute-default=never redistribute-connected=as-type-1 router-id=192.168.255.1
/routing ospf network
add area=backbone network=(networks)
/mpls ldp
set enabled=yes lsr-id=192.168.255.1 transport-address=192.168.255.1
/mpls ldp interface
add interface=ether1
add interface=ether7
add interface=ether8
/interface vpls add name=A1toA2 remote-peer=192.168.255.10 mac-address=00:00:00:00:00:a1 vpls-id=1:0 disabled=no
/interface vpls add name=A1toA3 remote-peer=192.168.255.7 mac-address=00:00:00:00:00:a1 vpls-id=1:0 disabled=no
/interface vpls add name=A1toA4 remote-peer=192.168.255.9 mac-address=00:00:00:00:00:a1 vpls-id=1:0 disabled=no
/interface vpls add name=A1toA5 remote-peer=192.168.255.6 mac-address=00:00:00:00:00:a1 vpls-id=1:0 disabled=no
/interface bridge add name=lobridge
/ip address add address=192.168.255.10/32 interface=Management
/routing ospf instance
set distribute-default=never redistribute-connected=as-type-1 router-id=192.168.255.10
/routing ospf network
add area=backbone network=(networks)
/mpls ldp
set enabled=yes lsr-id=192.168.255.10 transport-address=192.168.255.10
/mpls ldp interface
add interface=ether8
/interface vpls add name=A2toA1 remote-peer=192.168.255.1 mac-address=00:00:00:00:00:a2 vpls-id=1:0 disabled=no
/interface bridge add name=lobridge
/ip address add address=192.168.255.7/32 interface=Management
/routing ospf instance
set distribute-default=never redistribute-connected=as-type-1 router-id=192.168.255.7
/routing ospf network
add area=backbone network=(networks)
/mpls ldp
set enabled=yes lsr-id=192.168.255.7 transport-address=192.168.255.7
/mpls ldp interface
add interface=ether8
add interface=ether7
/interface vpls add name=A3toA1 remote-peer=192.168.255.1 mac-address=00:00:00:00:00:a3 vpls-id=1:0 disabled=no
/interface vpls add name=A3toA5 remote-peer=192.168.255.6 mac-address=00:00:00:00:00:a3 vpls-id=1:0 disabled=no
/interface bridge add name=lobridge
/ip address add address=192.168.255.9/32 interface=Management
/routing ospf instance
set distribute-default=never redistribute-connected=as-type-1 router-id=192.168.255.9
/routing ospf network
add area=backbone network=(networks)
/mpls ldp
set enabled=yes lsr-id=192.168.255.9 transport-address=192.168.255.9
/mpls ldp interface
add interface=ether8
/interface vpls add name=A4toA1 remote-peer=192.168.255.1 mac-address=00:00:00:00:00:a4 vpls-id=1:0 disabled=no
/interface bridge add name=lobridge
/ip address add address=192.168.255.6/32 interface=Management
/routing ospf instance
set distribute-default=never redistribute-connected=as-type-1 router-id=192.168.255.6
/routing ospf network
add area=backbone network=(networks)
/mpls ldp
set enabled=yes lsr-id=192.168.255.6 transport-address=192.168.255.6
/mpls ldp interface
add interface=ether8
/interface vpls add name=A5toA1 remote-peer=192.168.255.1 mac-address=00:00:00:00:00:a3 vpls-id=1:0 disabled=no
/interface vpls add name=A5toA3 remote-peer=192.168.255.7 mac-address=00:00:00:00:00:a3 vpls-id=1:0 disabled=no