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
  Search this Thread
Old 04-02-2003, 06:21 PM   #16
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30

Further info:

My eth1 config file:

DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.0.1
NETMASK=255.255.255.0
USERCTL=no
#PEERDNS=no
TYPE=Ethernet
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
LOGDNS=yes
 
Old 04-02-2003, 09:10 PM   #17
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Are you positive that your eth0 is external, and your eth1 is internal? Also, it's a good idea to modify your '/etc/sysconfig/dhcpd' to read 'DHCPARGS="-q eth1" so that it will not start DHCPd on eth0, ever. If you initialize a DHCP server on your cable modem interface, your cable company might have some words with you.

Might not be a bad idea to show us the results of your 'ifconfig' command, and the contents of your '/etc/dhcpd.conf'.
 
Old 04-03-2003, 03:16 PM   #18
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
/etc/sysconfig/dhcpd:
Code:
# Command line options here
DHCPDARGS=eth1
Ifconfig output:
Code:
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:12.252.xxx.xx  Bcast:255.255.255.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1439138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:325110 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:125663579 (119.8 Mb)  TX bytes:68413628 (65.2 Mb)
          Interrupt:11 Base address:0xa800

eth1      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:365415 errors:0 dropped:0 overruns:0 frame:2
          TX packets:506286 errors:4 dropped:0 overruns:0 carrier:0
          collisions:66856 txqueuelen:100
          RX bytes:68056372 (64.9 Mb)  TX bytes:225896830 (215.4 Mb)
          Interrupt:9

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:104554 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104554 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:52453591 (50.0 Mb)  TX bytes:52453591 (50.0 Mb)
/etc/dhcpd.conf: (I've been playing with different order, positioning, etc, so serveral lines are commented out at the moment)
[CODE]
ddns-update-style ad-hoc;
ddns-domainname "mshome.net";
ddns-rev-domainname "in-addr.arpa";
#interim;
default-lease-time 64800;
max-lease-time 64800;
option domain-name "mshome.net";
option domain-name-servers 192.168.0.1;
option subnet-mask 255.255.255.0;

subnet 192.168.0.0 netmask 255.255.255.0
{
#not authoritative;
#option subnet-mask 255.255.255.0;
#option domain-name-servers 192.168.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
#option nis-domain "mshome.net";
#option domain-name "mshome.net";

range 192.168.0.3 192.168.0.10;
}

host andrew
{
ddns-hostname andrew;
fixed-address 192.168.0.2;
hardware ethernet xx:xx:xx:xx:xx:xx;
}
 
Old 04-05-2003, 08:06 AM   #19
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Your file is kinda screwed up, you have to have all your options under (enclosed in {}) a subnet declaration. Also, I don't think 'subnet-mask' is optional.

Try this:

subnet 192.168.0.0 netmask 255.255.255.0
{
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
#option nis-domain "mshome.net";
#option domain-name "mshome.net";
#option domain-name-servers 192.168.0.1;

range 192.168.0.3 192.168.0.10;
default-lease-time 64800;
max-lease-time 64800;

host andrew
{
ddns-hostname andrew;
fixed-address 192.168.0.2;
hardware ethernet xx:xx:xx:xx:xx:xx;
}
}
 
Old 04-07-2003, 09:01 AM   #20
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
This didn't make any difference. I have seen plenty of examples with values outside of the {} grouping. Tried it, and no change. From what I could get off the internet it doesn't sound like a dhcpd problem, but an ethernet configuration. Basically, from what it sounded like with people and this problem, is that eth1 is being considered in a (0.0.0.0) subnet instead of the 255.255.255.0 subnet which it is set to in ifconfig.
 
Old 04-07-2003, 10:26 AM   #21
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
okay, after much research, found the problem was the dhcpd file in the rc.d/init.d directory. I am no longer getting the message about 0.0.0.0 subnet. Unfortunately this didn't fix my dig/nslookup problems. I am still getting a non-existent domain error (in windows, linux this is NXDOMAIN). So the name resolution is not liking the mshome.net domain.
 
Old 04-07-2003, 02:09 PM   #22
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
or just that the ddns update is not working and not pulling in the Windows computers when they are added via DHCP
 
  


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
What makes an intranet an intranet? pembo13 Linux - Networking 3 06-21-2004 08:20 PM
How to resolve LAN computers? yalag Linux - Networking 1 03-21-2004 05:54 AM
How do you set up an Intranet??? timmy_laf Linux - Networking 15 01-09-2004 01:31 AM
Intranet computers cannot see internet (need immediate help) arobinson74 Linux - Networking 3 04-01-2003 09:24 AM
Intranet yadavankur Linux - Networking 2 09-18-2002 11:06 PM

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

All times are GMT -5. The time now is 06:02 PM.

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