LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   2 NICS, 2 IP adresses.... howto? (http://www.linuxquestions.org/questions/linux-networking-3/2-nics-2-ip-adresses-howto-250728/)

derekn 11-03-2004 02:43 PM

2 NICS, 2 IP adresses.... howto?
 
I have setup a Fedora Core 2 server. I would like to have 1 NIC using a static IP. This static IP will be my web server, ftp, email server etc and firewall. The other NIC will be connected to my linksys router using dhcp.

Is it possible to have the NIC with static IP be used for web server, ftp, mail server and shh? While the other NIC using dhcp from Linksys router just be used for surfing the internet etc?

Am I thinking to hard about this? I have seen setups where 1 NIC is the public address. The other nic is connected to a hub where other PCs use the LInux box as a gateway.

thanks

phatboyz 11-03-2004 02:55 PM

Yes, you solved the question your self. Unless your provider had given you 2 static ip then only one card is visible to the world. The other would be used for internal traffic as a gateway.


All times are GMT -5. The time now is 04:00 PM.