Hello,
I bought MiktoTik hex Lite over a week ago, and since then I was unable to configure it the way I needed it, even after the long communications with MikroTik official support.
I had old D-link DIR-100 previously, and it was configured as a switch with 2 vlans. See the screenshot: https://www.dropbox.com/s/qb12p885d1k6u ... 2.png?dl=0
Since this DIR-100 is old, it stops working sometimes, so I found a temporary replacement for it (a simple home router from ZyXel - Keenetic), and I was able to configure it in 5 minutes.
Then I bought this MikroTik, as it was advertised as a reliable and advanced router, but whatever I tried, I couldn't configure it to work in my network.
Here's my network configuration.
There's a router with 5 ports.
port1: has the cable from my ISP plugged in, my ISP provides 2 external IP addresses - I had 2 servers in the past, and they both needed to be accessible from the outside;
port2: connected to server1, this server uses 1 external IP address, it has an internal IP address and it has DNS and DHCP running on it - other computers in the LAN use it as the gateway and as the main DNS server;
port3: it was connected to server2, but it's now gone, so it is simply connected to a computer or another router in our LAN;
port4 and port5 are both connected to routers inside our LAN.
The setup with DIR-100 was a bit complex, since DIR-100 didn't work as DHCP server. Basically what I need is:
- server1 available by external IP,
- Internet on all devices in LAN.
Current server1 configuration (/etc/network/interfaces) is:
# The primary network interface
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
auto eth0
iface vlan2 inet static
address <external IP 1 here>
netmask 255.255.255.128
gateway <ISP gateway address here>
vlan-raw-device eth0
auto vlan2
Please help!