Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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.
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.
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 > 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.
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.