now:
2 D 106.51.183.234/32 106.51.128.1 pppoe-out
later:
2 D 106.51.66.6/32 106.51.128.1 pppoe-out
Is your Dynamic IP, in the future if you got Fixed IP, simply do NOTHING and use 106.51.66.6 for nat rules.
I got static IP and trying to configure in mikrotik router. Check this link
http://forum.mikrotik.com/viewtopic.php?f=13&t=83329 which describes problems that I faced while configure pppoe in mikrotik router and resolved it. Now after I got static IP, I configured static IP as @rextended said, the moment I configured Static IP in address it turned into red color(means Invalid ) then
I changed pppoe-out to ether1-Input in the address rule
Disabled pppoe-out entry in ppp.
Changed NAT rule's out-interface from pppoe-out to ether1-Input .
Right now my configuration are
[niren@MikroTik] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.2.1/24 192.168.2.0 ether2
1 xxx.xxx.18.153/22 xxx.xxx.16.0 ether1-Input
[niren@MikroTik] > interface print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU MAX-L2MTU
0 R ether1-Input ether 1500 1598 4074
1 R ether2 ether 1500 1598 4074
2 X pppoe-out pppoe-out
[niren@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; srcnat LAN private IP's traffic to be masquerade
chain=srcnat action=masquerade to-addresses=xxx.xxx.16.1
src-address=192.168.2.0/24 out-interface=ether1-Input
[niren@MikroTik] > ip dns print
servers: xxx.xxx.21.12,xxx.xxx.20.101
dynamic-servers:
allow-remote-requests: no
max-udp-packet-size: 4096
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 8KiB
I don't use username and password which are given by internet provider. Now I can able to ping gatway of wan network from my system which is connected to mikrotik router.
C:\Users\niren>ping xxx.xxx.16.1
Pinging xxx.xxx.16.11 with 32 bytes of data:
Request timed out.
Reply from xxx.xxx.16.1: bytes=32 time=1ms TTL=254
Reply from xxx.xxx.16.1: bytes=32 time=1ms TTL=254
Reply from xxx.xxx.16.1: bytes=32 time=1ms TTL=254
But unable to connect to internet
C:\Users\niren>ping 8.8.8.8
Pinging 8.8.8.8 with 32 bytes of data:
Request timed out.
Reply from 192.168.2.1: Destination net unreachable.
Reply from 192.168.2.1: Destination net unreachable.
Reply from 192.168.2.1: Destination net unreachable.
I can't even ping dns address. Any help? I need to configure this quickly.