I’m basically a networking illiterate and would appreciate some help on how to set up 2 subnets on 1 router at home, but I’m willing to get additional equipment if necessary.
All I need is a few more IPs from my ISP, which only sells /29.
My current setup:
3 PCs connected to a router connected to a modem; one /29 from my ISP
The key is that once I have 2 subnets, all of my PCs should be able to use any IP from either subnet. If that is not possible, please stop reading and tell me to abort too.
My current router config for 1 /29:
ether1 connected to modem; ether2 set as master port; 3 PCs connected to ether2,3,4.
In firewall:
add action=masquerade chain=srcnat out-interface=pppoe-out1 src-address=!111.222.333.224/29
Sure, your PC can have multiple addresses from different subnets. The other matter is how it will or will not be able to use them. If it would run some server(s), using all addresses for incoming connections would work fine. If you have programs that can specifically select an address to use for outgoing connections, they will work too. But regular programs (web browser, …) will just use one. So it depends on what you’re after.
^^ This post shows simple static routing where the IP addresses are placed on the router interfaces and an extra subnet is used with static routes to pass traffic between the 2 MikroTiks.
I echo what Sob says here. If you need 2 IPs on a single PC that is fine. You just assign a second IP address to the layer 3 device it is connected to (router). Your PC will need routes targeted at the IP you add to the layer 3 device in order to use them, like a default route (a second one).
This is very easy to do. I have as many as five LANs on one of my RB750s at home. However I’m not in a position to look at my configuration to compare to yours at this time.