Hello I have got a RouterBoard 450G with RouterOS Level 5 and software version 4.5 and must say that I am very impressed about it and how easy it is to use.
So I saw a lot of new opportunities and have now got to a problem which I hope someone can help me with.
My problem I that I want to use 2 ports for my internet connection eg. Port 1 (WAN1)and Port 5 (WAN2).
The RouterBoard is working out of the box where port 1 is set to WAN1 DHCP assigned IP from my ISP and Port 2 to LAN and I have access to the internet.
But now I want to connect Port 5 (WAN2) to the internet as well and set this one op to uses DHCP as well, since my ISP provide me with 5 static DHCP assigned IP addresses.
But as sun as the Port 5 get an IP from my ISP I am not able to connect to the Internet from my LAN, when I then Disable the Port 5 again I am again able to access the internet.
So I was thinking if I can be because I get both WAN IP’s from my ISP where they all are in the same subnet and with the same Default Gateway
My idea was to use the Wan1 on Port 1 as interface for my LAN which is on Port 2, so that incoming and outgoing traffic would use WAN1.
And then use WAN 2 on Port 5 which is then uses for my Hotspot witch I have configured on Port 4 so that all incoming and outgoing traffic would use WAN2 .
What do I have to do to get that working ?
I have tried to search the forum without any luck.
No i have a 25/4 Mbit connection so each IP will have to share the total bandwigth.
But would like to have my normal Web and Mail connection running on the WAN1 for incoming Mail and Web Server and then be able to use WAN2 for testing other system for customers where I often have to have separate MX records for Mail servers so can have them on the same IP as WAN1.
So I very important for me to be able to separate those 2 IP connections.
You can set up more tha one ip address on the same interface, and with NAT rules forward to mail or web server.
Or set up metarouter, which will act as standalone router with it’s own IP address.
You could try using a couple of masqurade rules and specify an out interface. You would need to set up something like PCC load balancing however so it would know what “route” to send traffic out of. I think you can specify the interface in routes as well to help keep them separate.
I’m not sure how well this would work however.
You could also try and contact your ISP and see what it would take for them to assign you a block of route-able IP addresses.
I have the same setup but with PPPoE connections. They terminate with the same provider and the gateways are the same. I was able to get things working by placing the secondary WAN and hotspot network into a VRF. So, you’d want to do something like this…