Community discussions

MikroTik App
 
zhex900
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Mon Apr 15, 2013 5:34 pm

Multiple public IP addresses with one /29 framed IP address

Wed Aug 19, 2015 5:00 pm

Hi,

My ADSL service provider assigned me a static public address and a block of 4 ip addresses. My MikroTik uses PPPoE client with an ADSL modem as bridge. So MikroTik get a public ip directly from my ISP.

Default public ip: 203.10.132.253
Additional ips:
203.10.17.24
203.10.17.25
203.10.17.26
203.10.17.27

Internal gateway: 10.1.1.1

Can anyone help me to configure my RouterOS so I can use the 4 ip addresses? I think I use only one IP address as a WAN IP.

What I want to do is assign 203.10.17.x addresses to servers behind the router. So each server will have a public ip address. I have two servers. I am happy if even I can just use one of 203.10.17.x addresses.
 
User avatar
vozglobal
just joined
Posts: 19
Joined: Tue Jan 27, 2015 5:34 pm
Location: Fuentealbilla - España
Contact:

Re: Multiple public IP addresses with one /29 framed IP address

Wed Aug 19, 2015 5:41 pm

Hello

I think you can also configure , assign the interface to your wan ip
post ip.png
You do not have the required permissions to view the files attached to this post.
 
adamlooi
just joined
Posts: 3
Joined: Wed Jul 27, 2016 12:04 pm

Re: Multiple public IP addresses with one /29 framed IP address

Thu Jul 28, 2016 4:52 am

Hi zhex900

I also having the same situation like you. Do you mind to share with me how it make it works ?

Thank you

Adam
 
adamlooi
just joined
Posts: 3
Joined: Wed Jul 27, 2016 12:04 pm

Re: Multiple public IP addresses with one /29 framed IP address

Thu Jul 28, 2016 4:54 am

Hi,

My ADSL service provider assigned me a static public address and a block of 4 ip addresses. My MikroTik uses PPPoE client with an ADSL modem as bridge. So MikroTik get a public ip directly from my ISP.

Default public ip: 203.10.132.253
Additional ips:
203.10.17.24
203.10.17.25
203.10.17.26
203.10.17.27

Internal gateway: 10.1.1.1

Can anyone help me to configure my RouterOS so I can use the 4 ip addresses? I think I use only one IP address as a WAN IP.

What I want to do is assign 203.10.17.x addresses to servers behind the router. So each server will have a public ip address. I have two servers. I am happy if even I can just use one of 203.10.17.x addresses.
Hi zhex900

Do you have the solution for this ?
Thank you

Adam
 
User avatar
reidavidinho
Frequent Visitor
Frequent Visitor
Posts: 80
Joined: Mon Jul 25, 2016 11:11 am
Location: Ibadan, Nigeria
Contact:

Re: Multiple public IP addresses with one /29 framed IP address

Thu Jul 28, 2016 11:12 am

Just give your servers 203.10.17.x IP and make their gateways and DNS the same one you obtained from your ISP. Bridge your ether1 interface to your PPPOE dynamic interface and connect your servers to the ether1 interface. And See if that works..
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: Multiple public IP addresses with one /29 framed IP address

Thu Jul 28, 2016 1:59 pm

Just give your servers 203.10.17.x IP and make their gateways and DNS the same one you obtained from your ISP. Bridge your ether1 interface to your PPPOE dynamic interface and connect your servers to the ether1 interface. And See if that works..
I'm afraid this won't work.
From zhex900's statement I rather see his provider has assigned a block of IP addresses and a transport network (with 203.10.132.253 as "default IP - this could be his IP or the peer IP in a/30 network).
Additionally, the fewest DSL providers would enable BCP for clients being able to bridge PPP-clients.
I'd set up a bridge with one of the IP addresses and let the router do the job.
Either each server gets a real public address (which brings some demands in decent firewalling) with the bridge interface as a gateway or I'd assign all addresses to the bridge and use port forwards into his 10.1.1.0/24 LAN. For outgoing communication from the servers to WAN there's the need for some src- and dst-nat rules as well for marking connections and routing-marks.
-Chris
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: Multiple public IP addresses with one /29 framed IP address

Thu Jul 28, 2016 2:12 pm

Additional ips:
203.10.17.24
203.10.17.25
203.10.17.26
203.10.17.27
Are you sure you typed the addresses correctly?
A /29 network with these addresses should have six usable addresses instead of four - and 203.10.17.24 would be a network address - the first usable should be 203.10.17.25...
 
User avatar
reidavidinho
Frequent Visitor
Frequent Visitor
Posts: 80
Joined: Mon Jul 25, 2016 11:11 am
Location: Ibadan, Nigeria
Contact:

Re: Multiple public IP addresses with one /29 framed IP address

Thu Jul 28, 2016 2:38 pm

Port forwarding will always work, but it is a complex solution to the problem IMO.

Who is online

Users browsing this forum: No registered users and 17 guests