Saturday, February 9, 2013

why dhcp allocating different ip to dual boot linux & windows?

dhcp linux
 on DHCP Client will try to get a
dhcp linux image



nikhil j





Answer
Check and see if the MAC address the ip address is being assigned to is identical or not. If not, there's your answer. If it is identical, but still assigning a different address, your DHCP server may be also looking at the machine name.

Try this. Clear the DHCP server allocation cache. Reboot your system to get an address. Note what it is. Immediately reboot to the other system and see what address you get.

If it's working strictly off MAC, you should get the same address. If not, there is some internal check that the DHCP server is using to deconflict that's likely causing the issue. Without knowing what your DHCP server is (router, server, which version, etc) it isn't possible to go much farther than this.

Windows DHCP/DNS with linux client?




StingRay


I am having an issue where I get linux registered with DNS and it seems to resolve fine at first. However after about a day DNS will no longer resolve the linux client anymore.
Don't worry man because if you don't know what DNS resolution is your not going to be able to answer my question any way.



Answer
It sounds to me like you should review your scavenging options. I know that Win2003 has options to automatically register hosts that don't dynamically register themselves, and you'll want to look at them to make sure don't have any expiration set there, but your scavenging options will determine when/how Windows will take them out of DNS. If they're set to be nuked after 24 hours without checking to see if they're still there, for instance, that's exactly what will happen.

Don't have screen shots in front of me to work from, my apologies for lack of specific direction, but hope this helps.

Help with Linux DHCP?




Thomas(low


I have a Fiber to the Home (business class routerless) connection with a static IP. We have primarily mac's and a few windows pc's. When we disconnect the router and reconnect it it hands out leases but after that it requires a reboot to get addresses again. they were using a valet. I suggested a cisco E3000 and it was doing the same as well. we reverted to an old belkin and it worked for two days then started doing that as well. so we moved back to the E3000. we wanted the E3000 for the gig ports and N functionality. The only other thing i know to do is setup a linux dhcp server. I dont think it would be hard following a tutorial online and i have experience with linux servers but I guess what i would do and specify the dhcp server in the router to point to the server so that users would get leases through the router. This is a church and we have a lobby where we want users to be able to get on but not use the main office wireless so i was thinking of plugging the belkin into the lan ports on the main router and then assign the belkin a static ip on a diferent subnet to block them from accessing the office share and turn off dhcp and let the linux box handle thos leases. If i do that how would i go about configuring all of this.
The lease time is set to 240 minutes on the private addresses
Also ive researched this and it seems to be a known issue with this whole line of cisco routers hence the reason going a different route with the solution



Answer
Monowall is a great product. (It's actually based on FreeBSD, but that just means it's even more stable for this purpose). And yes, you can set up different interfaces and firewall rules very easily. (Best part is you can just use an old p3 or p4 you have lying around to do this if you stick in some extra NIC's.) Or use an atom or embeded x86 board as a platform. The drawback vs an all in one solution is you will need seperate switches to share the i/o of each NIC.

If you have a sepearte NIC to hook to the wireless router, you can set the whole thing as a DMZ, and the traffic will not be passed to the LAN, unless than same traffic would be passed to the LAN from WAN.

http://doc.m0n0.ch/handbook-single/#id11642778




Powered by Yahoo! Answers

No comments:

Post a Comment