da steste64 » mer 16 apr 2014, 16:20
Questa la conf della 750 che simula server pppoe e inizio OSPF
# apr/16/2014 14:10:36 by RouterOS 6.11
# software id = 3BKM-4U9D
#
/interface bridge
add name=Terminazione_PPPOE
add l2mtu=1598 name=Terminazione_VLAN_153
add name=loopback
/interface ethernet
set [ find default-name=ether1 ] comment="VS Internet"
set [ find default-name=ether2 ] comment="VS catalist"
set [ find default-name=ether5 ] comment="Vs rete ruotata"
/interface wireless
set [ find default-name=wlan1 ] disabled=no l2mtu=2290 mode=ap-bridge ssid=\
pppoesenza_mpls wireless-protocol=nv2
/interface eoip
add disabled=yes mac-address=02:C6:3A:9A:4E:21 name=eoip-tunnel153 \
remote-address=172.50.0.1 tunnel-id=2
add mac-address=02:EB:06:C0:FD:E5 name=eoip-tunnel_vsMDM_133 remote-address=\
172.40.0.5 tunnel-id=1
add mac-address=02:EB:06:C0:FD:E5 name=eoip-tunnel_vsMDM_433 remote-address=\
172.40.0.1 tunnel-id=0
/ip neighbor discovery
set ether1 comment="VS Internet"
set ether2 comment="VS catalist"
set ether5 comment="Vs rete ruotata"
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=469C024A8E83 \
wpa2-pre-shared-key=469C024A8E83
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=pppoe ranges=10.10.10.2-10.10.10.254
/ppp profile
set 0 dns-server=8.8.8.8 local-address=10.10.10.1 remote-address=pppoe \
use-compression=no use-encryption=no use-mpls=yes use-vj-compression=no \
wins-server=217.19.146.24
/routing ospf area
add area-id=0.0.0.1 default-cost=1 inject-summary-lsas=no name=DMZ_PPPOE \
type=stub
add area-id=0.0.0.2 default-cost=1 inject-summary-lsas=no name=AREA_VLAN_153 \
type=stub
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 \
redistribute-static=as-type-1
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
/interface bridge port
add bridge=Terminazione_PPPOE interface=eoip-tunnel_vsMDM_433
add bridge=Terminazione_PPPOE interface=eoip-tunnel_vsMDM_133
add bridge=Terminazione_VLAN_153 interface=ether2
add bridge=Terminazione_VLAN_153 interface=eoip-tunnel153
/interface pppoe-server server
add authentication=pap,chap disabled=no interface=Terminazione_PPPOE mrru=\
1600 service-name=service1
add interface=ether1 mrru=1600 service-name=aziende
/ip address
add address=10.0.0.2/30 interface=ether1 network=10.0.0.0
add address=10.0.0.5/30 interface=ether5 network=10.0.0.4
add address=172.30.100.65/24 interface=ether1 network=172.30.100.0
add address=172.40.0.9/30 interface=Terminazione_PPPOE network=172.40.0.8
add address=172.50.0.5/30 interface=Terminazione_VLAN_153 network=172.50.0.4
add address=10.0.0.29/30 interface=ether3 network=10.0.0.28
add address=172.10.0.1/32 interface=loopback network=172.10.0.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat src-address=10.10.10.0/24
/ip route
add distance=1 gateway=172.30.100.254
/ip service
set api disabled=yes
/ip upnp
set allow-disable-external-interface=no
/mpls interface
set [ find default=yes ] mpls-mtu=1550
/mpls ldp
set enabled=yes lsr-id=172.40.0.9 transport-address=172.40.0.9
/ppp secret
add name=test password=test service=pppoe
/routing ospf network
add area=backbone network=10.0.0.0/30
add area=backbone network=10.0.0.4/30
add area=DMZ_PPPOE network=172.40.0.8/30
add area=AREA_VLAN_153 network=172.50.0.4/30
add area=backbone network=10.0.0.28/30
add area=backbone network=172.10.0.1/32
/system identity
set name=PPPOE_SERVER_TEST
/system leds
set 0 interface=wlan1
/system ntp client
set enabled=yes primary-ntp=172.30.99.254
/system ntp server
set broadcast=yes enabled=yes multicast=yes