Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-21-2008, 02:26 AM   #1
Registered: Mar 2002
Location: Alberta, Canada
Distribution: Debian 4.0 Etch
Posts: 64

Rep: Reputation: 15
Cool debian: dhcp server works, just no internet on 2nd machine

hah! Thanks anyway but I figured it out >.< I re-setup my firewall (with easyfwgen) some extra routing settings and made sure the gateway address was eth1 and and it started working ^^ hooray! This can be locked or removed >.<

Hello I'll try to explain this best I can

My server is Debian 4.0 Etch and has 2 network cards, eth0 and eth1. eth0 is the main connection for the internet. eth1 is where my 2nd machine is going to go into.

I've setup my server with dhcp3-server, finally got it working (the 2nd machine pulls an ip address), I just don't know the finer details of how to get the internet go through to the second machine. I've probably just entered something wrong.

option domain-name              "andromeda.";
option domain-name-servers      andromeda;
option ntp-servers              andromeda;
option ip-forwarding            off;

default-lease-time      600;
max-lease-time  7200;

log-facility local7;

subnet netmask {
        option routers;
        allow   unknown-clients;
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0

auto eth0
iface eth0 inet dhcp

iface eth1 inet static

auto eth1
I'm just lost on how to tell the 2nd card where the internet is coming from.

My gateway entry was my attempt at telling it so >.<

I am using the site: gateway/router option for my iptables firewall

Sorry for the silly questions


Last edited by figmentium; 01-21-2008 at 03:23 AM. Reason: added iptables info


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
Debian: Can't reach internet with through DHCP-Server vsoemlio Linux - Networking 6 05-18-2007 12:15 PM
locate infected machine from dhcp server erimar77 Linux - General 2 05-20-2006 10:33 AM
Debian: dhcp works with 2.2 kernel, but not 2.4 Filias Cupio Linux - Networking 4 05-27-2004 05:35 AM
Linux machine as DHCP server spony Linux - Networking 4 12-23-2003 09:47 AM
dhcp server works for win2000, not win95 machines lgetsche Linux - Networking 3 08-17-2002 10:05 AM

All times are GMT -5. The time now is 03:30 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