Community discussions

MikroTik App
 
jedan83
just joined
Topic Author
Posts: 7
Joined: Mon Aug 16, 2010 3:10 am

mikrotik v 5.4 rb750

Tue Jul 19, 2011 8:34 pm

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?
 
User avatar
Egate
Long time Member
Long time Member
Posts: 555
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: mikrotik v 5.4 rb750

Tue Jul 19, 2011 11:50 pm

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
 
jedan83
just joined
Topic Author
Posts: 7
Joined: Mon Aug 16, 2010 3:10 am

Re: mikrotik v 5.4 rb750

Wed Jul 20, 2011 6:09 pm

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
 
n21roadie
Forum Guru
Forum Guru
Posts: 1949
Joined: Fri Aug 07, 2009 10:36 pm
Location: Limerick,Ireland

Re: mikrotik v 5.4 rb750

Wed Jul 20, 2011 6:37 pm

........
/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 ?
 
User avatar
Egate
Long time Member
Long time Member
Posts: 555
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: mikrotik v 5.4 rb750

Wed Jul 20, 2011 9:21 pm

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.