Indice   FAQ  
Iscriviti  Login
Indice RouterOS RouterOS

ospf e isp

Tutto su questo sistema operativo linux based - Configurazioni, dubbi, problematiche &....

ospf e isp

Messaggioda Danylux » gio 15 mag 2014, 16:18

buongiorno a tutti , vorrei proporre al vaglio la mia configurazione (totalmente didattica)

la rete da me disegnata e simulata è semplice. e1 = ethernet 1
e2 = ethernet 2

isp----R1e1-------------R3e1
e2 e2
\ /
\ /
\ /
\ /
e1 R2 e2
|
e3
192.168.2.0/24

Ho configurato la rete Con l'OSPF , in pratica però non so come integrare l'isp nel senso come faccio a dire ai pc sotto la rete 192.168.2.0/24 che per andare su internet devo passare da li??? e come integro la parte dell'isp sul router 1?

la configurazione dei router è questa: (spero che l'export sia corretto)

R1
#
/interface bridge
add name=loopback
/interface ethernet
set [ find default-name=ether1 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full \
mac-address=52:54:00:12:34:56
set [ find default-name=ether2 ] speed=1Gbps
set [ find default-name=ether3 ] speed=1Gbps
set [ find default-name=ether4 ] speed=1Gbps
set [ find default-name=ether5 ] speed=1Gbps
set [ find default-name=ether6 ] speed=1Gbps
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m mac-cookie-timeout=3d
/port
set 0 name=serial0
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 router-id=10.255.255.1
/ip address
add address=10.10.10.9/30 interface=ether2 network=10.10.10.8
add address=10.10.10.1/30 interface=ether1 network=10.10.10.0
add address=10.255.255.1/32 interface=loopback network=10.255.255.1
/ip upnp
set allow-disable-external-interface=no
/routing ospf network
add area=backbone network=10.10.10.0/28

R2
#
/interface bridge
add name=loopback
/interface ethernet
set [ find default-name=ether1 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full mac-address=\
52:54:00:12:34:56
set [ find default-name=ether2 ] speed=1Gbps
set [ find default-name=ether3 ] speed=1Gbps
set [ find default-name=ether4 ] speed=1Gbps
set [ find default-name=ether5 ] speed=1Gbps
set [ find default-name=ether6 ] speed=1Gbps
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d
/port
set 0 name=serial0
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 router-id=\
10.255.255.2
/ip address
add address=10.10.10.10/30 interface=ether1 network=10.10.10.8
add address=10.10.10.6/30 interface=ether2 network=10.10.10.4
add address=10.255.255.2/32 interface=loopback network=10.255.255.2
add address=192.168.2.1/24 interface=ether3 network=192.168.2.0
/ip upnp
set allow-disable-external-interface=no
/routing ospf network
add area=backbone network=10.10.10.0/28

R3
#
/interface bridge
add name=loopback
/interface ethernet
set [ find default-name=ether1 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-fu ll \
mac-address=52:54:00:12:34:56
set [ find default-name=ether2 ] speed=1Gbps
set [ find default-name=ether3 ] speed=1Gbps
set [ find default-name=ether4 ] speed=1Gbps
set [ find default-name=ether5 ] speed=1Gbps
set [ find default-name=ether6 ] speed=1Gbps
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m mac-cookie-timeout=3d
/port
set 0 name=serial0
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 router-id=10.255.255.3
/ip address
add address=10.10.10.2/30 interface=ether1 network=10.10.10.0
add address=10.10.10.5/30 interface=ether2 network=10.10.10.4
add address=10.255.255.3/32 interface=loopback network=10.255.255.3
/ip upnp
set allow-disable-external-interface=no
/routing ospf network
add area=backbone network=10.10.10.0/30


Grazie
Danylux
Mikrotik Curious User
Mikrotik Curious User
 
Messaggi: 2
Iscritto il: sab 10 mag 2014, 23:09


Torna a RouterOS

Chi c’è in linea

Visitano il forum: Nessuno e 6 ospiti