Page 1 of 1

mikrotik v 5.4 rb750

Posted: Tue Jul 19, 2011 8:34 pm
by jedan83
i have problem static ip resolve dns isp?
pppoe client
add address=192.168.2.1/24 broadcast=192.168.2.255 comment="" disabled=no interface=lan network=192.168.2.0
add address=10.20.20.34/24 broadcast=10.20.20.255 comment="" disabled=no interface=Public network=10.20.20.0
/interface pppoe-client
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 comment="PPPOE Speedy" dial-on-demand=no disabled=no interface=Public max-mru=1480 max-mtu=1480 mrru=disabled name=Speedy password=****** profile= default service-name="" use-peer-dns=no user=******@telkom.net
/ip firewall nat
add action=masquerade chain=srcnat comment="MASQUERADE MIKROTIK" disabled=no \
out-interface=Public


/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=8192KiB max-udp-packet-size=512 servers=116.254.99.254,165.21.83.88,203.34.118.12,203.34.118
lan - 192.168.2.1/24
internet dont work

my pc windows xp
ip 192.168.2.10
subnet 24
gateway 192.168.2.1
dns-116.254.99.254 but internet dont work why?

Re: mikrotik v 5.4 rb750

Posted: Tue Jul 19, 2011 11:50 pm
by Egate
I am guessing your PPPoE actually does connect? Also give it a name default usually PPPoE1 or something. The problem is you don't have a default route. Add this and see what happens.
add check-gateway=ping comment="Default Route" disabled=no distance=1 \
    dst-address=0.0.0.0/0 gateway="PPPoE1" scope=30 target-scope=10

Re: mikrotik v 5.4 rb750

Posted: Wed Jul 20, 2011 6:09 pm
by jedan83
i have
add check-gateway=ping comment="Default Route" disabled=no distance=1 \
dst-address=0.0.0.0/0 gateway="PPPoE1" scope=30 target-scope=10
but dont work!
where are problem?
help me!
tanks

Re: mikrotik v 5.4 rb750

Posted: Wed Jul 20, 2011 6:37 pm
by n21roadie
........
/interface pppoe-client
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 comment="PPPOE Speedy" dial-on-demand=no disabled=no interface=Public max-mru=1480 max-mtu=1480 mrru=disabled name=Speedy password=****** profile= default service-name="" use-peer-dns=no user=******@telkom.net
..............................
Should that be =yes ?

Re: mikrotik v 5.4 rb750

Posted: Wed Jul 20, 2011 9:21 pm
by Egate
Yes. Will also work. Will create your default gateway dynamic upon connection. The other way is static, which i thought you wanted to do because you did your DNS that way.
use-peer-dns=no
Could be yes. This will update your DNS from PPPoe connection.