I'm trying to get a second NIC going in my Ubuntu server. I had installed the card and set the IP, etc. unfortunately I must have done it incorrectly. Even though both cards were enabled I was only able to use either or but not both at the same time.
Hopefully someone can help with the following questions:
1) What is the correct way to install multiple NIC's for different subnets in a single Linux machine? I realize this is all encompasing but I'm not sure how to break it up into smaller pieces.
2) If you create a virtual IP on a Linux Machine as opposed to a second NIC I'm assuming it can only listen on the subnet in which the actual non-virtual IP is established?
3) How do you deal with DNS, gateway and host entry's and the like? Does someone have an example of what those items would look like?
TIA for any information you can provide.
PHP Code:
<>
+-------------------------------+
| |
| I N T E R N E T |
| |
+-------------------------------+
|
|Internet
|staticIP
+-----------+ +-----------+
| Router1 | | Linux |
| NAT1 | | server |
+-----------+ private1 | |
private1_IP | | staticIP | eth0 |
+----------------+ +------------------ | www |
| | ssl |
v | dns |
+-------------+ | |
| Router2 | | |
| NAT2 | | |
| DHCP | | |
+-------------+ private2 | |
| | | | | staticIP | eth1 |
| | | | +---------------------------------- | |
| | | | | |
| | | | | |
| | | | +-----------+
V V V V
internal LAN
TW,