Set a Range of IP Valid to a Windows Server

Hello Friends
I Have IP Valid With Range of 128 (Example : 170.130.200.1~128)
Want Set 8 of Thats to My Windows Server (For My VPS on VmWare)
I Was Configure My Mikrotik With Below Details , But My Windows Server Can’t Access to Internet.


IP ADDRESS :

[admin@Network] /ip route> /ip addre print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                                                                                                                                                                     
 0   192.168.8.1/29     192.168.8.0     ether4

ROUTES

[admin@Network] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 1 A S  170.130.200.24/29                  192.168.8.5               1

My Windows Server 2008 on Eth4 IP Configurations :

IP:		192.168.8.5
Sub:	255.255.255.248
GW:		192.168.8.1

2nd IP:	170.130.200.25
2ndSub:	255.255.255.248

Where’s Problem ? :confused:
Thanks

Anyone ?

Anyone Know How Can I Do This ? :frowning:

No Anyone Know :confused:

I’d say that unless the application specifically binds outgoing connections to 170.130.200.25, Windows will use 192.168.8.5 by default, because there’s GW in the same subnet. If router provides NAT for 192.168.8.5, then internet access should work. If not, then it can’t. There’s nothing easier than to check with packet sniffer what’s going on.

I’d probably add some 170.130.200.X/29 to router’s ether4 (to serve as new gateway), drop the static route to 170.130.200.24/29 (will be replaced by automatic connected route) and change server’s GW from 192.168.8.1 to 170.130.200.X. And then it must work without any problem.

Thanks for Reply
So I Must Set with Below Configurations ? (I Want Use Internet on Windows Server and Can Give Static IP to VPS’s on This Server)
Add This Route to My Router :

[admin@Network] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 1 A S  170.130.200.24/29                  192.168.8.5               1

and Set This IP Address’es to My Windows Server ? :

IP:	170.130.200.25
Sub:	255.255.255.248
GW:	170.130.200.1

This is Work ?

Not really. For start, 170.130.200.1 is not in 170.130.200.24/29 subnet. But the whole idea was different.

Your original config:

Router: 192.168.8.1/29
Route: 170.130.200.24/29, gw 192.168.8.5
Server: 192.168.8.5/29, gw 192.168.8.1
        170.130.200.25/29

New config:

Router: 192.168.8.1/29
        170.130.200.30/29
Route: none
Server: 192.168.8.5/29 (*1)
        170.130.200.25/29, gw 170.130.200.30
Virtuals: 170.130.200.26-29/29, gw 170.130.200.30

For more than 4 virtuals move to /28 or bigger subnet.

(*1) Can be removed completely if you don’t need to communicate with other 192.168.8.0/29 machines.