Re: [CentOS] 2 nics, 2 networks, 2 switches

2007-09-20 Thread Kanwar Ranbir Sandhu
On Wed, 2007-09-19 at 13:52 -0700, John R Pierce wrote: > 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/ro

Re: [CentOS] 2 nics, 2 networks, 2 switches

2007-09-19 Thread John R Pierce
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

Re: [CentOS] 2 nics, 2 networks, 2 switches

2007-09-19 Thread Kanwar Ranbir Sandhu
On Fri, 2007-09-14 at 12:16 -0400, Ken Price wrote: > What you're asking can be done a number of ways with different levels > of complexity, the simplest using routing tables and IPTABLES. > Instead of asking this list how to technically do this, I'd suggest > that first you describe what yo

Re: [CentOS] 2 nics, 2 networks, 2 switches

2007-09-19 Thread Kanwar Ranbir Sandhu
On Wed, 2007-09-19 at 13:52 -0700, John R Pierce wrote: > are there OTHER networks on the WAN accessed via B's gateway/router ? > network A's gateway is the internet route? I suppose I should have mentioned that both networks are internal. They can each get out to the Internet, though. networ

Re: [CentOS] 2 nics, 2 networks, 2 switches

2007-09-14 Thread Ken Price
What you're asking can be done a number of ways with different levels of complexity, the simplest using routing tables and IPTABLES. Instead of asking this list how to technically do this, I'd suggest that first you describe what you're trying to accomplish at a higher level. And be very

RE: [CentOS] 2 nics, 2 networks, 2 switches

2007-09-14 Thread Ross S. W. Walker
Kanwar Ranbir Sandhu wrote: > > Hi Everyone, > > I have a server with two NICs. One NIC is already configured > for network > A, but the second is disabled at the moment. I want to enable it too, > but put it on network B. Unfortunately, I don't know how to do that. > Well, what I've tried has

[CentOS] 2 nics, 2 networks, 2 switches

2007-09-14 Thread Kanwar Ranbir Sandhu
Hi Everyone, I have a server with two NICs. One NIC is already configured for network A, but the second is disabled at the moment. I want to enable it too, but put it on network B. Unfortunately, I don't know how to do that. Well, what I've tried hasn't worked anyway. Each NIC is plugged into a