Weblog entry #1 for brian1965
#1
Debian Installation
Posted by brian1965 on Thu 20 Apr 2006 at 08:27
I am a novice to Linux, but I'm attempting to install Debian 3.1 (Sarge: 2.6 kernel). I would like to run this box as a proxy. It is outfitted with 2 NICs. I have come to a point in the installation where I am being asked about the primary network interface. The message reads as follows:
"Your system has multiple network interfaces. Choose the one to use as the primary network interface while installing Debian. If possible, the first connected network interface has been selected."
Primary network interface:
*eth0: Silicon Integrated Systems
*eth1: Realtek Semiconductor Co. Ltd. RTL-8139/8139C/8139C+
eth1 has been selected or marked!
The infrastructure that I have put in place is a Fortigate: Fortinet50 Router, which has 3 ports; RJ45 External & Internal ports plus an RS232 port for Telnet communication. I have a cross over cable connecting the Fortinet's internal port to the Server's "eth0" (Integrated Systems) NIC and a straight through CAT-5 cable from the Server's "eth1" (RTL-8139) cable up to a 16-port switch.
Goal: From the vantage-point of the Server;
A. Configure the internal, (built-in NIC) as eth0, the communications device for the internet.
B. Configure the (installed) "eth1", Realtek NIC as the LAN communications device.
Question: Which NIC should be used as the Primary Network Interface, the NIC that communicates directly with Fortinet or NIC that will act as the gateway to the LAN?
"Your system has multiple network interfaces. Choose the one to use as the primary network interface while installing Debian. If possible, the first connected network interface has been selected."
Primary network interface:
*eth0: Silicon Integrated Systems
*eth1: Realtek Semiconductor Co. Ltd. RTL-8139/8139C/8139C+
eth1 has been selected or marked!
The infrastructure that I have put in place is a Fortigate: Fortinet50 Router, which has 3 ports; RJ45 External & Internal ports plus an RS232 port for Telnet communication. I have a cross over cable connecting the Fortinet's internal port to the Server's "eth0" (Integrated Systems) NIC and a straight through CAT-5 cable from the Server's "eth1" (RTL-8139) cable up to a 16-port switch.
Goal: From the vantage-point of the Server;
A. Configure the internal, (built-in NIC) as eth0, the communications device for the internet.
B. Configure the (installed) "eth1", Realtek NIC as the LAN communications device.
Question: Which NIC should be used as the Primary Network Interface, the NIC that communicates directly with Fortinet or NIC that will act as the gateway to the LAN?
Comments on this Entry
Hi there,
I've just done something similar with a Dell box - it's got a 3c905 built-in and I added a Realtek 8139 PCI network card - I set mine up with eth0 (3c905) being for the internal network and eth1 (Realtek 8139) for the Internet connection via my cable modem.
One thing I would recommend installing is ifrename so that the device names stay consistent between reboots.
Other than that, I followed the articles here for setting up an Internet gateway, Postfix, transparent Squid proxy server etc.
Cheers and enjoy!
Kevin
I've just done something similar with a Dell box - it's got a 3c905 built-in and I added a Realtek 8139 PCI network card - I set mine up with eth0 (3c905) being for the internal network and eth1 (Realtek 8139) for the Internet connection via my cable modem.
One thing I would recommend installing is ifrename so that the device names stay consistent between reboots.
Other than that, I followed the articles here for setting up an Internet gateway, Postfix, transparent Squid proxy server etc.
Cheers and enjoy!
Kevin
[ Parent | Reply to this comment ]
Posted by Utumno (60.248.xx.xx) on Fri 21 Apr 2006 at 09:59
[ Send Message | View Utumno's Scratchpad | View Weblogs ]
[ Send Message | View Utumno's Scratchpad | View Weblogs ]
The 'external' interface ( i.e. the one that connects your box to the outside world, in your case 'eth0' ) should be chosen to be the primary one.
[ Parent | Reply to this comment ]