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.
Hi,
I have a linksys adsl modem/router/dhcp server that connects 3 computers to each other/internet , and i'm dual booting windows/FC3 on the machine i'm having probs on - its a fairly new instal, but I have been messing about a bit (in an attempt to further my knowledge!) and for testing, pinging hostnames works fines from windows <washes mouth out>
from command prompt,
"ping 192.168.1.100" works fine
"ping floto" doesn't, just says unknown host.
the dhcp table on the linksys box shows the computer names and the addresses assigned to them.
i can also resolve/nslookup external websites fine, but not my internal network machines.
I tried disabling iptables, but i've never touched that (from services prog) but it made no difference.
Any ideas/hints as to where I should start looking? Thanks for any assistance.
The simplest solution in Linux would be to specify your host/IP mappings in the /etc/hosts file. I'm not sure how to manually specify hosts in Windows...
You might try adding 192.168.1.1 (or whatever your router's internal address is) to your DNS server list, though I'm not sure if Linksys routers run internal DNS servers on them.
forget the windows side of things, thats going in the bin when i'm comfortable enough (and works fine anyway with the ping hostname anyway)
I had allready thought about the manually editing the host file, but my dhcp server only has a 3 day lease period, and no way of changing it, it also seems to just give 192.168.1.100 to the first machine requesting it, regardless of lease! then 101 to the second. Tad annoying!
Static ip was the other option, but then i may as well not use dhcp at all :/
You can't expect consistant dynamic IP distribution from a Linksys box, I'm afraid :P If you really do only have 3 machines on your network, than static IPs may simplify things. Note that this doesn't mean you have to turn your router's DHCP server off; just assign yourself an address outside of it's dynamic range.
For example, I belive Linksys routers by default reserve the range 192.168.1.100 - 192.168.1.149 for DHCP. Static and dynamic IPs, then, can coexist peacefully on the same network as long as you don't staticly assign anything in that range.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.