Does anyone can help me? I have a testing server running debian etch that should listen for requests on one public ip and on a private lan. What should I do? Two nics is the solution? So how to configure? Virtual ethernet? Routing? I've tried googling a lot, but only found tutorials about eth bonding or some techniques like that. I'm confused. Please help me! TIA
Have a look at the Debian Sarge setup (page 3). It's for Debian Sarge, but it's the same for Debian Etch. The 1st NIC will be eth0. The virtual NIC's are eth0:0 eth0:1, etc.. The 2nd NIC will be eth1. The virtual NIC's are eth1:0 eth1:1 ....
ok... how about this one, i have 2 ip adresses, if i point the second IP address to the same computer, will i just set up a virtual eth0:0 or whatever? or does it really matter?
Have a look at the link in my 1st reply. It's showing how you can add the extra IP(s), so that they are virtual ones. I've got 8 IP's setup that way on my system. One for FTP, one for the normal HTTP stuff, 3 for DNS, one for POP3, one for SMTP, and one for remote stuff. With the firewall I'm manageing the IP's and correct ports for it. So.. If I scan the "FTP" IP, I only see the needed FTP ports open. If I scan the DNS IP, I only see the needed DNS port open.. etc. etc.