[SOLVED] DHCP offers not being limiting to specified vlan interface on debian.
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.
DHCP offers not being limiting to specified vlan interface on debian.
Hi All,
I have configured dhcp3-server on my debian box and I'm wanting to offer dhcp on one of the vlan interfaces. The dhcp is functioning but when I test applying it to a different vlan, the original PC can still get an IP.
For example:
eth1 has vlan100 and vlan200. Our managed switch has the ports configured such the pc1 is on vlan100 and pc2 is on vlan2. This works fine and I can inter-route between vlans with static IPs.
well your config only has one subnet, are you running the same subnet on two vlan's?? I really hope not. As for what else is wrong, you can see that the INTERFACES line looks totally diffferent from the other lines doesn't it? It does not belong in that file at all, infact I'd have thought that it'd stop DHCPD loading at all as the symtax is totally illegal there. I assume it goes in /etc/sysconfig/dhpcd or similar, something that will be directly turned into a command line argument, not a config inside the program.
I've now added the additional subnets for all of the applicable network interfaces and just by this it is now doing what it should be doing.
I found the 'INTERFACES' part in another forum thread and thought I'd try it. I too find it strange that it allowed the daemon to start properly and it didn't throw up any errors in the syslog. However I've now removed it anyway as it had (obviously) no effect.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.