Indice   FAQ  
Iscriviti  Login
Indice RouterOS RouterOS

Server PPPOE gateway 0.0.0.0 cosa sbaglio

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

Server PPPOE gateway 0.0.0.0 cosa sbaglio

Messaggioda teo_78 » ven 6 dic 2013, 15:41

Ciao a tutti sto facendo delle prove per creare un server PPPOE tutto sembra funzionare solo unico problema che come gateway predefinito mi rialascia 0.0.0.0 e quindi non naviga.
la configurazione è questa
Router :192.168.2.254
Routerboard 750 :192.168.2.88 eth1
LAN 192.168.0.1 eth2
Questa la mia configurazione Esportata spero qualcuno mi faccia capire cosa sbaglio

/interface ethernet
set 0 comment=WAN
/interface pppoe-server
add name=pppoe-in1 service="" user=""
/ip neighbor discovery
set ether1 comment=WAN
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d
/ip pool
add name="pppoe server" ranges=192.168.0.10-192.168.0.250
/ppp profile
add dns-server=192.168.0.1 local-address=192.168.0.1 name=profile1 \
remote-address="pppoe server"
/interface pppoe-server server
add authentication=pap disabled=no interface=ether2 one-session-per-host=yes \
service-name=pppoe
/ip address
add address=192.168.2.88/24 interface=ether1 network=192.168.2.0
add address=192.168.0.1/24 interface=ether2 network=192.168.0.0
/ip dns
set allow-remote-requests=yes servers=208.67.222.222,8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat src-address=192.168.0.0
/ip route
add distance=1 gateway=192.168.2.254
add distance=1 gateway=pppoe-in1
/ppp secret
add name=test password=test profile=profile1 service=pppoe

Grazie a presto
teo_78
Mikrotik-User 10° Liv
Mikrotik-User 10° Liv
 
Messaggi: 15
Iscritto il: lun 8 ott 2012, 10:58

Re: Server PPPOE gateway 0.0.0.0 cosa sbaglio

Messaggioda ppraz » dom 8 dic 2013, 20:35

Secondo me il problema sono queste due:
Codice: Seleziona tutto
/interface pppoe-server
add name=pppoe-in1 service="" user=""

e
Codice: Seleziona tutto
/ip route
add distance=1 gateway=pppoe-in1


La prima non credo serva, la seconda fa si che tu abbia 2 default gateway
per il resto dovrebbe andare
ppraz
Staff rosIT
Staff rosIT
 
Messaggi: 997
Iscritto il: sab 12 mar 2011, 14:13
Uso routerOS dalla Versione: v3.x



Torna a RouterOS

Chi c’è in linea

Visitano il forum: Nessuno e 0 ospiti