Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
} ######################################################################## ## 172.25.127.0/24 Subnet Reserved for future purpose ## ## Enable this network while shortage of the above pool ### ########################################################################
The dhcp server is in the network 172.25.121.0/24. Its working fine for that LAN only but unable server the other VLANs . My dhcp.conf looks like this:
Based on that, it looks fine. However, you omit alot of details that you need to diagnose this. How are the machines on the other VLANS able to know about this DHCP server? What routes/forwarding have you done on the switches?
Based on that, it looks fine. However, you omit alot of details that you need to diagnose this. How are the machines on the other VLANS able to know about this DHCP server? What routes/forwarding have you done on the switches?
Yes.. I don't know how to deal with multiple VLAN within dhcp.conf. Previously DHCP was running with on magikdhcp s/w on windows and facing problems from that. So I decided to migrate it to Linux based DHCP server.
And I just configure the dhcp according to the entry in the s/w only. And there is nothing mentioned there for routes/forwarding . I dont have any idea what routes/forwarding is used on the switches .
Kindly guide me the details need to diagnose I omited.
So what IS the network set-up in the first place? We can't really
give you answers suitable for your situation if we don't know
the situation; this is where I hoped the thread above might have
helped you in assessing where you're at, and, by example, lead you
to a solution.
How many NICs does the DHCP server have, if it only has one, what
is it connected to (type of device), what is its (the DHCP servers)
routing table, ... ?
So what IS the network set-up in the first place? We can't really
give you answers suitable for your situation if we don't know
the situation; this is where I hoped the thread above might have
helped you in assessing where you're at, and, by example, lead you
to a solution.
How many NICs does the DHCP server have, if it only has one, what
is it connected to (type of device), what is its (the DHCP servers)
routing table, ... ?
Cheers,
Tink
The DHCP server is a virtual server which has currently only one bridged n/w to connect the intranet.
And the routing table is:
PHP Code:
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 172.25.121.0 0.0.0.0 255.255.255.0 U 0 0 0 vznet1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vznet1 0.0.0.0 172.25.121.254 0.0.0.0 UG 0 0 0 vznet1
Thanks
PDK
Last edited by divyashree; 07-24-2011 at 12:52 AM.
If so you need to make sure that the L3 switch is relaying DHCP requests to the Server using a DHCP relay or BOOTP helper or whatever your switch manufacturer calls it.
If you only have a L2 switch and you have connected it like this -
How does the server access the other VLAN's? Remember VLANS are designed to provide Layer2 isolation. No traffic will pass between them unless an external device bridges or routes it. Apart from the L3 switch scenario obviously but then you can think of a L3switch as a normal switch with a router inside it as pictured above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.