C
C
Chaynik_zakipel2019-04-17 17:05:57
Computer networks
Chaynik_zakipel, 2019-04-17 17:05:57

How to split 1 network into multiple subnets?

Good afternoon, the situation is as follows, there is a CISCO router that acts as the main gateway for 192.168.11.254 Internet access, (I don’t have access to the settings) ip distributes dhcp in the range
192.168. he has a
Task: to divide the existing network from Cisco Mikrotik into several subnets with Internet access and without access to shared files on the network from CISCO
Roughly speaking, I want to divide the network 192.168.11.x / 24 using Microtika, say, into 192.168.12.x /24 and 192.168.13.x/24 so that all 3 do not intersect with each other and have access to the Internet, is this possible?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2019-04-18
@Chaynik_zakipel

Chaynik_zakipel ,
1) disable all firewall/filter firewall/mangle/ rules, I guess you don't quite understand what they are for
2) update routeros version to current 6.44.2
3) reset all settings
4) configure the router by removing default settings.
ether1 let there be internet (dhcp - client)
ether2,3 - bridge-lan1 (192.168.12.0/24 dhcp-srv)
ether4,5 - bridge-lan2 (192.168.13.0/24 dhcp-srv)

/ip dhcp-client
add default-route-distance=100 dhcp-options=hostname,clientid disabled=no interface=ether1

/interface bridge
add name=bridge-lan1
add name=bridge-lan2

/interface bridge port
add bridge=bridge-lan1 interface=ether2
add bridge=bridge-lan1 interface=ether3
add bridge=bridge-lan2 interface=ether4
add bridge=bridge-lan2 interface=ether5

/ip address
add address=192.168.12.1/24 interface=bridge-lan1 network=192.168.12.0
add address=192.168.13.1/24 interface=bridge-lan2 network=192.168.13.0

/ip pool
add name=dhcp_pool1 ranges=192.168.12.100-192.168.12.254
add name=dhcp_pool2 ranges=192.168.13.100-192.168.13.254

/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridge-lan1 name=dhcp-lan1
add address-pool=dhcp_pool2 disabled=no interface=bridge-lan2 name=dhcp-lan2

/ip dhcp-server network
add address=192.168.12.0/24 dns-server=192.168.11.254 gateway=192.168.12.1
add address=192.168.13.0/24 dns-server=192.168.11.254 gateway=192.168.13.1

/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1

wi-fi make two networks, and bridge with bridge-lan1 and bridge-lan2, respectively

R
Ronald McDonald, 2019-04-17
@Zoominger

Roughly speaking, I want to divide the network 192.168.11.x/24 using Microtika, say, into 192.168.12.x/24 and 192.168.13.x/24 so that all 3 do not intersect with each other and have access to the Internet, is this possible ?

Yes, create VLANs (Virtual LAN).

D
Dmitry Treiserov, 2019-04-18
@Tracerov

VLan to help) on a tick, I think they can be done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question