LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 02-11-2003, 11:24 AM   #1
estranged0877
Member
 
Registered: Jan 2003
Posts: 52

Rep: Reputation: 15
Angry windows 2000 clients & redhat 8 router internet issues


Alright... I have 3 network cards:

eth0 is my internet
eth1 is my house side
eth2 is my class side

DHCP works for the most part but the issue I am starting to find is that on my house side internet/ip address siezes to work. I have to manually restart the client (win2k) machine or run ipconfig /renew to fix the issue.

Side note I am using iptables/ipmasquerading for internet sharing.

here is my dhcpd.conf file:

DHCPDARGS=eth1;
DHCPDARGS=eth2;

ddns-update-style interim;

default-lease-time 1209600; # 2 weeks
max-lease-time 1814400; # 3 weeks
option domain-name-servers 206.165.6.11, 206.165.6.12;

#class side

subnet 172.16.16.0 netmask 255.255.255.0{
range 172.16.16.10 172.16.16.200;
option subnet-mask 255.255.255.0;
option broadcast-address 172.16.16.255;
option routers 172.16.16.254;
option domain-name "l1";
}

#house side

subnet 10.69.12.0 netmask 255.255.252.0{
range 10.69.13.10 10.69.13.100;
option subnet-mask 255.255.252.0;
option broadcast-address 10.69.15.255;

option domain-name "l1";

}


Again, I am only noticing this issue on my house side, not on the classroom although the classroom machines are rebooted daily.

I haven't set a gateway on my house side as I set it manually on the win2k machines as we use 2 gateways and to my understanding Linux doesn't support doing 2 gateways on one nic???

The machines will work for a couple days/couple hours whatever and then they just stop and I have to manually renew IP's or reboot....

Please someone help me!

Thanks!
 
Old 02-11-2003, 01:03 PM   #2
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
estranger, I see you problem on your house side of your dhcpd.conf

I believe if you change either your house section to

#house side

subnet 10.69.13.0 netmask 255.255.252.0{
range 10.69.13.10 10.69.13.100;
option subnet-mask 255.255.252.0;
option broadcast-address 10.69.13.255;

or

#house side

subnet 10.69.12.0 netmask 255.255.252.0{
range 10.69.12.10 10.69.12.100;
option subnet-mask 255.255.252.0;
option broadcast-address 10.69.12.255;

This believe this will fix your problem.
 
Old 02-11-2003, 03:23 PM   #3
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
If, indeed, that is the fix, then how would the DHCP have worked at all? How can it assign IPs to a subnet that it is not on?
 
Old 02-11-2003, 04:17 PM   #4
estranged0877
Member
 
Registered: Jan 2003
Posts: 52

Original Poster
Rep: Reputation: 15
whatever the case is... even when I used my old scheme or apply the scheme cojo recommends I am still posting replies from my winxp box that is a dhcp client to the linux router.....

so far no one has lost internet since I changed the ddns-update to none and I also, applied the broadcast as 10.69.13.255.

My house IP ranges are from 10.69.12.1 - 10.69.15.255 subnet 255.255.252.0.
 
Old 02-11-2003, 11:11 PM   #5
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
Guage, I don't know exactly how his windoze machine get a IP from his linux machine either.

estranged, could you do a ipconfig/all on your windoze machine and see what you ip, mask, and default gateway are? I'm interest to see if you actually optained an IP from your linux box or not.....
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba¦server¦with¦windows¦2000¦clients dabash Linux - Networking 3 08-23-2005 01:08 AM
windows clients have access to the internet, linux ones don't esanchez Linux - Networking 1 04-28-2004 07:21 PM
Running Mandrake 9.1 Linux Clients on Windows 2000 Domain Server marc213 Linux - Networking 0 10-30-2003 03:20 AM
win2000 clients under redhat router/dhcp estranged0877 Linux - Networking 5 02-11-2003 01:12 PM
BIND DNS for Windows 2000 clients narcoterrorist Linux - Networking 1 05-07-2002 05:19 PM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration