Community discussions

MikroTik App
 
dhanghy
just joined
Topic Author
Posts: 4
Joined: Tue Jun 29, 2021 5:31 pm

How to configure LAN IP Pool

Tue Jun 29, 2021 5:44 pm

Hi,
I take a 100mbps 1:1 lease line connection for our organization, The ISP give us one WAN ip and five static LAN IP Pool, So please help me how to configure LAN IP pool in my mikrotik router ccr1009-7g-1c-1s+.
I want to use all five lan ip with five different computer.
Thanks in advance.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19107
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: How to configure LAN IP Pool

Wed Jun 30, 2021 2:52 pm

I have no idea what you mean.]
Do you mean they gave you 6 WANIPs, 5 WANIPs, One main WANIP and 5 more WANIPs....
There is no such thing as LAN IPs from the ISP!
 
biomesh
Long time Member
Long time Member
Posts: 561
Joined: Fri Feb 10, 2012 8:25 pm

Re: How to configure LAN IP Pool

Wed Jun 30, 2021 4:05 pm

My guess is that there is a block of static IPs. I would guess that you would need to use dst-nat after adding the IP address to your router.

https://help.mikrotik.com/docs/display/ ... inationNAT
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to configure LAN IP Pool

Wed Jun 30, 2021 4:20 pm

>>>100mbps 1:1 lease line connection<<<
100Mbp/s full duplex?

>>>The ISP give us one WAN IP<<<
for example 100.64.1.2/30 ?
or like 100.64.1.1/31 ?
or like 100.64.1.6/32 ?

>>>and five static LAN IP Pool<<<
5? why 5 and not "8" or "6"?
for example 166.6.6.0/29 (.0 .... .7)?
or 166.6.6.0/29 when 166.6.6.1 must be used on Routerboard and from .2 to .6 on PCs?
but for 5...???

>>>So please help me how to configure LAN IP pool<<<
>>>I want to use all five lan ip with five different computer<<<
I have a better idea for you, leave all with standard DHCP 192.168.88.0/24
and add some static DHCP server leases with Public IP on PC where is needed a Public IP
 
dhanghy
just joined
Topic Author
Posts: 4
Joined: Tue Jun 29, 2021 5:31 pm

Re: How to configure LAN IP Pool

Thu Jul 01, 2021 6:51 am

my ip addresses are as follows ....

WAN IP POOL- 115.242.20x.10x/30
I am using now....
IP :- 115.242.20x.10x
Subnet mask :- 255.255.255.252
Default gateway:- 115.242.20x.10x
Preferred DNS :- 8.8.8.8

LAN IP POOL- 115.243.14x.15x/29
Lan ip are
115.243.14x.15x
115.243.14x.15x
115.243.14x.15x
115.243.14x.15x
115.243.14x.15x
115.243.14x.15x
subnet : 255.255.255.248
gateway : 115.243.14x.15x

I can use the wan ip in any router and also directly in my computer and i can browse the internet with the wan ip but lan ip are cannot use directly. ISP said that to use the lan ip pool i need either cisco or mikrotik router. i purchased mikrotik but how to configure the lan ip pool. now i am using the wan ip only for the internet.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to configure LAN IP Pool

Thu Jul 01, 2021 9:50 am

you have "anonimized" the end... but the end count, not the start, better anonymize the start or we go on confusion.


put on local LAN bridge
115.243.14x.151/29

on PC where must go the public IP:
IP 115.243.14x.152 (/29)
subnet 255.255.255.248
gateway
115.243.14x.151
DNS
1.1.1.1

done.


At this point must be checked the firewall rules and well protected the PC or on 2/3 hours your PC are useless zombie machines.....
 
qadir52786
just joined
Posts: 11
Joined: Mon Dec 09, 2019 8:58 pm

Re: How to configure LAN IP Pool

Sat Mar 23, 2024 7:15 pm

Any solution to this? pease share configuration
my ip addresses are as follows ....

WAN IP POOL- 115.242.20x.10x/30
I am using now....
IP :- 115.242.20x.10x
Subnet mask :- 255.255.255.252
Default gateway:- 115.242.20x.10x
Preferred DNS :- 8.8.8.8

LAN IP POOL- 115.243.14x.15x/29
Lan ip are
115.243.14x.15x
115.243.14x.15x
115.243.14x.15x
115.243.14x.15x
115.243.14x.15x
115.243.14x.15x
subnet : 255.255.255.248
gateway : 115.243.14x.15x

I can use the wan ip in any router and also directly in my computer and i can browse the internet with the wan ip but lan ip are cannot use directly. ISP said that to use the lan ip pool i need either cisco or mikrotik router. i purchased mikrotik but how to configure the lan ip pool. now i am using the wan ip only for the internet.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3255
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: How to configure LAN IP Pool

Sat Mar 23, 2024 8:53 pm

So do you also have two /30 and /29 [public?] subnets from your ISP?
Likely better if you wrote up your problem in a new post.

This "LAN IP Pool" is confusing term. When a customer does not have BGP, I've seen /30 used as route point at a customer site for any additional /29+ subnets assigned, that then are routed via the "main" /30 gateway. But equally possible multiple subnet are on same bridge (multihomed) from ISP & with each subnet having there own gateway. So specifics matter.
 
qadir52786
just joined
Posts: 11
Joined: Mon Dec 09, 2019 8:58 pm

Re: How to configure LAN IP Pool

Tue Mar 26, 2024 11:47 am

they had given us VLAN 1530
Wan ip CE E 117.x.x.223/29

Lan Pool 117.x.x.232/29

i want to assign Lan pool ips directly to my servers

Please suggest
 
User avatar
loloski
Member Candidate
Member Candidate
Posts: 298
Joined: Mon Mar 15, 2021 9:10 pm

Re: How to configure LAN IP Pool

Tue Mar 26, 2024 12:22 pm

Substitute to your real subnet
1.png
[admin@R1] > export 
# 2024-03-26 10:18:18 by RouterOS 7.14.1
# software id = 
#
/interface vlan
add interface=ether1 name=VLAN1530 vlan-id=1530
/port
set 0 name=serial0
/ip address
add address=117.1.1.218/29 interface=VLAN1530 network=117.1.1.216
add address=117.2.2.233/29 interface=ether2 network=117.2.2.232
/ip route
add disabled=no dst-address=0.0.0.0/0 gateway=117.1.1.217 routing-table=main \
    suppress-hw-offload=no
/system identity
set name=R1
/system note
set show-at-login=no
/tool romon
set enabled=yes
[admin@R1] > 
2.png
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Bing [Bot] and 39 guests