LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network issue (https://www.linuxquestions.org/questions/linux-networking-3/network-issue-206295/)

chop 07-17-2004 01:24 PM

Network issue
 
Hi!

I have set up dhcpd on my webserver, on the 192.168.100 range.
The server gives ip's from 192.168.100.2, to 192.168.100.5
My fileserver gets an ip easily, but my windowsmachine won't get an ip.
I can't find the servers if i set the ip to 192.168.100.10 either.

What could be the problem?

Thanks to all who tries to help :)

yongbeng 07-17-2004 01:27 PM

what is your windows OS?is the NIC on windows working at all? did you try to do a ping from the windows machines? there are many possibilities I suppose..I would advice you can try to ping from the windows machines which is not getting the IP range from the linux server. But do remember to do a manual configuration of the IP on the windows machines b4 pinging. then see if it works.

chop 07-17-2004 01:30 PM

I'm using windows2000, and yes, the NIC is working fine.
I can't find any of the servers if i try pinging from my machine, with 192.168.100.10 manually configured.

chop 07-17-2004 04:22 PM

Now i have the following configuration:

Server with two nics, one connected to the dsl-modem and one to the 100mbit-switch. How can i share the internet with iptables to the local network?
The local network is eth1, internet is eth0

chop 07-17-2004 06:48 PM

*bump*

interOperate 07-17-2004 11:51 PM

network issue
 
Chop > it's a little confusing because you seem to be using different terminology for both the same, and different systems.

Please outline again the names of the various machines, what OS they are running, and how many NICs they have.

If I have understood correctly, the problem windows machine seems to have two NICs, and perhaps the default route is set for the Internet and not your internal LAN.

chop 07-17-2004 11:59 PM

Chise (Server) - two NICs, both 8139too
Aoi (Fileserver) - one NIC, Sis900

Windows 2000 - one NIC, via-rhine

Both the servers are running trustix 2.1

The windows machine had one of the NICs in the webserver, but i uninstalled it before unplugging, so there shouldnt be a problem

chop 07-18-2004 07:29 AM

I think maybe i've misconfigured dhcp, because i'm easily getting an ip from my isps dhcp-server. Here's the configuration:

Code:

ddns-update-style interim;

#subnet 81.191.15.0 netmask 255.255.255.0 {
#        not authoritative;
#}

subnet 192.168.100.0 netmask 255.255.255.0 {
        authoritative;
        option routers                  192.168.100.1;
        option subnet-mask              255.255.255.0;

#        option nis-domain              "chopped.net";
#        option domain-name              "chopped.net";
        option domain-name-servers      62.101.193.44, 217.118.32.13;

        option time-offset              1;
#      option ntp-servers              192.168.1.1;
        option netbios-name-servers    192.168.100.1;
        next-server    192.168.100.1;
        filename        "pxelinux.0";
#      option netbios-node-type 2;

        range dynamic-bootp 192.168.100.2 192.168.100.10;
        default-lease-time 21600;
        max-lease-time 43200;

        host aoi {
                hardware ethernet 00:0E:A6:XX:XX:XX;
                fixed-address 192.168.100.2;
        }

But then, why would aoi get an ip ? :(

Edit: I've tried running dhcpd -d -f, and this is what i get when my windowsmachine is trying to get an ip:
DHCPDISCOVER from 00:50:8d:xx:xx:xx via eth1
DHCPOFFER on 192.168.100.10 to 00:50:8d:xx:xx:xx via eth1

However, when i'm not setting the network-card to auto-negoating, no output will come. I have to set it to auto-negoate

chop 07-18-2004 11:42 AM

Mhh, think i'll lay dhcpd on ice until i get this shit working.

Could anybody please give me some ifcfg-ethX examples for a static 192.168.X.X ip with netmask, gateway, broadcast etc, and a windows-configuration suited for it? I've tried many times here myself, but i can't ping either of my servers, but they can ping eachother.

interOperate 07-18-2004 06:41 PM

A few things to try
 
Chop, a few things you can try (in no special order):

1) You've said that you cannot ping from the Windows machine to either of the Linux boxes. But when you've set a static IP on the Windows machine, can either of the Linux machines ping the Windows machine?

2) Are you running a Firewall on the WIN2K machine, such as ZoneAlarm?

3) From what I remember, Trustix is a high security Linux, therefore you may have iptable rules set on the Linux machines that is blocking communications from the Windows machine. Have you checked this issue?

4) It sounds like the DHCP client is working okay, but best to double-check under the Windows Services that DHCP is indeed enabled.

5) When you configure a static IP address on the Windows box, does it hold the info after a reboot?

6) Re the IP configuration, if you set the IP info manually to say:
IP ADDRESS: 192.168.100.11
NETMASK: 255.255.255.0
GATEWAY: will be the 192.168.100.x IP address of the NIC on Chise

7) Change the line in your dhcp-server:
range dynamic-bootp 192.168.100.2 192.168.100.10;
because I think you're already using 192.168.100.2 for another NIC, and such can cause an IP conflict

chop 07-19-2004 01:57 PM

I took one of the NICs from my webserver, and now it's working fine.
Seems like the onboard VIA Rhine is the culprit :(


All times are GMT -5. The time now is 07:29 AM.