Indice   FAQ  
Iscriviti  Login
Indice RouterOS RouterOS

Problema rb2011uas-rm

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

Problema rb2011uas-rm

Messaggioda Ciospy » lun 28 ott 2013, 22:27

salve a tutti, finalmente è arrivato l'rb2011uas-rm......solo che ho qualche problemino, per iniziare ho impostato le 5 porte gigabit come switch, e le 5 porte 100Mb da usare come wan....ho collegato la rete nella prima porta gigabit, poi ho collegato le 2 connessioni (tutte e due telecom) sulle prime 2 porte 100Mb...ho usato delle regole di firewall trovate quì nel forum, fino a quì tutto ok, solo che quando collego le 2 wan delle connesioni, mi sbatte fuori dalla rete e non riesco nemmeno ad entrare nel router, potrebbe essere un conflitto di ip?o qualcosa che ho sbagliato a configurare? grazie a tutti
Ciospy
Mikrotik-User 10° Liv
Mikrotik-User 10° Liv
 
Messaggi: 17
Iscritto il: mer 25 set 2013, 12:15

Re: Problema rb2011uas-rm

Messaggioda Linkwave » mar 29 ott 2013, 0:25

Prova a postare qui la configurazione.

Lorenzo.
MTCNSFMDI - * (stellina)
Avatar utente
Linkwave
MikroTIK Guru
MikroTIK Guru
 
Messaggi: 456
Iscritto il: gio 16 dic 2010, 23:23
Località: Grosseto

Re: Problema rb2011uas-rm

Messaggioda Ciospy » mar 29 ott 2013, 14:06

/interface bridge
add admin-mac=00:0C:42:F8:CD:E9 auto-mac=no l2mtu=1598 name=bridge-local \
protocol-mode=rstp
/interface ethernet
set 0 name="ether1-Master Port"
set 1 name=ether2-slave-local
set 2 name=ether3-slave-local
set 3 name=ether4-slave-local
set 4 name=ether5-slave-local
set 5 name="ether6 WAN 1"
set 6 name="ether7 WAN 2"
/ip neighbor discovery
set "ether1-Master Port" discover=no
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge-local name=\
"Rete Locale"
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge-local interface=ether2
add bridge=bridge-local interface=ether3
add bridge=bridge-local interface=ether4
add bridge=bridge-local interface=ether5
add bridge=bridge-local interface="ether1
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=\
bridge-local network=192.168.88.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid interface=\
sfp1
add comment="ADSL 1" dhcp-options=hostname,hostname,clientid disabled=no \
interface="ether6 WAN 1"
add comment="ADSL 2" dhcp-options=hostname,clientid disabled=no interface=\
"ether7 WAN 2"
/ip dhcp-server network
add address=192.168.88.0/24 comment="default configuration" dns-server=\
192.168.88.1 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip dns static
add address=192.168.88.1 name=router
/ip firewall mangle
add action=mark-connection chain=input in-interface="ether6 WAN 1" \
new-connection-mark="ether6 WAN 1 Conn" passthrough=no
add action=mark-connection chain=input in-interface="ether7 WAN 2" \
new-connection-mark="Ether7 WAN 2 Conn" passthrough=no
add action=mark-routing chain=output connection-mark="ether6 WAN 1 Conn" \
new-routing-mark="na Wan 1" passthrough=no
add action=mark-routing chain=output connection-mark="Ether7 WAN 2 Conn" \
new-routing-mark="na WAN 2" passthrough=no
add chain=prerouting dst-address=192.168.10.3 in-interface=bridge-local
add chain=prerouting dst-address=192.168.4.5 in-interface=bridge-local
add action=mark-connection chain=prerouting dst-address=192.168.88.0/24 \
in-interface=bridge-local new-connection-mark="ether6 WAN 1 Conn" \
per-connection-classifier=both-addresses:2/0
add action=mark-connection chain=prerouting dst-address=192.168.88.0/24 \
in-interface=bridge-local new-connection-mark="Ether7 WAN 2 Conn" \
per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=prerouting connection-mark="ether6 WAN 1 Conn" \
in-interface=bridge-local new-routing-mark="na Wan 1" passthrough=no
add action=mark-routing chain=prerouting connection-mark="Ether7 WAN 2 Conn" \
in-interface=bridge-local new-routing-mark="na WAN 2" passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat out-interface="ether6 WAN 1"
add action=masquerade chain=srcnat out-interface="ether7 WAN 2"
/ip route
add check-gateway=ping distance=1 gateway=192.168.10.1 routing-mark=\
"na Wan 1"
add check-gateway=ping distance=1 gateway=192.168.4.20 routing-mark=\
"na WAN 2"
add check-gateway=ping distance=1 gateway=192.168.10.1
add check-gateway=ping distance=2 gateway=192.168.4.20
/lcd
set current-interface="ether7 WAN 2"
Ciospy
Mikrotik-User 10° Liv
Mikrotik-User 10° Liv
 
Messaggi: 17
Iscritto il: mer 25 set 2013, 12:15

Re: Problema rb2011uas-rm

Messaggioda Ciospy » gio 31 ott 2013, 18:20

nessuno può aiutarmi???
Ciospy
Mikrotik-User 10° Liv
Mikrotik-User 10° Liv
 
Messaggi: 17
Iscritto il: mer 25 set 2013, 12:15

Re: Problema rb2011uas-rm

Messaggioda figheras » mer 6 nov 2013, 22:14

Fai uno schema di rete compresi di ip per ogni interfaccia...così ci sono tanti IP settati che nn si comprende nulla!!!
Siamo tutti ignoranti. Ma non tutti ignoriamo le stesse cose! - Einstein -
Avatar utente
figheras
Staff rosIT
Staff rosIT
 
Messaggi: 1218
Iscritto il: sab 19 set 2009, 20:09
Uso routerOS dalla Versione: v2.9.x
Certificazioni Mikrotik: MTCNA, MTCRE, MTCWE
Altre certificazioni: Cisco CCNA, KalliopePBX
Preferred Training Centre: Grifonline

Re: Problema rb2011uas-rm

Messaggioda Ciospy » mer 6 nov 2013, 22:58

ok, cerco di essere più chiaro possibile...
Per prima cosa ho le 2 adsl:
1-modem adsl (192.168.1.1)
2-modem adsl(192.168.10.1)

Per il momento ho la rete sotto ip 192.168.1.0/24....immagino che dovrò cambiarla perchè sennò andrà in conflitto con il modem numero 1....ditemi se sbaglio.

router mikrotik rb2011uas-rm...ho settato (almeno penso) le prime 5 porte che sono gigabit come switch per la rete locale con dhcp 192.168.88.0/24 e le 5 porte 100 megabit sono libere per usarle come wan o altro.
la porta 6 dovrebbe ospitare la prima connessione (192.168.1.1) e la porta 7 la seconda connessione (192.168.10.1)

Premetto che nella configurazione che ho postato gli ip sono diversi perchè ho dovuto cambiare qualche cosetta :D
Ciospy
Mikrotik-User 10° Liv
Mikrotik-User 10° Liv
 
Messaggi: 17
Iscritto il: mer 25 set 2013, 12:15

Re: Problema rb2011uas-rm

Messaggioda Ciospy » lun 11 nov 2013, 20:54

????? :emo_pic_56:
Ciospy
Mikrotik-User 10° Liv
Mikrotik-User 10° Liv
 
Messaggi: 17
Iscritto il: mer 25 set 2013, 12:15

Re: Problema rb2011uas-rm

Messaggioda Ciospy » ven 22 nov 2013, 14:07

risolto........bastava cambiare da both adressed....a both adressed and port....ora funziona.....grazie lo stesso a tutti.....
Ciospy
Mikrotik-User 10° Liv
Mikrotik-User 10° Liv
 
Messaggi: 17
Iscritto il: mer 25 set 2013, 12:15



Torna a RouterOS

Chi c’è in linea

Visitano il forum: Google [Bot] e 13 ospiti