Got troubles by using IP addresses (statics and DHCP)
Hi everybodies,
I've got some problems. First I would like to introduce myself; My name is Myo. My work is Network Professional in HORIZON International School in Yangon, Myanmar. In this school, use SUSE Server and made it by DHCP but in my hand I changed many rules. All are OK at the start but now they requested that they who are principal, and vice principals are want to use the Internet without filtering. So I've made new rules by using Webmin software to control the SUSE Server. 1st I've gave static IP from LAN x.x.x.40 to x.x.x.45. 2nd IP is x.x.x.12 to x.x.x.15. At First, there's nothing happen but now I've got problems because Server gave DHCP so that Server gives IP itself and conflict with static IPs. And also I can't find in Webmin software how to disable the DHCP Assign. Please reply me as possible as. Thanks by Myo |
Hi,
Please frame your question properly , we can't understand |
Little difficult to understand your problem amhma.
Check the network configuration files under /etc/sysconfig/network Make BOOTPROTO parameter set to static in /etc/sysconfig/network/ifcfg-eth0 file, if you do not want to get IP from local DHCP server. |
Quote:
You question is create confusion. Is your school network have static ip or DCHP? Do you want to give static ip or from DHPC? If you want to use DHCP in client machine. If you want to use static for all and DHCP for couple of machine you can exclude ip range or bind mac address in dhcp server.( i assume you create DHCP for couple of users) Please clarify your question so some one can help you. Regards, |
Thanks for reply me what is happening of my questions.
My school is using both DHCP and Static. so I've got problems with conflict IP. How can I solve this problems. Please be patient to read and reply me. For Examples; 3 of the static IP want to use as non filtering. But by using DHCP It will going to be IP conflict again. So I need to know how can I disable the DHCP Server from SUSE Server and I also want to know How Can I do it in easy way such like using Webmin software. Thanks for assists me Myo Htet Min |
I don't know how you'd do that in Webmin, but you can easily edit the dhcp.conf file to specify ranges and static IPs so that they don't overlap. See examples 20.4, 20.5 http://www.linuxtopia.org/online_boo...ng-server.html
|
bind mac address to IP in dhcpd.conf file
ExAMPLE DHCPD.CONF FILE : Code:
ddns-update-style interim; # Required for dhcp 3.0+ / Red Hat 8.0+ |
All times are GMT -5. The time now is 08:18 AM. |