Let me see if I can help here, based on my best guess. What your provider has given you Is actually a block of 16. They have assigned this block to the Ethernet segment between you and them.
Starting at 16, you get to 13 by the following: One is used for the network number. This must be the first number in the block. One is used for the netmask. This is the last number in the block. And one is used by their router which is attached to the segment. It can be any of the remaining addresses, but it often either the first or last usable address. They will tell you what this is. The remaining thirteen can be used by you, but they must be used by a device on that Ethernet segment. Or, more accurately a device on that segment needs to arp for them and then know what to do with them. Personally, the easiest thing I can think of is just to add all 13 as additional addresses in your mikrotik and then use nat to "distribute" them to private addresses in your network. And by nat, I am including all of the various options including 1:1 nat, as appropriate. On Dec 20, 2014 1:03 PM, "Tim Reichhart" <[email protected]> wrote: > Scott > > If you want the actual subnet the upstream provider gave me was > 255.255.255.240 > but I put in 255.255.255.0 > > > > Which I have block of /13 which only 12 useable ips since the 13th one is > upstream provider gateway IP. > > > > Tim > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Scott Reed > *Sent:* Saturday, December 20, 2014 2:56 PM > *To:* Mikrotik Users > *Subject:* Re: [Mikrotik Users] Couple questions to ask > > > > Routing works by one device knowing the next device to send a packet to. > So the upstream knows that all of you addresses get sent to the one on your > gateway. The provider's devices don't care how the data gets to the > destination, just that it goes to your router. Your OSPF will tell your > headend router how to get the data to the end point. > So, to fully answer your question, you need to answer the one I have asked > you several times. What is the subnet mask our your headend router > connecting to the upstream? Give us that and we can quit surmising what > you might do and give you a how to do it. > > Also, from one of your comments, you can tell OSPF whether or not to > propagate your static routers. > > On 12/20/2014 2:09 PM, Tim Reichhart wrote: > > @ Scott > Addresses come in pPowers of 2, so you probably have 16 addresses in the > block. So, need to know what subnet mask you use to connect. If you are > using a /29 or /30, the rest can be located anywhere on the network. Let > OSPF do the work. If you are using the /28 to connect, you will either > need to get your provider to change it or get the rest of the addresses so > you can subnet them. > > How many addresses do you want at the "remote" site? > > Let's say you have a block of 16, a /28. You can have a block of 8, a > /29, at the headend and connected to the provider. Then you can have 8 > more somewhere else on the network. As long as you put the address in OSPF > correctly, the 8 addresses from the second half can be anywhere on your > network and OSPF will get them routed > > > > I don’t know if I can even spit up the block like how your saying because > I only have 1 gateway IP address from the upstream provider unless there is > something I don’t know about because one mikrotik router (core) router is > handling the ip’s then from there its ospf over wireless ptp link to an > other mikrotik router with totally different internal IP address from > router a haves. > > > > @ Christian > > > > So if you have a /28 and it was routed to router a, you can route the > whole thing or just subnets to router b, and use them by just setting a > gateway on router b. Or a gateway on router a. Or if it is ospf you could > just assign a single ip to a loopback and do a 1:1 nat to a private. There > is a lot of ways to do this, I'm just not clear on your setup. > > > > This is how I got the network currently setup: > modem ----: routerboard a (w/static wan IP’s w/ospf) then the link is on > ether is going for my ptp to other routerboard b (running ospf also) on > ether1 then I want ether 2-4 run to sectors etc. > > > > So I need to figure out how to route the static wan ip’s over ospf from > routerboard a to b etc.. > > > > Tim > > > > > > > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] > *On Behalf Of *Christian Palecek > *Sent:* Saturday, December 20, 2014 1:07 PM > *To:* Mikrotik Users > *Subject:* Re: [Mikrotik Users] Couple questions to ask > > > > So if you have a /28 and it was routed to router a, you can route the > whole thing or just subnets to router b, and use them by just setting a > gateway on router b. Or a gateway on router a. Or if it is ospf you could > just assign a single ip to a loopback and do a 1:1 nat to a private. There > is a lot of ways to do this, I'm just not clear on your setup. > > > > > > Christian Palecek > > Network Administrator > > Cybernet Inc. > > Hamilton, MT > > > > -------- Original message -------- > From: [email protected] > Date:12/20/2014 10:48 AM (GMT-07:00) > To: Mikrotik Users <[email protected]> <[email protected]> > Subject: Re: [Mikrotik Users] Couple questions to ask > > Scott I got block of 13 and I can go all the way of block of 254 if I > wanted to. > > Tim > > > On 2014-12-20 12:21, Scott Reed wrote: > > How many addresses do they give you? > > What is the subnet mask you use on your connection to the upstream? > > > > On 12/20/2014 12:07 PM, [email protected] wrote: > >> Well the upstream provider have the static ip's scripted inside the > >> modem. So I don't think they are actually routing the ip's directly to > >> me. > >> > >> So it looks like I'm going have go bat route setup if that is correct. > >> > >> Tim > >> > >> On 2014-12-20 10:59, Christian Palecek wrote: > >>> I think you are going to have to use dst-nat as a 1:1 nat, unless > >>> they > >>> actually are routing you ip's, then you would just route them like > >>> you > >>> would any subnet. > >>> > >>> Christian Palecek > >>> Network Administrator > >>> Cybernet Inc. > >>> Hamilton, MT > >>> > >>> -------- Original message -------- > >>> From: T Maylone <[email protected]> > >>> Date:12/20/2014 7:33 AM (GMT-07:00) > >>> To: Mikrotik Users <[email protected]> > >>> Subject: Re: [Mikrotik Users] Couple questions to ask > >>> > >>> example routing through two routers > >>> > >>> assume your public ip is 1.1.1.1 > >>> assume your provider routes 1.1.1.1 to your router A ether port 1 > >>> assume there is a relationship between router a ether 2 10.254.0.1/29 > >>> [2] and router B ether 1 10.254.0.2 > >>> assume there is a relationship between router b ether 2 10.253.0.1/29 > >>> [3] and router c ether 1 10.253.0.2 > >>> > >>> In router A > >>> IP route 1.1.1.1 10.254.0.2 > >>> > >>> In router B > >>> IP router 1.1.1.1 10.253.0.2 > >>> > >>> On Sat, Dec 20, 2014 at 7:22 AM, Tim Reichhart <[email protected]> > >>> wrote: > >>> > >>>> Guys > >>>> > >>>> I am just wondering if I have multiple wan IP's on ether1 is an way > >>>> to place it onto other ethernet interfaces? Also I am running ospf > >>>> on my routers so lets say router A is the main core with wan IP’s > >>>> and router B needs an wan IP from router A for an internal IP how > >>>> would I route that? > >>>> > >>>> Tim > >>>> > >>>> _______________________________________________ > >>>> Mikrotik-users mailing list > >>>> [email protected] > >>>> http://lists.wispa.org/mailman/listinfo/mikrotik-users [1] > >>> > >>> > >>> Links: > >>> ------ > >>> [1] http://lists.wispa.org/mailman/listinfo/mikrotik-users > >>> [2] http://10.254.0.1/29 > >>> [3] http://10.253.0.1/29 > >>> > >>> _______________________________________________ > >>> Mikrotik-users mailing list > >>> [email protected] > >>> http://lists.wispa.org/mailman/listinfo/mikrotik-users > >> _______________________________________________ > >> Mikrotik-users mailing list > >> [email protected] > >> http://lists.wispa.org/mailman/listinfo/mikrotik-users > >> > >> > >> ----- > >> No virus found in this message. > >> Checked by AVG - www.avg.com > >> Version: 2015.0.5577 / Virus Database: 4253/8773 - Release Date: > >> 12/20/14 > > > > -- > > Scott Reed > > Owner > > NewWays Networking, LLC > > Wireless Networking > > Network Design, Installation and Administration > > Mikrotik Advanced Certified > > www.nwwnet.net > > (765) 855-1060 (765) 439-4253 Toll-free (855) 231-6239 > > > > > > _______________________________________________ > > Mikrotik-users mailing list > > [email protected] > > http://lists.wispa.org/mailman/listinfo/mikrotik-users > _______________________________________________ > Mikrotik-users mailing list > [email protected] > http://lists.wispa.org/mailman/listinfo/mikrotik-users > > > > > _______________________________________________ > > Mikrotik-users mailing list > > [email protected] > > http://lists.wispa.org/mailman/listinfo/mikrotik-users > > > > > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2015.0.5577 / Virus Database: 4253/8773 - Release Date: 12/20/14 > > > > -- > > Scott Reed > > Owner > > NewWays Networking, LLC > > Wireless Networking > > Network Design, Installation and Administration > > Mikrotik Advanced Certified > > www.nwwnet.net > > (765) 855-1060 (765) 439-4253 Toll-free (855) 231-6239 > > > _______________________________________________ > Mikrotik-users mailing list > [email protected] > http://lists.wispa.org/mailman/listinfo/mikrotik-users > >
_______________________________________________ Mikrotik-users mailing list [email protected] http://lists.wispa.org/mailman/listinfo/mikrotik-users
