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 dhcp3 server serving three different subnets (10.0.0.*, 10.0.1.* and 10.0.100.*). I have DHCP only working on one subnet as it should be. The other two only have static clients. Everyone gets their IP's correctly. I just need the different subnets to be able to speak. I have the dhcp server's subnet (10.0.0.*) set with a netmask of 255.224.0.0 which allows the 10.0.0.* and 10.0.1.* subnets to talk just fine. The 10.0.100.* subnet will not speak, however. I thought I had the netmask set correctly for this but maybe not. I am not a network Guru quite yet so could some of you veterans please help an aspiring admin?
I would try 255.0.0.0 mask but not sure wheater it should work with your settings already. Maybe You have sth wrong with DHCP settings related to 10.0.100.0 subnet.
Thanks, but that didn't work. I will have to look through some of my other settings to see what's up. It doesn't make sense to me that the only client on that subnet can get its address but can't talk to other subnets.
Ok. Its not a subnet problem. If I manually assign the IP addresses, and routes, everyone plays nice. For some reason,the machines on that subnet are not picking up their gateway even though I have the line
Code:
option routers 10.0.0.1
in the subnet container and this line works for the other subnets. I am at a loss at the moment.
Last edited by dpeterson3; 08-26-2010 at 08:24 PM.
Reason: New Info
If they're TRULY subnets, your need a subnet mask of 255.255.255.0. The first 3 octets define the network, the last one defines the host on the network. You need a router to route between the subnets.
If you're just creating an ip scheme that's all really just in a single 10.x.x.x subnet, then the subnet mask would be 255.0.0.0 - the 10. defines the network and the last 3 octets define the host on the network. Then you will not need a router, just a switch (or a hub).
Sorry about my slow rely. Homework comes first. This is why I am still a novice networker. I guess I just have an IP scheme setup rather than true subnets. Everything goes through the same switch. I don't think my problem is subnet related anymore. I believe it has something to do with the routers option as nothing on this subnet wants to add the gateway I push to them to the routing table like everyone else does. If I add the gateway to the routing table manually, everything works just fine. I am not sure why computers aren't doing it on their own.
Make sure everything has a 255.0.0.0 netmask. SOMETHING thinks 10.0.0.x and 10.0.100.x are on different subnets and thus needs to be routed. If everything starts with 10.0, then theoretically 255.255.0.0 will work, (as should your original even broader 255.224.0.0) - I bet something somewhere has a 255.255.255.0 netmask, that's a 'class c' subnet, very common, and the default for a lot of setups.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.