"Basic" router using RHEL or CentOS...
Hello,
Maybe, I'm over complicating this in my head...maybe not.
There have been plenty of occassions when I've needed to setup a RHEL or CentOS box to act as a NAT router / firewall, and I am able to do this fairly easily by enabling ip_forwarding, and setting up a couple of iptables FORWARD rules and a nat rule.
However, what I'd like to do now, sounds in theory like it should be simpler, but I seem to be having a mental block and all of my searches pull up results about people playing around with LinkSys routers and so on.
Let me give an example scenario. Let's say I have two subnets, A and B. A has the IP range 10.0.1.0/24 and B has 10.0.2.0/24.
I have my RHEL box, with two NICs. One is connected to subnet A and has the IP 10.0.1.1/24, the other to subnet B with the IP 10.0.2.1/24.
All I want to do, is make clients on each subnet be able to talk to each other via my Linux box.
No, NAT'ing, no firewall rules, just straight up, good old-fashioned routing.
Does that make sense? Should that be easy? Has my brain given up on me?
Thanks in advance.
|