[CentOS] 2 nics, 2 networks, 2 switches
John R Pierce
pierce at hogranch.com
Wed Sep 19 20:52:21 UTC 2007
Kanwar Ranbir Sandhu wrote:
> The server is running CentOS 5, and it has two NICs on it. NIC 1 is
> currently active, and plugged into network A - let's say it's
> 10.1.1.0/255.255.255.224. NIC 2 is currently disabled. I want to
> enable it, but on a different network - let's say it's
> 10.1.2.0/255.255.255.0.
>
> Network A is in a fairly well locked down DMZ. I can get to only some
> devices on network B from network A. Network B has full access to
> Network A.
>
> Network A and Network B each use different gateways, so I can't use
> network A's gateway (which is in the DMZ) for NIC 2. NIC 2 would have
> to use network B's gateway.
>
> I need to activate both NICs because services running on the box need to
> access devices on network B, and that's only possible from within
> network B itself.
>
are there OTHER networks on the WAN accessed via B's gateway/router ?
network A's gateway is the internet route?
if B's gateway has routes to the rest of 10.x.x.x, I'd just define a
static route like 10.0.0.0/8 -> B's gateway/router's IP, and leave the
DEFAULT gateway as network A's internet/DMZ router.
More information about the CentOS
mailing list