Community discussions

MikroTik App
 
junkkk
just joined
Topic Author
Posts: 3
Joined: Sat Apr 26, 2014 7:13 pm

Public IP Hosting and routing

Sat Apr 26, 2014 8:19 pm

I have a /30 WAN link to my Mikrotik Router and my ISP is routing another /28 Network so I can host services. I am using the Mikrotik CCR1036 plainly to host my public servers.

My problem is, the Mikrotik is not routing the Public IPs I assigned to my server, I don;t know what I am missing. Here'se my config:

/ip address
add address=20.11.14.2/30 interface=ether2 network=20.11.14.140
add address=20.11.14.225/28 interface=ether6 network=20.11.14.224

#
/ip route
add distance=1 gateway=20.11.14.1

# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 20.11.14.1 1
1 ADC 20.11.14.224/28 20.11.14.225 ether6 0
2 ADC 20.11.14.140/30 20.11.14.2 ether2 0


I have a server connected to ether6 via switch with IP=20.11.14.226 GW=20.11.14.225. When i make a race route the trace stops at the Mikrotik. The mikrotik is not routing my public IP addresses.

Heres the ping result from Mikrotik also :

admin@MikroTik] > ping src-address=20.11.14.225 8.8.8.8 HOST SIZE TTL TIME STATUS
8.8.8.8 timeout
8.8.8.8 timeout
8.8.8.8 timeout
8.8.8.8 timeout

Is there something I missed? I have no firewall rules, no NAT, no route rules, just basic IP Address and default gateway is configured.

Thanks
 
User avatar
leoservices
Trainer
Trainer
Posts: 169
Joined: Fri Jan 13, 2012 2:20 am
Location: Belo Horizonte - MG - Brazil
Contact:

Re: Public IP Hosting and routing

Fri May 02, 2014 2:34 am

Route your problem resolved?

already thought about 1:1 NAT
 
CelticComms
Forum Guru
Forum Guru
Posts: 1765
Joined: Wed May 02, 2012 5:48 am

Re: Public IP Hosting and routing

Fri May 02, 2014 3:44 am

add address=20.11.14.2/30 interface=ether2 network=20.11.14.140
Something is wrong here.
 
junkkk
just joined
Topic Author
Posts: 3
Joined: Sat Apr 26, 2014 7:13 pm

Re: Public IP Hosting and routing

Sat May 03, 2014 7:40 am

Sorry this is just a typo

should be network=20.11.14.0

I dont want to use 1:1 NAT since i dont think i need it. I can do this on a CISCO router without NAT.
 
junkkk
just joined
Topic Author
Posts: 3
Joined: Sat Apr 26, 2014 7:13 pm

Re: Public IP Hosting and routing

Sat May 03, 2014 7:45 am

Sorry, its a typo
Should be
network=20.11.14.0

Who is online

Users browsing this forum: MarkusT and 143 guests