I have a public ip range (/25) in a Cisco router, I need to configure a Mikrotik to route the public IP thought it, but I can’t do correcly.
I have this.
CISCO 2600
PUBLIC IPS: X.X.X.128/25
ETHERNET: 192.168.0.24
STATIC ROUTE: PUBLIC IPS TO 192.168.0.25
WHEN I CONFIGURE IN A WINDOWS PUBLIC IP (X.X.X.129) WITH GATEWAY 192.168.0.24 WORKS CORRECTLY.
THEN IN MIKROTIK CONFIGURE THIS:
WAN: 192.168.0.25
LAN: X.X.X.129/25
IP ROUTE TO 0.0.0.0 GATEWAY 192.168.0.24
For this configuration I can ping to ip public and enter winbox thought internet, but mikrotik box can’t ping to internet.
Do I need to configure any firewall rule? or nat? I probe it without sucess.
As a rough guess: because your default route to the Internet is via 192.168.0.24, the Mikrotik router will choose 192.168.0.25 as the source IP address to ping from. Unless the Cisco router is set up to NAT that IP address to its WAN interface the ISP will discard the ICMP packet.
Does this work?
/ping 4.2.2.2 src-address=x.x.x.129
That way you’re pinging sourced from the Mikrotik router with a public IP address.