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.
Hello there. I am having trouble connecting a linux computer with a static ip
address (192.168.1.2) assigned to eth0 to a windows XP computer that uses DHCP for its ethernet interface (via crossover cable). Only a physical connection is
established. Not even the ping command works.
When both computers are assigned static IP address, the connection works, but
now it breaks Windows's file/print sharing capabilities when I connect two Windows computers with static IP address. Samba still works using static IP address but using static IP address between two Windows computers partially
breaks networking such as the ability to connect to LAN type games. Any ideas how to fix this?
Ahhhhh. Stupid me. The problem why I can't connect is because the computers don't belong to the subnet. I chose 192.168.1.x for all computers running linux and it seems that Windows always likes to choose 169.x.x.x for its dynamically configured address.
Now I still need to solve why Windows networking doesn't like static IP address (i.e. can't connect
to LAN games).
Are you getting 169.254.X.X on your DHCP config? 169.254.X.X are "made up" address that are used when there is no response from a DHCP service. Have you checked your DHCP server to see if it's getting the request and what IP it is actually giving out?
I don't have a DHCP server. I'm just connecting two computers via an ethernet crossover cable (which explains why the address is 169.254.x.x). It seems now that the problem of not being able to connect to LAN games (Age of Empires) is solved after I set the appropriate subnet masks.
Now the only problem left is that I can't share drives/printers between two windows computers when they both have static IP address (192.168.1.2 and 192.168.1.3, subnet mask 255.0.0.0).
Microsoft conspiracy?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.