I have two Linux servers which are going to be connected to typical l3 switch/router. They will both have assigned one public IP number per each ( let's say: pub.ip.n.1 and pub.ip.n.2) by IT.
Q1: What is best (simpliest) way of getting functionality:
working internet routing (to/from pub.ip.n.1 and pub.ip.n.2)
any subnet I define on servers interfaces (let's say 10.1.1.1/24) will have trafiic passed between servers. Adding/removing subnet should be only server admin task, no router admin needed.
those defined subnet(s) will not be routed at all nor interact in any way with other defined/assigned subnet.
No need for routing/NAT on router side, firewalls will be managed on Linux.
On theory grounds and after some reading, it looks to me as it could be done by:
a) configure VLAN on both ports
b) set pub.ip.n.1 and pub.ip.n.2 to each port / assign pub.ip.n.1 / .2 and .gw to VLAN.
c) allow all ethernet level2 traffic to flow between ports
d) disallow any IP traffic (except pub.ip.n.1 , pub.ip.n.2 pub.ip.n.gw) enter/leave vlan.
Q2: Is any sophisticated router needed for that, or should be possible on average serverroom hardware nowadays?
Regards, thanks in advance !