Community discussions

MikroTik App
 
poduck
newbie
Topic Author
Posts: 33
Joined: Thu Apr 06, 2017 11:22 pm

Routing both lan and wan on one interface

Tue Aug 06, 2019 3:14 am

I have a handful of static IP addresses that is routed by my ISP. I have a server that I would like to route one of the static IP addresses to one of the virtual machines on. Is it possible to assign a static IP to one of the virtual machines while keeping the server itself, and other virtual machines on natted local network IPs?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11591
Joined: Thu Mar 03, 2016 10:23 pm

Re: Routing both lan and wan on one interface

Sat Aug 17, 2019 6:24 pm

It is possible and I'm sure there are many ways to do it.

From L2 (connectivity) point of view, you can use separate VLANs to separate different networks (WAN v.s. LAN) passing the same wire.

From L3 point kf view, you may want to consider if firewalling the WAN-addressed virtual server should be done or not. If yes, does it have to use public IP address or can it have a private one and router would perform NAT (for specific public address) or even netmap (1:1 of all ports).

Who is online

Users browsing this forum: Amazon [Bot], nPaceTo and 41 guests