LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2004, 11:46 PM   #1
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Rep: Reputation: 15
Angry DHCP is unable to route cable connection


I have FC2 kernel version 2.6.5-1.358smp
running 3com905 NIC and
Compaq NIC

have installed DHCP server
followed plan from http://www.siliconvalleyccie.com/linux-hn/dchp.htm
but was unable to connect client PC to internet.
I have checked settings according to the plan outlined from the above web site but with no success.
I am in desperate need of help,
Does anybody have any suggestions?
 
Old 07-08-2004, 11:57 PM   #2
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Original Poster
Rep: Reputation: 15
to be more specific I want eth0 to obtain IP from cable modem.
Then eth1 to connect to hub and share internet connection from there.
 
Old 07-09-2004, 09:52 PM   #3
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Original Poster
Rep: Reputation: 15
Okay, whats happening is as soon as I activate the second NIC card all connectivity is lost.
I believe it to be the second NIC is not properly configured.

Now for me to understand exactly what I'm doing I would like someone to correct my logic if it is wrong.
First, eth0 must connect to cable modem with approved MAC address.
(note: it does this successfully)
Second, eth1 must be the middle man between the network hub and the Internet.
Now here in lies the problem.
I am assuming that eth1 must have a certain amount of set values to be able to do this.
I have researched this and assigned the following:
subnet-198.162.1.0
netmask-255.255.255.0
range-192.168.1.201 192.168.1.220
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.1.100;
option nntp-server 192.168.1.100;
With this in mind when I activate the second NIC everything goes dead as far as the Internet.
I have added route 255.255.255.255 for broadcast.
After configuration and reboot have tried [pgrep dhcpd] but don't receive any numbers.
To me it's obvious that something is not configured correctly, namely eth1.
And also perhaps trying to be a DHCP server and a router somehow don't mix well.
I have enabled IP packet routing in addition to installing DHCP server prior to this.
I am sure this is a configuration issue but I am at a loss.


Would someone please shed a little light on this for me.
 
  


Reply


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
Route packets between cable modem and another router k1mgy Linux - Networking 0 08-01-2004 07:22 PM
Creating a Server [with ability to route cable conection] Wolfy Linux - Networking 1 07-07-2004 10:04 PM
Mandrake does not see DHCP/Cable Connection opafire Mandriva 1 11-25-2003 07:16 PM
Route dialup modem packets back through dialup instead of default route cable modem jogress Linux - Networking 1 10-21-2003 03:48 PM
DHCP Problems w/ Cable Connection.. hismeat Linux - Networking 6 04-04-2001 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:56 AM.

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