2 Active Nics?
Here is my scenario.
Currently running RedHat 6.7 with 1 of my 8 nic cards active utilizing my production network eth0, which has a static IP and gateway as defined by my network team.
Now I need to active a 2nd nic card eth1 for my backup and storage team to utilize only our backup network with a separate static IP and gateway.
1.) Is this even possible to have 2 active nics with different static IPs (subnet is different) and gateways?
2.) If 1 is possible is there a way to define what traffic/services/applications utilize which nic outward. Meaning I want all traffic to use eth0 except for our networker service to use eth1 for backups.
Thanks.
Responses
You've already set the gateway in /etc/sysconfig/network-scripts/ifcfg-eth0, yes? If so, you can leave it there. If not, you can add it there or set it "globally" in /etc/sysconfig/network (using the GATEWAY parameter).
The values he used were notional. You should replace them with your actual network/gateway values (you mentioned that your network team provided you with address information). Using his example, "10.10.10.0/24" represents the network addresses to be routed, and "192.168.0.10" represents the gateway through which to route the requests.
Hello, some useful links relevant to this subject Static Routes and the Default Gateway, and the following section Configuring Static Routes in ifcfg files.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
