Please help. Two interfaces not able to see each other.
Posted: Thu Dec 22, 2016 11:42 am
Hi Everyone, I hope someone can help me, I have been trying to figure this out for two days. I have dhcp running on two ports for two networks. But they need to be able to see each other for server purposes. They unfortunately have to have seperate ip ranges for security reasons. How can I get interface 3 and 5 to talk?
Here is my current setup: Internet access is not a problem or needed here,the first network is on its own and working fine. Its the other two I need to get working together.
# dec/22/2016 11:30:42 by RouterOS 6.37.3
# software id = ZYPM-RMMD
#
/interface bridge
add name="Admin Network Bridge"
/interface ethernet
set [ find default-name=ether2 ] comment="Replica Server"
set [ find default-name=ether3 ] comment=Klas35
set [ find default-name=ether5 ] comment=Klas26
/ip neighbor discovery
set ether2 comment="Replica Server"
set ether3 comment=Klas35
set ether5 comment=Klas26
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=Klas35_pool ranges=192.168.50.100-192.168.50.200
add name=Klas26_pool ranges=192.168.49.100-192.168.49.200
/ip dhcp-server
add add-arp=yes address-pool=Klas35_pool always-broadcast=yes disabled=no \
interface=ether3 lease-time=2d name=Klas35_DHCP
add add-arp=yes address-pool=Klas26_pool always-broadcast=yes disabled=no \
interface=ether5 lease-time=2d name=Klas26_DHCP
/tool user-manager customer
set admin access=\
own-routers,own-users,own-profiles,own-limits,config-payment-gw
/interface bridge port
add bridge="Admin Network Bridge" interface=sfp1
add bridge="Admin Network Bridge" interface=ether1
add bridge="Admin Network Bridge" interface=ether4
add bridge="Admin Network Bridge" interface=ether6
add bridge="Admin Network Bridge" interface=ether23
add bridge="Admin Network Bridge" interface=ether24
add bridge="Admin Network Bridge" interface=ether21
add bridge="Admin Network Bridge" interface=ether7
add bridge="Admin Network Bridge" interface=ether8
add bridge="Admin Network Bridge" interface=ether9
add bridge="Admin Network Bridge" interface=ether10
add bridge="Admin Network Bridge" interface=ether22
add bridge="Admin Network Bridge" interface=ether20
add bridge="Admin Network Bridge" interface=ether19
add bridge="Admin Network Bridge" interface=ether11
add bridge="Admin Network Bridge" interface=ether12
add bridge="Admin Network Bridge" interface=ether13
add bridge="Admin Network Bridge" interface=ether14
add bridge="Admin Network Bridge" interface=ether15
add bridge="Admin Network Bridge" interface=ether16
add bridge="Admin Network Bridge" interface=ether17
add bridge="Admin Network Bridge" interface=ether18
add bridge="Admin Network Bridge" interface=ether2
/ip address
add address=10.80.8.8/24 interface="Admin Network Bridge" network=10.80.8.0
add address=192.168.50.254/24 interface=ether3 network=192.168.50.0
add address=192.168.49.254/24 interface=ether5 network=192.168.49.0
/ip dhcp-relay
add dhcp-server=192.168.0.1 disabled=no interface=sfp1 name=relay1
/ip dhcp-server network
add address=192.168.49.0/24 dns-server=192.168.50.1,192.168.49.254 gateway=\
192.168.49.254 netmask=22
add address=192.168.50.0/24 dns-server=192.168.50.1,192.168.50.254 gateway=\
192.168.50.254 netmask=22
/ip dns
set allow-remote-requests=yes
/ip firewall filter
add action=accept chain=forward protocol=icmp src-address=192.168.50.0/24
add action=accept chain=forward protocol=icmp src-address=192.168.49.0/24
add action=accept chain=forward protocol=icmp src-address=192.168.48.0/24
add action=accept chain=forward dst-address=192.168.49.0/24 src-address=\
192.168.50.0/24
add action=accept chain=forward dst-address=192.168.50.0/24 src-address=\
192.168.49.0/24
/ip route
add distance=1 gateway=10.80.8.1
add distance=1 dst-address=192.168.50.0/24 gateway=192.168.50.254
/lcd interface pages
set 1 interfaces=ether13,ether14,ether15,ether16
/system clock
set time-zone-name=Africa/Johannesburg
/system identity
set name="K18 C Brink"
Here is my current setup: Internet access is not a problem or needed here,the first network is on its own and working fine. Its the other two I need to get working together.
# dec/22/2016 11:30:42 by RouterOS 6.37.3
# software id = ZYPM-RMMD
#
/interface bridge
add name="Admin Network Bridge"
/interface ethernet
set [ find default-name=ether2 ] comment="Replica Server"
set [ find default-name=ether3 ] comment=Klas35
set [ find default-name=ether5 ] comment=Klas26
/ip neighbor discovery
set ether2 comment="Replica Server"
set ether3 comment=Klas35
set ether5 comment=Klas26
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=Klas35_pool ranges=192.168.50.100-192.168.50.200
add name=Klas26_pool ranges=192.168.49.100-192.168.49.200
/ip dhcp-server
add add-arp=yes address-pool=Klas35_pool always-broadcast=yes disabled=no \
interface=ether3 lease-time=2d name=Klas35_DHCP
add add-arp=yes address-pool=Klas26_pool always-broadcast=yes disabled=no \
interface=ether5 lease-time=2d name=Klas26_DHCP
/tool user-manager customer
set admin access=\
own-routers,own-users,own-profiles,own-limits,config-payment-gw
/interface bridge port
add bridge="Admin Network Bridge" interface=sfp1
add bridge="Admin Network Bridge" interface=ether1
add bridge="Admin Network Bridge" interface=ether4
add bridge="Admin Network Bridge" interface=ether6
add bridge="Admin Network Bridge" interface=ether23
add bridge="Admin Network Bridge" interface=ether24
add bridge="Admin Network Bridge" interface=ether21
add bridge="Admin Network Bridge" interface=ether7
add bridge="Admin Network Bridge" interface=ether8
add bridge="Admin Network Bridge" interface=ether9
add bridge="Admin Network Bridge" interface=ether10
add bridge="Admin Network Bridge" interface=ether22
add bridge="Admin Network Bridge" interface=ether20
add bridge="Admin Network Bridge" interface=ether19
add bridge="Admin Network Bridge" interface=ether11
add bridge="Admin Network Bridge" interface=ether12
add bridge="Admin Network Bridge" interface=ether13
add bridge="Admin Network Bridge" interface=ether14
add bridge="Admin Network Bridge" interface=ether15
add bridge="Admin Network Bridge" interface=ether16
add bridge="Admin Network Bridge" interface=ether17
add bridge="Admin Network Bridge" interface=ether18
add bridge="Admin Network Bridge" interface=ether2
/ip address
add address=10.80.8.8/24 interface="Admin Network Bridge" network=10.80.8.0
add address=192.168.50.254/24 interface=ether3 network=192.168.50.0
add address=192.168.49.254/24 interface=ether5 network=192.168.49.0
/ip dhcp-relay
add dhcp-server=192.168.0.1 disabled=no interface=sfp1 name=relay1
/ip dhcp-server network
add address=192.168.49.0/24 dns-server=192.168.50.1,192.168.49.254 gateway=\
192.168.49.254 netmask=22
add address=192.168.50.0/24 dns-server=192.168.50.1,192.168.50.254 gateway=\
192.168.50.254 netmask=22
/ip dns
set allow-remote-requests=yes
/ip firewall filter
add action=accept chain=forward protocol=icmp src-address=192.168.50.0/24
add action=accept chain=forward protocol=icmp src-address=192.168.49.0/24
add action=accept chain=forward protocol=icmp src-address=192.168.48.0/24
add action=accept chain=forward dst-address=192.168.49.0/24 src-address=\
192.168.50.0/24
add action=accept chain=forward dst-address=192.168.50.0/24 src-address=\
192.168.49.0/24
/ip route
add distance=1 gateway=10.80.8.1
add distance=1 dst-address=192.168.50.0/24 gateway=192.168.50.254
/lcd interface pages
set 1 interfaces=ether13,ether14,ether15,ether16
/system clock
set time-zone-name=Africa/Johannesburg
/system identity
set name="K18 C Brink"