I have an RB2011UiAS-2HnD Mikrotik router.
I have a Billion modem which is set on pure bridge mode. My Mikrotik is obtaining a public dynamic IP (196.x.x.105) using PPPoE which I am NATing to my internal devices on network 192.168.1.0
There is a second public static IP (196.x.x.198/30) that I can use from my Internet service provider, which I would like to give to a server also located behind my router without using NAT.
Network ID 196.x.x.196
Public IP 196.x.x.198
Subnet 255.255.255.252
Gateway 196.x.x.197
Broadcast Address 196.x.x.199
I have NAT enabled and I have DHCP server on network 192.168.1.0 enabled.
I set up a second subnet on my Mikrotik
- I removed port 10 from the bridge and made sure it had no master port.
- I added 196.x.x.198 to a separate IP Pool.
- In address list, I assigned IP address 196.x.x.197/30 and network 196.x.x.196 to port 10 (this changed my router’s local IP address to 196.x.x.197 and Netmask to 255.255.255.252 (/30))
- I added a new DHCP server and used the 196.x.x.198 as the address pool
- I added a new network using the following settings:
IP address 196.x.x.196/30
Gateway 196.x.x.197
Netmask 30
DNS servers 8.8.8.8 and 8.8.4.4
When I connect with the server on port 10, I get the following:
IP address 196.x.x.198
Subnet Mask 255.255.255.252
Default Gateway 196.x.x.197
DHCP Server 196.x.x.196
DNS Server 8.8.8.8 and 8.8.4.4
I am able to connect to the web from the server machine, but unfortunately, when I visit a site such as www.showip.com I get my dynamic public IP address 196.x.x.105. If I were to turn off NAT and visit www.showip.com, I would get my static public IP 196.x.x.198 but my other local machines on the 192.168.1.0 network are not able to access the web.
So basically, I need two networks on my Mikrotik
- Dynamic Public IP address 196.x.x.105 Nated to my local 192.168.1.0 network
- Static Public IP address 196.x.x.198 routed to port 10 for exclusive use by the server
Thank you in advance.
Sam