Hey @ibm -
Sorry if I'm missing something here but which router is your core where your internet connection ties into your network?
I'm assuming you're running a single OSPF instance all in the backbone area?
The router which maintains the default route to the internet should be the only router and only OSPF instance set to "Distribute Default Route" in your backbone area. This core router should also only specify the /32 loopback(s) and /30 link network(s) in /routing ospf network
The other routers should be specifying the /32 loopback network and /30 link network(s) in /routing ospf network. These routers should (could) be set to "Redistribute Connected".
Again, I am making some assumptions so the above might be wrong. But, I hope it gives you some pointers. Let me know.
And to end, I would recommend you add a link in your network to close off a loop and create redundancy. Say BTSB to BTSC ??
Thanks a lot for the answer.
The router that have internet connectivity is the PPPoE server, so only it have redistribute-default enabled.
Actually the connectivity isn't really necessary on the core routers because on the endpoint routers there is a eoip tunnel that allows pppoe to server.
For the loop to redound the network is there any precaution to be taken (I mean the cost and priority settings)?
I post you the export, can you give a check also to the MTU?
This is the PPPoE server test configuration:
/interface bridge
add mtu=1554 name=bridge_pppoe
add mtu=1554 name=bridge_wan
add mtu=1500 name=lo
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no frequency=2422 l2mtu=2290 mode=station-bridge ssid="test" tx-power=14 tx-power-mode=all-rates-fixed
/interface ethernet
set [ find default-name=ether2 ] mtu=1554
/interface eoip
add !keepalive mac-address=XX:XX:XX:XX:71:7E mtu=1512 name=eoip-tunnel1 remote-address=10.1.0.6 tunnel-id=0
/ppp profile
set 0 dns-server=10.1.0.1 local-address=10.128.0.1 use-compression=no use-mpls=no use-vj-compression=no
set 1 dns-server=10.1.0.1 local-address=10.128.0.1 use-compression=no use-mpls=no use-vj-compression=no
/routing ospf instance
set [ find default=yes ] redistribute-static=as-type-1 router-id=10.101.0.1
/interface bridge port
add bridge=bridge_wan interface=wlan1
add bridge=bridge_wan interface=ether1
add bridge=bridge_pppoe interface=eoip-tunnel1
/interface pppoe-server server
add authentication=chap,mschap2 disabled=no interface=bridge_pppoe max-mru=1500 max-mtu=1500 service-name=service1
/ip address
add address=10.1.0.1/30 interface=ether2 network=10.1.0.0
add address=10.101.0.1/32 interface=lo network=10.101.0.1
/ip dhcp-client
add dhcp-options=hostname,clientid interface=bridge_wan
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no interface=wlan1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=bridge_wan
/ip route
add disabled=yes distance=1 dst-address=192.168.0.190/32 gateway=bridge_wan
/ppp secret
add name=test password=test profile=default-encryption remote-address=10.1.0.200 service=pppoe
/routing ospf interface
add authentication=md5 authentication-key=test interface=ether2 network-type=broadcast
/routing ospf network
add area=backbone network=10.1.0.0/30
add area=backbone network=10.1.0.4/30
This is the AP1:
/interface bridge
add mtu=1554 name=bridge1
add mtu=1500 name=lo
/interface wireless
set [ find default-name=wlan1 ] l2mtu=2290
/interface ethernet
set [ find default-name=ether2 ] mtu=1554
/interface eoip
add !keepalive mac-address=XX:XX:XX:XX:XX:9B mtu=1512 name=eoip1 \
remote-address=10.1.0.1 tunnel-id=0
/interface pppoe-client
add disabled=no interface=bridge1 max-mru=1500 max-mtu=1500 mrru=1600 name=\
pppoe-out1 password=test profile=default-encryption user=test
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 \
redistribute-static=as-type-1 router-id=10.101.0.6
/interface bridge port
add bridge=bridge1 interface=eoip1
/ip address
add address=10.1.0.6/30 interface=ether2 network=10.1.0.4
add address=10.101.0.6/32 interface=lo network=10.101.0.6
/ip route
add distance=1 gateway=pppoe-out1
/routing ospf interface
add authentication=md5 authentication-key=test interface=ether2 network-type=\
broadcast
/routing ospf network
add area=backbone network=10.1.0.4/30