From my ISP...
Network: AA.BB.CC.100/30
Gateway: AA.BB.CC.101
Public IP Pool: DD.EE.FF.0/24
In my Mikrotik...
Code: Select all
[admin@gate] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 AA.BB.CC.102/30 AA.BB.CC.100 ether1
1 DD.EE.FF.1/24 DD.EE.FF.0 ether2
[admin@gate] >
Code: Select all
[admin@gate] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 S 0.0.0.0/0 AA.BB.CC.101 1
1 ADC AA.BB.CC.100/30 AA.BB.CC.102 ether1 0
2 ADC DD.EE.FF.0/24 DD.EE.FF.1 ether2 0
[admin@gate] >
Code: Select all
[admin@gate] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade src-address=DD.EE.FF.0/24 out-interface=ether1
[admin@gate] >
IP: DD.EE.FF.2
Mask: 255.255.255.0
Gateway: DD.EE.FF.1
DNS: 8.8.8.8, 8.8.4.4
but i can't go outside, ping don't respond... ping google.com and timeout...