Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-27-2008, 05:22 PM   #1
that Linux guy
LQ Newbie
Registered: Jan 2008
Location: Waterford, Mi
Distribution: Debian/Ubuntu and Solaris 10
Posts: 15

Rep: Reputation: 0
Trouble configuring 2 network Debian Etch

Hey all. I'm trying to set up a machine to act as a firewall/DHCP server and am having trouble getting the system to use both cards. I'm running a base install of Debian Etch by the way.

Using ifconfig, I can only see Eth0 and Lo, but if I say ifconfig Eth1, I'll get info on it. I did hand modify my /etc/network/interfaces file to use both Eth0 and Eth1. My interfaces file looks like this (without commented lines)

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

(What I added myself)

allow-hotplug eth1
iface eth1 inet static

Any ideas what's going on here? Thanks for any help/insight in advance.
Old 05-27-2008, 06:40 PM   #2
Registered: Aug 2006
Distribution: Debian
Posts: 188

Rep: Reputation: 33
For my LAN facing wired static interface (eth0) I don't use allow-hotplug, I use auto eth0 so that it is up when I boot (is not waiting for a hotplug event) and also don't specify the broadcast address. My interfaces file looks like this and works fine:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static

allow-hotplug wlan0
iface wlan0 inet dhcp

allow-hotplug eth1
iface eth1 inet dhcp
(I have 2 wireless interfaces, one wlan0 built into laptop and another USB interface eth1 which is better with weak signals and not always connected). This config allows eth0 to always be up awaiting connections from LAN and I use Wicd to manage the internet facing wireless interfaces (so it ignores the config for wlan0 and eth1 anyway).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Exim routing Debian Etch wonderd Linux - Server 3 06-18-2007 06:42 PM
Configuring 2 Network Cards tubatodd Slackware 6 11-23-2006 03:07 PM
Supported wlan cards in Debian Etch Double J Debian 1 04-12-2006 04:53 AM
configuring my network cards zerog Linux - Networking 2 12-31-2005 05:51 AM
configuring 2 network cards? julc Slackware 1 01-11-2005 07:44 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration