Community discussions

MikroTik App
 
endlessroot
just joined
Topic Author
Posts: 4
Joined: Tue Sep 16, 2014 6:51 pm

How to route public IP without NAT

Sat Dec 20, 2014 4:30 pm

I have two interfaces on my mikrotik: WAN and Local
I get x.x.x.54/32 ip address assigned by my ISP for the WAN interface on the mikrotik.
ISP routed one x.x.x.80/28 block to me, with gateway 46.254.128.49, how can I assign IP addresses from that /28 block to devices behind the local interface without nat?
I tried adding to the local interface x.x.x.81/28 and added a static route with dst. Address x.x.x.80/28 Gateway: x.x.x.49
When i setup device with static ip x.x.x.82 gw:x.x.x.81 I can only ping the mikrotik gateway 81 and nothing beyond that.
Thanks for your time :)
 
endlessroot
just joined
Topic Author
Posts: 4
Joined: Tue Sep 16, 2014 6:51 pm

Re: How to route public IP without NAT

Sun Dec 28, 2014 4:39 pm

Seriously? No one?
 
kmok1
newbie
Posts: 43
Joined: Wed Nov 28, 2012 6:49 pm
Location: Windsor ON Canada
Contact:

Re: How to route public IP without NAT

Sun Dec 28, 2014 8:18 pm

Did you set a default route?
 
Quindor
Member
Member
Posts: 347
Joined: Tue Aug 14, 2012 2:57 am
Location: Noord-Brabant, The Netherlands
Contact:

Re: How to route public IP without NAT

Mon Dec 29, 2014 2:24 am

On a quick overview you just give your router the x.x.x.54/32 IP addresses and the gateway of your external provider router interface.

Then, put an IP of the x.x.x.81/28 range on one of your Local ports and set the rest of the IP addresses to your clients (manual or DHCP). Make sure the 'internal' IP you picked is listed as their gateway. It will route all traffic without any rules or NAT. NAT is not needed because your router know's which IP's are behind it and so does your provider router.

So a client will hop from it's own IP to it's gateway (your router) and then then your router will send it to it's gateway, the provider router. That way, everything knows where to go!

Hopefully this helps you with your problem!
http://www.campzone.nl World's Largest Outdoor LANParty, http://intermit.tech Intermittend Technology blog, My blog about the ESP8266, IP Camera's and other tech related subjects!
 
endlessroot
just joined
Topic Author
Posts: 4
Joined: Tue Sep 16, 2014 6:51 pm

Re: How to route public IP without NAT

Mon Dec 29, 2014 6:57 pm

It didn't work, I already tried that. The ISP tells me everything is normal from their end.
 
Quindor
Member
Member
Posts: 347
Joined: Tue Aug 14, 2012 2:57 am
Location: Noord-Brabant, The Netherlands
Contact:

Re: How to route public IP without NAT

Mon Dec 29, 2014 7:35 pm

It didn't work, I already tried that. The ISP tells me everything is normal from their end.
Can you ping something on the internet from the routerboard itself?
http://www.campzone.nl World's Largest Outdoor LANParty, http://intermit.tech Intermittend Technology blog, My blog about the ESP8266, IP Camera's and other tech related subjects!
 
wima
just joined
Posts: 5
Joined: Sat Apr 26, 2014 2:24 am

Re: How to route public IP without NAT

Mon Dec 29, 2014 10:49 pm

I have two interfaces on my mikrotik: WAN and Local
I get x.x.x.54/32 ip address assigned by my ISP for the WAN interface on the mikrotik.
ISP routed one x.x.x.80/28 block to me, with gateway 46.254.128.49, how can I assign IP addresses from that /28 block to devices behind the local interface without nat?
I tried adding to the local interface x.x.x.81/28 and added a static route with dst. Address x.x.x.80/28 Gateway: x.x.x.49
When i setup device with static ip x.x.x.82 gw:x.x.x.81 I can only ping the mikrotik gateway 81 and nothing beyond that.
Thanks for your time :)
something strange here. If your ISP assigned x.x.x.54/32 as your WAN link, why they're give 46.254.128.49 as your gateway for another block subnet, in this case x.x.x.80/28

if your WAN ip is x.x.x.54/32, i assume your default gateway is x.x.x.53/32, and your ISP should route x.x.x.80/28 via your WAN IP. After this done, all you have todo is put one of x.x.x.80/28 on your local interface, and this will be default gateway for your public IP devices.

Who is online

Users browsing this forum: kanvebrmeti and 143 guests