Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
MDI DHCP Server Implementation
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== '''MDI DHCP Server Implementation''': == OS Version RHEL 6.1 (x86_64) ROOT Password : pipl?mdi161 To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet): tetra@tetra004:~$ ssh root@14.141.218.163 root@14.141.218.163's password: "Type password" Then access DHCP server from mail server: [root@mailserver ~]# ssh root@192.168.1.10 root@192.168.1.10's password: "Type password" --------------------------------------------------------------------------- '''Set the hostname''' [root@mdidhcpserver dhcp]# vim /etc/sysconfig/network --------------------------------------------------------------------------- NETWORKING=yes HOSTNAME=mdidhcpserver --------------------------------------------------------------------------- '''Set IP address''' [root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=ec:b1:d7:3c:10:07 NM_CONTROLLED=no ONBOOT=yes IPADDR=192.168.1.10 NETMASK=255.255.0.0 GATEWAY=192.168.12.25 TYPE=Ethernet BOOTPROTO=none IPV6INIT=no USERCTL=no --------------------------------------------------------------------------- '''Restart network service:''' [root@mdidhcpserver dhcp]# /etc/init.d/network restart [root@mdidhcpserver dhcp]# chkconfig network on [root@mdidhcpserver dhcp]# service NetworkManager stop [root@mdidhcpserver dhcp]# chkconfig NetworkManager off '''Flush the firewall rules:''' [root@mdidhcpserver dhcp]# iptables -F [root@mdidhcpserver dhcp]# service iptables stop [root@mdidhcpserver dhcp]# chkconfig iptables off --------------------------------------------------------------------------- '''Disable the selinux:''' [root@mdidhcpserver dhcp]# setenforce 0 '''Disable selinux from file:''' [root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux --------------------------------------------------------------------------- #This file controls the state of SELinux on the system. #SELINUX= can take one of these three values: #enforcing - SELinux security policy is enforced. #permissive - SELinux prints warnings instead of enforcing. #disabled - No SELinux policy is loaded. SELINUX=disabled #SELINUXTYPE= can take one of these two values: #targeted - Targeted processes are protected, #mls - Multi Level Security protection. SELINUXTYPE=targeted --------------------------------------------------------------------------- '''Install DHCP package''' rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)