<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brijesh</id>
	<title>TetraWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brijesh"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Special:Contributions/Brijesh"/>
	<updated>2026-07-25T06:39:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Daily_Backup_of_DHCP_Configuration_and_MAC_addresses_for_MDI_DHCP_Server&amp;diff=2282</id>
		<title>Daily Backup of DHCP Configuration and MAC addresses for MDI DHCP Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Daily_Backup_of_DHCP_Configuration_and_MAC_addresses_for_MDI_DHCP_Server&amp;diff=2282"/>
		<updated>2016-04-05T12:30:13Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
Daily Backup of DHCP server&#039;s configuration and MAC Binded addresses are backed up at &#039;&#039;&#039;/home/Dhcp_Backup&#039;&#039;&#039; directory via following script &#039;&#039;&#039;/dhcp_backup.sh&#039;&#039;&#039; . &lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver Dhcp_Backup]# cat /dhcp_backup.sh&lt;br /&gt;
 #!bin/bash&lt;br /&gt;
 find /home/Dhcp_Backup/mac_address_2016* -mtime +29 -exec rm {} \;&lt;br /&gt;
 find /home/Dhcp_Backup/dhcpd.conf_2016* -mtime +29 -exec rm {} \;&lt;br /&gt;
 tar -cvzf /home/Dhcp_Backup/mac_address_`date +%F_at_%H_%M`.tar.gz /mac_address&lt;br /&gt;
 tar -cvzf /home/Dhcp_Backup/dhcpd.conf_`date +%F_at_%H_%M`.tar.gz /etc/dhcp/dhcpd.conf&lt;br /&gt;
 echo&lt;br /&gt;
 echo backup has been completed on +%F_at_%H_%M.&lt;br /&gt;
&lt;br /&gt;
This script will generate daily backup file file with date and time .&lt;br /&gt;
&lt;br /&gt;
Cron has been implemented as shown below .&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# crontab -l&lt;br /&gt;
 59 23 * * * sh /dhcp_backup.sh &amp;gt;&amp;gt; /var/log/dhcp_backup.log&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Daily_Backup_of_DHCP_Configuration_and_MAC_addresses_for_MDI_DHCP_Server&amp;diff=2281</id>
		<title>Daily Backup of DHCP Configuration and MAC addresses for MDI DHCP Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Daily_Backup_of_DHCP_Configuration_and_MAC_addresses_for_MDI_DHCP_Server&amp;diff=2281"/>
		<updated>2016-04-05T12:05:19Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
Daily Backup of DHCP server&#039;s configuration and MAC Binded addresses are backed up at &#039;&#039;&#039;/home/Dhcp_Backup&#039;&#039;&#039; directory via following script &#039;&#039;&#039;/dhcp_backup.sh&#039;&#039;&#039; . &lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver Dhcp_Backup]# cat /dhcp_backup.sh&lt;br /&gt;
 #!bin/bash&lt;br /&gt;
 find /home/Dhcp_Backup/mac_address_2016* -mtime +29 -exec rm {} \;&lt;br /&gt;
 find /home/Dhcp_Backup/dhcpd.conf_2016* -mtime +29 -exec rm {} \;&lt;br /&gt;
 tar -cvzf /home/Dhcp_Backup/mac_address_`date +%F_at_%H_%M`.tar.gz /mac_address&lt;br /&gt;
 tar -cvzf /home/Dhcp_Backup/dhcpd.conf_`date +%F_at_%H_%M`.tar.gz /etc/dhcp/dhcpd.conf&lt;br /&gt;
 echo&lt;br /&gt;
 echo backup has been completed.&lt;br /&gt;
&lt;br /&gt;
This script will generate daily backup file file with date and time .&lt;br /&gt;
&lt;br /&gt;
Cron has been implemented as shown below .&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# crontab -l&lt;br /&gt;
 59 23 * * * sh /dhcp_backup.sh &amp;gt;&amp;gt; /var/log/dhcp_backup.log&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2196</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2196"/>
		<updated>2016-03-16T09:43:30Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : pipl?mdi161&lt;br /&gt;
&lt;br /&gt;
To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet):&lt;br /&gt;
&lt;br /&gt;
 tetra@tetra004:~$ ssh root@14.141.218.163&lt;br /&gt;
 root@14.141.218.163&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then access DHCP server from mail server:&lt;br /&gt;
&lt;br /&gt;
 [root@mailserver ~]# ssh root@192.168.1.10&lt;br /&gt;
 root@192.168.1.10&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 &lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 &lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 192.168.13.1 192.168.24.254;&lt;br /&gt;
  option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
  option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
  option routers 192.168.12.25;&lt;br /&gt;
  option broadcast-address 192.168.15.255;&lt;br /&gt;
  default-lease-time 864000;&lt;br /&gt;
  max-lease-time 1728000;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Fixed address&lt;br /&gt;
 host DESKTOP-NH2KCIO { hardware ethernet B6:86:87:B2:FD:EC ; fixed-address 192.168.17.228;}&lt;br /&gt;
 host DESKTOP-NH3KCIO { hardware ethernet B0:5A:DA:D6:9C:7D ; fixed-address 192.168.13.202;}&lt;br /&gt;
 host DESKTOP-NH1KCIO {hardware ethernet 44:8a:5b:72:53:b2 ; fixed-address 192.168.12.215;}&lt;br /&gt;
 host Tarun_mobile {hardware ethernet 98:0c:a5:18:bc:bd ;}&lt;br /&gt;
 deny unknown-clients;&lt;br /&gt;
 &lt;br /&gt;
 # Unknown clients get this pool.&lt;br /&gt;
 subnet 169.254.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  option domain-name-servers ns1.example.com, ns2.example.com;&lt;br /&gt;
  max-lease-time 300;&lt;br /&gt;
  range 169.254.0.1 169.254.255.254;&lt;br /&gt;
  allow unknown-clients;&lt;br /&gt;
 }&lt;br /&gt;
 include &amp;quot;/mac_address/NMP28_MAC_Responses.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/sap_2016.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/fpm_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Vendor.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Faculty_Staff_Hostel_LH_LAB.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PTPGPM.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Binding new MAC addresses.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# cd /mac_address&lt;br /&gt;
 [root@mdidhcpserver mac_address]# ls -l&lt;br /&gt;
 total 200&lt;br /&gt;
 -rw-r--r-- 1 root root 42211 Mar 16 14:06 Faculty_Staff_Hostel_LH_LAB.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  3236 Mar 16 12:24 fpm_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 17422 Mar 16 11:40 NMP28_MAC_Responses.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  6483 Mar  9 14:27 PGHR_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  9809 Mar  9 14:21 PGHR_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   867 Mar  9 11:08 PGPIM_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  1501 Mar  9 11:02 PGPIM_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 32881 Mar  8 15:56 PGPM_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 50847 Mar 16 13:45 PGPM_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  4616 Mar 16 13:22 PTPGPM.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   534 Mar  9 13:44 sap_2016.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   122 Mar 12 17:31 Vendor.txt&lt;br /&gt;
&lt;br /&gt;
For example if client requested to add MAC address in Faculty and Staff department&lt;br /&gt;
then open below file.&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver mac_address]# vim Faculty_Staff_Hostel_LH_LAB.txt&lt;br /&gt;
 &lt;br /&gt;
Make entry as below given formate.&lt;br /&gt;
&lt;br /&gt;
 host 110_Kamal_Kishore-1 {hardware ethernet 00:16:E6:F6:E8:B1 ;}&lt;br /&gt;
 host 111_Satya_Prakash-1 {hardware ethernet 00:16:E6:F6:BC:B7 ;}&lt;br /&gt;
 host 111_Satya_Prakash-2 {hardware ethernet 14:f6:5a:ff:68:19 ;}&lt;br /&gt;
 host 114_Ashok_Mishra-1 {hardware ethernet 00:16:E6:F6:BC:6E ;}&lt;br /&gt;
 host 115_Tika_Bahadur-1 {hardware ethernet 00:01:6c:9d:33:d0 ;}&lt;br /&gt;
 host 115_Tika_Bahadur-2 {hardware ethernet 78:45:C4:C3:DD:7C ;}&lt;br /&gt;
 host 115_Tika_Bahadur-3 {hardware ethernet 9C:2A:70:C5:F2:F5 ;}&lt;br /&gt;
 host 132_Charanjeet-4 {hardware ethernet 5C:F8:A1:97:11:D1 ;}&lt;br /&gt;
 host 132_Charanjeet-5 {hardware ethernet 08:bd:45:66:03:3e ;}&lt;br /&gt;
 host 135_Des_Raj-1 {hardware ethernet 8C:DC:D4:46:AF:9E ;}&lt;br /&gt;
 host 136_Ashish_Kumar_Bose-1 {hardware ethernet 00:16:E6:21:4D:32 ;}&lt;br /&gt;
 host 142_Lekh_Bahadur-1 {hardware ethernet 00:01:6C:9C:B1:12 ;}&lt;br /&gt;
 host 143_R_P_Paswan-1 {hardware ethernet 00:01:6C:9C:A4:A1 ;}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Duplicate entry will not be accepted you will get error while restarting dhcpd service. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Save file and restart dhcpd service:&#039;&#039;&#039;&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
  Shutting down dhcpd:                                       [  OK  ]&lt;br /&gt;
  Starting dhcpd:                                            [  OK  ]&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2195</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2195"/>
		<updated>2016-03-16T09:16:06Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : ghL@#W01GS&lt;br /&gt;
&lt;br /&gt;
To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet):&lt;br /&gt;
&lt;br /&gt;
 tetra@tetra004:~$ ssh root@14.141.218.163&lt;br /&gt;
 root@14.141.218.163&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then access DHCP server from mail server:&lt;br /&gt;
&lt;br /&gt;
 [root@mailserver ~]# ssh root@192.168.1.10&lt;br /&gt;
 root@192.168.1.10&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 &lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 &lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 192.168.13.1 192.168.24.254;&lt;br /&gt;
  option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
  option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
  option routers 192.168.12.25;&lt;br /&gt;
  option broadcast-address 192.168.15.255;&lt;br /&gt;
  default-lease-time 864000;&lt;br /&gt;
  max-lease-time 1728000;&lt;br /&gt;
 }&lt;br /&gt;
 host DESKTOP-NH2KCIO { hardware ethernet B6:86:87:B2:FD:EC ; fixed-address 192.168.17.228;}&lt;br /&gt;
 host DESKTOP-NH3KCIO { hardware ethernet B0:5A:DA:D6:9C:7D ; fixed-address 192.168.13.202;}&lt;br /&gt;
 host DESKTOP-NH1KCIO {hardware ethernet 44:8a:5b:72:53:b2 ; fixed-address 192.168.12.215;}&lt;br /&gt;
 host Tarun_mobile {hardware ethernet 98:0c:a5:18:bc:bd ;}&lt;br /&gt;
 deny unknown-clients;&lt;br /&gt;
 # Unknown clients get this pool.&lt;br /&gt;
 subnet 169.254.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  option domain-name-servers ns1.example.com, ns2.example.com;&lt;br /&gt;
  max-lease-time 300;&lt;br /&gt;
  range 169.254.0.1 169.254.255.254;&lt;br /&gt;
  allow unknown-clients;&lt;br /&gt;
 }&lt;br /&gt;
 include &amp;quot;/mac_address/NMP28_MAC_Responses.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/sap_2016.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/fpm_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Vendor.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Faculty_Staff_Hostel_LH_LAB.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PTPGPM.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bind new MAC address.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# cd /mac_address&lt;br /&gt;
 [root@mdidhcpserver mac_address]# ls -l&lt;br /&gt;
 total 200&lt;br /&gt;
 -rw-r--r-- 1 root root 42211 Mar 16 14:06 Faculty_Staff_Hostel_LH_LAB.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  3236 Mar 16 12:24 fpm_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 17422 Mar 16 11:40 NMP28_MAC_Responses.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  6483 Mar  9 14:27 PGHR_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  9809 Mar  9 14:21 PGHR_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   867 Mar  9 11:08 PGPIM_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  1501 Mar  9 11:02 PGPIM_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 32881 Mar  8 15:56 PGPM_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 50847 Mar 16 13:45 PGPM_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  4616 Mar 16 13:22 PTPGPM.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   534 Mar  9 13:44 sap_2016.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   122 Mar 12 17:31 Vendor.txt&lt;br /&gt;
&lt;br /&gt;
For example if client requested to add MAC address in Faculty and Staff department&lt;br /&gt;
then open below file and make entry as given formate.&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver mac_address]# vim Faculty_Staff_Hostel_LH_LAB.txt&lt;br /&gt;
 &lt;br /&gt;
 host 110_Kamal_Kishore-1 {hardware ethernet 00:16:E6:F6:E8:B1 ;}&lt;br /&gt;
 host 111_Satya_Prakash-1 {hardware ethernet 00:16:E6:F6:BC:B7 ;}&lt;br /&gt;
 host 111_Satya_Prakash-2 {hardware ethernet 14:f6:5a:ff:68:19 ;}&lt;br /&gt;
 host 114_Ashok_Mishra-1 {hardware ethernet 00:16:E6:F6:BC:6E ;}&lt;br /&gt;
 host 115_Tika_Bahadur-1 {hardware ethernet 00:01:6c:9d:33:d0 ;}&lt;br /&gt;
 host 115_Tika_Bahadur-2 {hardware ethernet 78:45:C4:C3:DD:7C ;}&lt;br /&gt;
 host 115_Tika_Bahadur-3 {hardware ethernet 9C:2A:70:C5:F2:F5 ;}&lt;br /&gt;
 host 132_Charanjeet-4 {hardware ethernet 5C:F8:A1:97:11:D1 ;}&lt;br /&gt;
 host 132_Charanjeet-5 {hardware ethernet 08:bd:45:66:03:3e ;}&lt;br /&gt;
 host 135_Des_Raj-1 {hardware ethernet 8C:DC:D4:46:AF:9E ;}&lt;br /&gt;
 host 136_Ashish_Kumar_Bose-1 {hardware ethernet 00:16:E6:21:4D:32 ;}&lt;br /&gt;
 host 142_Lekh_Bahadur-1 {hardware ethernet 00:01:6C:9C:B1:12 ;}&lt;br /&gt;
 host 143_R_P_Paswan-1 {hardware ethernet 00:01:6C:9C:A4:A1 ;}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Duplicate entry will not be accepted you will get error while restarting dhcpd service. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Save file and restart dhcpd service:&#039;&#039;&#039;&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2194</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2194"/>
		<updated>2016-03-16T09:12:07Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : ghL@#W01GS&lt;br /&gt;
&lt;br /&gt;
To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet):&lt;br /&gt;
&lt;br /&gt;
 tetra@tetra004:~$ ssh root@14.141.218.163&lt;br /&gt;
 root@14.141.218.163&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then access DHCP server from mail server:&lt;br /&gt;
&lt;br /&gt;
 [root@mailserver ~]# ssh root@192.168.1.10&lt;br /&gt;
 root@192.168.1.10&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 &lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 &lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 192.168.13.1 192.168.24.254;&lt;br /&gt;
  option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
  option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
  option routers 192.168.12.25;&lt;br /&gt;
  option broadcast-address 192.168.15.255;&lt;br /&gt;
  default-lease-time 864000;&lt;br /&gt;
  max-lease-time 1728000;&lt;br /&gt;
 }&lt;br /&gt;
 host DESKTOP-NH2KCIO { hardware ethernet B6:86:87:B2:FD:EC ; fixed-address 192.168.17.228;}&lt;br /&gt;
 host DESKTOP-NH3KCIO { hardware ethernet B0:5A:DA:D6:9C:7D ; fixed-address 192.168.13.202;}&lt;br /&gt;
 host DESKTOP-NH1KCIO {hardware ethernet 44:8a:5b:72:53:b2 ; fixed-address 192.168.12.215;}&lt;br /&gt;
 host Tarun_mobile {hardware ethernet 98:0c:a5:18:bc:bd ;}&lt;br /&gt;
 deny unknown-clients;&lt;br /&gt;
 # Unknown clients get this pool.&lt;br /&gt;
 subnet 169.254.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  option domain-name-servers ns1.example.com, ns2.example.com;&lt;br /&gt;
  max-lease-time 300;&lt;br /&gt;
  range 169.254.0.1 169.254.255.254;&lt;br /&gt;
  allow unknown-clients;&lt;br /&gt;
 }&lt;br /&gt;
 include &amp;quot;/mac_address/NMP28_MAC_Responses.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/sap_2016.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/fpm_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Vendor.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Faculty_Staff_Hostel_LH_LAB.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PTPGPM.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;br /&gt;
&lt;br /&gt;
Bind new MAC address.&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver mac_address]# cd&lt;br /&gt;
 [root@mdidhcpserver ~]# less /mac_address/Faculty_Staff_Hostel_LH_LAB.txt&lt;br /&gt;
 [root@mdidhcpserver ~]# cd /mac_address&lt;br /&gt;
 [root@mdidhcpserver mac_address]# ls -l&lt;br /&gt;
 total 200&lt;br /&gt;
 -rw-r--r-- 1 root root 42211 Mar 16 14:06 Faculty_Staff_Hostel_LH_LAB.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  3236 Mar 16 12:24 fpm_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 17422 Mar 16 11:40 NMP28_MAC_Responses.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  6483 Mar  9 14:27 PGHR_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  9809 Mar  9 14:21 PGHR_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   867 Mar  9 11:08 PGPIM_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  1501 Mar  9 11:02 PGPIM_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 32881 Mar  8 15:56 PGPM_2014.txt&lt;br /&gt;
 -rw-r--r-- 1 root root 50847 Mar 16 13:45 PGPM_2015.txt&lt;br /&gt;
 -rw-r--r-- 1 root root  4616 Mar 16 13:22 PTPGPM.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   534 Mar  9 13:44 sap_2016.txt&lt;br /&gt;
 -rw-r--r-- 1 root root   122 Mar 12 17:31 Vendor.txt&lt;br /&gt;
&lt;br /&gt;
For example if client requested to add MAC address in Faculty and Staff department&lt;br /&gt;
then open below file and make entry as given formate.&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver mac_address]# vim Faculty_Staff_Hostel_LH_LAB.txt&lt;br /&gt;
 host 110_Kamal_Kishore-1 {hardware ethernet 00:16:E6:F6:E8:B1 ;}&lt;br /&gt;
 host 111_Satya_Prakash-1 {hardware ethernet 00:16:E6:F6:BC:B7 ;}&lt;br /&gt;
 host 111_Satya_Prakash-2 {hardware ethernet 14:f6:5a:ff:68:19 ;}&lt;br /&gt;
 host 114_Ashok_Mishra-1 {hardware ethernet 00:16:E6:F6:BC:6E ;}&lt;br /&gt;
 host 115_Tika_Bahadur-1 {hardware ethernet 00:01:6c:9d:33:d0 ;}&lt;br /&gt;
 host 115_Tika_Bahadur-2 {hardware ethernet 78:45:C4:C3:DD:7C ;}&lt;br /&gt;
 host 115_Tika_Bahadur-3 {hardware ethernet 9C:2A:70:C5:F2:F5 ;}&lt;br /&gt;
 host 132_Charanjeet-4 {hardware ethernet 5C:F8:A1:97:11:D1 ;}&lt;br /&gt;
 host 132_Charanjeet-5 {hardware ethernet 08:bd:45:66:03:3e ;}&lt;br /&gt;
 host 135_Des_Raj-1 {hardware ethernet 8C:DC:D4:46:AF:9E ;}&lt;br /&gt;
 host 136_Ashish_Kumar_Bose-1 {hardware ethernet 00:16:E6:21:4D:32 ;}&lt;br /&gt;
 host 142_Lekh_Bahadur-1 {hardware ethernet 00:01:6C:9C:B1:12 ;}&lt;br /&gt;
 host 143_R_P_Paswan-1 {hardware ethernet 00:01:6C:9C:A4:A1 ;}&lt;br /&gt;
&lt;br /&gt;
Note: Duplicate entry will not be accepted you will get error while restarting dhcpd service. &lt;br /&gt;
&lt;br /&gt;
Restart dhcpd service:&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2193</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2193"/>
		<updated>2016-03-16T08:21:19Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : ghL@#W01GS&lt;br /&gt;
&lt;br /&gt;
To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet):&lt;br /&gt;
&lt;br /&gt;
 tetra@tetra004:~$ ssh root@14.141.218.163&lt;br /&gt;
 root@14.141.218.163&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then access DHCP server from mail server:&lt;br /&gt;
&lt;br /&gt;
 [root@mailserver ~]# ssh root@192.168.1.10&lt;br /&gt;
 root@192.168.1.10&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 &lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 &lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 192.168.13.1 192.168.24.254;&lt;br /&gt;
  option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
  option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
  option routers 192.168.12.25;&lt;br /&gt;
  option broadcast-address 192.168.15.255;&lt;br /&gt;
  default-lease-time 864000;&lt;br /&gt;
  max-lease-time 1728000;&lt;br /&gt;
 }&lt;br /&gt;
 host DESKTOP-NH2KCIO { hardware ethernet B6:86:87:B2:FD:EC ; fixed-address 192.168.17.228;}&lt;br /&gt;
 host DESKTOP-NH3KCIO { hardware ethernet B0:5A:DA:D6:9C:7D ; fixed-address 192.168.13.202;}&lt;br /&gt;
 host DESKTOP-NH1KCIO {hardware ethernet 44:8a:5b:72:53:b2 ; fixed-address 192.168.12.215;}&lt;br /&gt;
 host Tarun_mobile {hardware ethernet 98:0c:a5:18:bc:bd ;}&lt;br /&gt;
 deny unknown-clients;&lt;br /&gt;
 # Unknown clients get this pool.&lt;br /&gt;
 subnet 169.254.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  option domain-name-servers ns1.example.com, ns2.example.com;&lt;br /&gt;
  max-lease-time 300;&lt;br /&gt;
  range 169.254.0.1 169.254.255.254;&lt;br /&gt;
  allow unknown-clients;&lt;br /&gt;
 }&lt;br /&gt;
 include &amp;quot;/mac_address/NMP28_MAC_Responses.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/sap_2016.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/fpm_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Vendor.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Faculty_Staff_Hostel_LH_LAB.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PTPGPM.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2192</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2192"/>
		<updated>2016-03-16T08:18:26Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : ghL@#W01GS&lt;br /&gt;
&lt;br /&gt;
To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet):&lt;br /&gt;
&lt;br /&gt;
 tetra@tetra004:~$ ssh root@14.141.218.163&lt;br /&gt;
 root@14.141.218.163&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then access DHCP server from mail server:&lt;br /&gt;
&lt;br /&gt;
 [root@mailserver ~]# ssh root@192.168.1.10&lt;br /&gt;
 root@192.168.1.10&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 &lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 &lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 192.168.13.1 192.168.24.254;&lt;br /&gt;
  option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
  option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
  option routers 192.168.12.25;&lt;br /&gt;
  option broadcast-address 192.168.15.255;&lt;br /&gt;
  default-lease-time 864000;&lt;br /&gt;
  max-lease-time 1728000;&lt;br /&gt;
 }&lt;br /&gt;
 #host DESKTOP-NH1KCIO {&lt;br /&gt;
 #  hardware ethernet 44:8a:5b:72:53:b2;&lt;br /&gt;
 #  fixed-address 192.168.12.215;&lt;br /&gt;
 #}&lt;br /&gt;
 host DESKTOP-NH2KCIO { hardware ethernet B6:86:87:B2:FD:EC ; fixed-address 192.168.17.228;}&lt;br /&gt;
 host DESKTOP-NH3KCIO { hardware ethernet B0:5A:DA:D6:9C:7D ; fixed-address 192.168.13.202;}&lt;br /&gt;
 host DESKTOP-NH1KCIO {hardware ethernet 44:8a:5b:72:53:b2 ; fixed-address 192.168.12.215;}&lt;br /&gt;
 host Tarun_mobile {hardware ethernet 98:0c:a5:18:bc:bd ;}&lt;br /&gt;
 deny unknown-clients;&lt;br /&gt;
 # Unknown clients get this pool.&lt;br /&gt;
 subnet 169.254.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  option domain-name-servers ns1.example.com, ns2.example.com;&lt;br /&gt;
  max-lease-time 300;&lt;br /&gt;
  range 169.254.0.1 169.254.255.254;&lt;br /&gt;
  allow unknown-clients;&lt;br /&gt;
 }&lt;br /&gt;
 include &amp;quot;/mac_address/NMP28_MAC_Responses.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/sap_2016.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/fpm_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Vendor.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Faculty_Staff_Hostel_LH_LAB.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PTPGPM.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2191</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2191"/>
		<updated>2016-03-16T08:16:12Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : ghL@#W01GS&lt;br /&gt;
&lt;br /&gt;
To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet):&lt;br /&gt;
&lt;br /&gt;
 tetra@tetra004:~$ ssh root@14.141.218.163&lt;br /&gt;
 root@14.141.218.163&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then access DHCP server from mail server:&lt;br /&gt;
&lt;br /&gt;
 [root@mailserver ~]# ssh root@192.168.1.10&lt;br /&gt;
 root@192.168.1.10&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 &lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 &lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 192.168.13.1 192.168.24.254;&lt;br /&gt;
  option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
  option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
  option routers 192.168.12.25;&lt;br /&gt;
  option broadcast-address 192.168.15.255;&lt;br /&gt;
  default-lease-time 864000;&lt;br /&gt;
  max-lease-time 1728000;&lt;br /&gt;
 }&lt;br /&gt;
 #host DESKTOP-NH1KCIO {&lt;br /&gt;
 #  hardware ethernet 44:8a:5b:72:53:b2;&lt;br /&gt;
 #  fixed-address 192.168.12.215;&lt;br /&gt;
 #}&lt;br /&gt;
 host DESKTOP-NH2KCIO { hardware ethernet B6:86:87:B2:FD:EC ; fixed-address 192.168.17.228;}&lt;br /&gt;
 host DESKTOP-NH3KCIO { hardware ethernet B0:5A:DA:D6:9C:7D ; fixed-address 192.168.13.202;}&lt;br /&gt;
 host DESKTOP-NH1KCIO {hardware ethernet 44:8a:5b:72:53:b2 ; fixed-address 192.168.12.215;}&lt;br /&gt;
 host Tarun_mobile {hardware ethernet 98:0c:a5:18:bc:bd ;}&lt;br /&gt;
 deny unknown-clients;&lt;br /&gt;
&lt;br /&gt;
 # Unknown clients get this pool.&lt;br /&gt;
 subnet 169.254.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  option domain-name-servers ns1.example.com, ns2.example.com;&lt;br /&gt;
  max-lease-time 300;&lt;br /&gt;
  range 169.254.0.1 169.254.255.254;&lt;br /&gt;
  allow unknown-clients;&lt;br /&gt;
 }&lt;br /&gt;
 include &amp;quot;/mac_address/NMP28_MAC_Responses.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/sap_2016.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/fpm_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Vendor.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Faculty_Staff_Hostel_LH_LAB.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PTPGPM.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2190</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2190"/>
		<updated>2016-03-16T08:13:34Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : ghL@#W01GS&lt;br /&gt;
&lt;br /&gt;
To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet):&lt;br /&gt;
&lt;br /&gt;
 tetra@tetra004:~$ ssh root@14.141.218.163&lt;br /&gt;
 root@14.141.218.163&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then access DHCP server from mail server:&lt;br /&gt;
&lt;br /&gt;
 [root@mailserver ~]# ssh root@192.168.1.10&lt;br /&gt;
 root@192.168.1.10&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 &lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 &lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 192.168.13.1 192.168.24.254;&lt;br /&gt;
  option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
  option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
  option routers 192.168.12.25;&lt;br /&gt;
  option broadcast-address 192.168.15.255;&lt;br /&gt;
  default-lease-time 864000;&lt;br /&gt;
  max-lease-time 1728000;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 #host DESKTOP-NH1KCIO {&lt;br /&gt;
 #  hardware ethernet 44:8a:5b:72:53:b2;&lt;br /&gt;
 #  fixed-address 192.168.12.215;&lt;br /&gt;
 #}&lt;br /&gt;
 host DESKTOP-NH2KCIO { hardware ethernet B6:86:87:B2:FD:EC ; fixed-address 192.168.17.228;}&lt;br /&gt;
 host DESKTOP-NH3KCIO { hardware ethernet B0:5A:DA:D6:9C:7D ; fixed-address 192.168.13.202;}&lt;br /&gt;
 host DESKTOP-NH1KCIO {hardware ethernet 44:8a:5b:72:53:b2 ; fixed-address 192.168.12.215;}&lt;br /&gt;
 host Tarun_mobile {hardware ethernet 98:0c:a5:18:bc:bd ;}&lt;br /&gt;
&lt;br /&gt;
 deny unknown-clients;&lt;br /&gt;
&lt;br /&gt;
 # Unknown clients get this pool.&lt;br /&gt;
 subnet 169.254.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  option domain-name-servers ns1.example.com, ns2.example.com;&lt;br /&gt;
  max-lease-time 300;&lt;br /&gt;
  range 169.254.0.1 169.254.255.254;&lt;br /&gt;
  allow unknown-clients;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 include &amp;quot;/mac_address/NMP28_MAC_Responses.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGPIM_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/sap_2016.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/fpm_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Vendor.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2015.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PGHR_2014.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/Faculty_Staff_Hostel_LH_LAB.txt&amp;quot;;&lt;br /&gt;
 include &amp;quot;/mac_address/PTPGPM.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Zimbra_Enabling_Subject_Line_In_logs&amp;diff=2182</id>
		<title>Zimbra Enabling Subject Line In logs</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Zimbra_Enabling_Subject_Line_In_logs&amp;diff=2182"/>
		<updated>2016-02-22T15:05:43Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: Created page with &amp;quot;Category:Zimbra category:Triburg  &amp;#039;&amp;#039;&amp;#039;Adding Subject Information on the log&amp;#039;&amp;#039;&amp;#039;  If we want to see subject information in zimbra.logs then we can follow below steps:   L...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Zimbra]]&lt;br /&gt;
[[category:Triburg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adding Subject Information on the log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If we want to see subject information in zimbra.logs then we can follow below steps: &lt;br /&gt;
&lt;br /&gt;
Logged in with zimbra user:&lt;br /&gt;
 [root@mail ~]# su - zimbra&lt;br /&gt;
&lt;br /&gt;
Run below commands to check current staus you will get below output:&lt;br /&gt;
 [zimbra@mail ~]$ zmlocalconfig | grep header_checks&lt;br /&gt;
  postfix_header_checks = pcre:${zimbra_home}/conf/postfix_header_checks&lt;br /&gt;
 &lt;br /&gt;
 [zimbra@mail ~]$ postconf | grep header_checks&lt;br /&gt;
 header_checks = &lt;br /&gt;
 lmtp_header_checks = &lt;br /&gt;
 lmtp_mime_header_checks = &lt;br /&gt;
 lmtp_nested_header_checks = &lt;br /&gt;
 mime_header_checks = $header_checks&lt;br /&gt;
 nested_header_checks = $header_checks&lt;br /&gt;
 smtp_header_checks = &lt;br /&gt;
 smtp_mime_header_checks = &lt;br /&gt;
 smtp_nested_header_checks = &lt;br /&gt;
&lt;br /&gt;
Now create a file:&lt;br /&gt;
 [zimbra@mail ~]$ vim /opt/zimbra/conf/custom_header_checks&lt;br /&gt;
Add below line in this file:&lt;br /&gt;
 /^subject:/ WARN&lt;br /&gt;
 &#039;&#039;&#039;Note:&#039;&#039;&#039; We can add our own header_checks in this file.&lt;br /&gt;
&lt;br /&gt;
Then run below commands:&lt;br /&gt;
&lt;br /&gt;
 [zimbra@mail ~]$ zmlocalconfig -e postfix_header_checks=&amp;quot;pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks&amp;quot;&lt;br /&gt;
 [zimbra@mail ~]$ zmmtactl restart&lt;br /&gt;
 Rewriting configuration files...done.&lt;br /&gt;
 Stopping zmmtaconfig...done.&lt;br /&gt;
 Starting zmmtaconfig...done.&lt;br /&gt;
 postfix/postfix-script: refreshing the Postfix mail system&lt;br /&gt;
 Stopping saslauthd...done.&lt;br /&gt;
 Starting saslauthd...done.&lt;br /&gt;
&lt;br /&gt;
Now run again below commands to check configuration: &lt;br /&gt;
&lt;br /&gt;
 [zimbra@mail ~]$ zmlocalconfig | grep postfix_header_checks&lt;br /&gt;
 postfix_header_checks = pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks&lt;br /&gt;
 [zimbra@mail ~]$ postconf | grep header_checks&lt;br /&gt;
 header_checks = pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks&lt;br /&gt;
 lmtp_header_checks = &lt;br /&gt;
 lmtp_mime_header_checks = &lt;br /&gt;
 lmtp_nested_header_checks = &lt;br /&gt;
 mime_header_checks = $header_checks&lt;br /&gt;
 nested_header_checks = $header_checks&lt;br /&gt;
 smtp_header_checks = &lt;br /&gt;
 smtp_mime_header_checks = &lt;br /&gt;
 smtp_nested_header_checks = &lt;br /&gt;
&lt;br /&gt;
Run below command and restart the mta service:&lt;br /&gt;
 [zimbra@mail ~]$ zmprov mcf zimbraMtaBlockedExtensionWarnRecipient FALSE&lt;br /&gt;
 [zimbra@mail ~]$ zmmtactl restart&lt;br /&gt;
 Rewriting configuration files...done.&lt;br /&gt;
 Stopping zmmtaconfig...done.&lt;br /&gt;
 Starting zmmtaconfig...done.&lt;br /&gt;
 postfix/postfix-script: refreshing the Postfix mail system&lt;br /&gt;
 Stopping saslauthd...done.&lt;br /&gt;
 Starting saslauthd...done.&lt;br /&gt;
&lt;br /&gt;
Ref_Link : [https://wiki.zimbra.com/wiki/King0770-Notes-Header-Checks]&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2175</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2175"/>
		<updated>2016-01-08T14:06:28Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : ghL@#W01GS&lt;br /&gt;
&lt;br /&gt;
To access DHCP server logged in on MDI mail server with public IP (credential is on login sheet):&lt;br /&gt;
&lt;br /&gt;
 tetra@tetra004:~$ ssh root@14.141.218.163&lt;br /&gt;
 root@14.141.218.163&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then access DHCP server from mail server:&lt;br /&gt;
&lt;br /&gt;
 [root@mailserver ~]# ssh root@192.168.1.10&lt;br /&gt;
 root@192.168.1.10&#039;s password: &amp;quot;Type password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
 range 192.168.13.1 192.168.22.254;&lt;br /&gt;
 option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
 option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
 option routers 192.168.12.25;&lt;br /&gt;
 option broadcast-address 192.168.15.255;&lt;br /&gt;
 default-lease-time 43200;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 }&lt;br /&gt;
 #MAC binding for host&lt;br /&gt;
 host DESKTOP-NH1KCIO {&lt;br /&gt;
 hardware ethernet 44:8a:5b:72:53:b2;&lt;br /&gt;
 fixed-address 192.168.12.215;&lt;br /&gt;
 #  filename &amp;quot;vmunix.passacaglia&amp;quot;;&lt;br /&gt;
 #  server-name &amp;quot;toccata.fugue.com&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2174</id>
		<title>MDI DHCP Server Implementation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=MDI_DHCP_Server_Implementation&amp;diff=2174"/>
		<updated>2016-01-08T06:50:11Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: Created page with &amp;quot;category:MDI  &amp;#039;&amp;#039;&amp;#039;MDI DHCP Server Implementation&amp;#039;&amp;#039;&amp;#039;:  OS Version RHEL 6.1 (x86_64)  ROOT Password : ghL@#W01GS -------------------------------------------------------------...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:MDI]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;MDI DHCP Server Implementation&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
OS Version RHEL 6.1 (x86_64)&lt;br /&gt;
&lt;br /&gt;
ROOT Password : ghL@#W01GS&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Set the hostname&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
 NETWORKING=yes&lt;br /&gt;
 HOSTNAME=mdidhcpserver&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0&lt;br /&gt;
 HWADDR=ec:b1:d7:3c:10:07&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 IPADDR=192.168.1.10&lt;br /&gt;
 NETMASK=255.255.0.0&lt;br /&gt;
 GATEWAY=192.168.12.25&lt;br /&gt;
 TYPE=Ethernet&lt;br /&gt;
 BOOTPROTO=none&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 USERCTL=no&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart network service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/network restart&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig network on&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service NetworkManager stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig NetworkManager off&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flush the firewall rules:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# iptables -F&lt;br /&gt;
 [root@mdidhcpserver dhcp]# service iptables stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig iptables off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable the selinux:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# setenforce 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable selinux from file:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/sysconfig/selinux &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
  #This file controls the state of SELinux on the system.&lt;br /&gt;
  #SELINUX= can take one of these three values:&lt;br /&gt;
  #enforcing - SELinux security policy is enforced.&lt;br /&gt;
  #permissive - SELinux prints warnings instead of enforcing.&lt;br /&gt;
  #disabled - No SELinux policy is loaded.&lt;br /&gt;
 SELINUX=disabled&lt;br /&gt;
  #SELINUXTYPE= can take one of these two values:&lt;br /&gt;
  #targeted - Targeted processes are protected,&lt;br /&gt;
  #mls - Multi Level Security protection.&lt;br /&gt;
 SELINUXTYPE=targeted &lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Install DHCP package&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuring DHCP Server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Edit configuration file and make below entries&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver dhcp]# vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 # DHCP Server Configuration file.&lt;br /&gt;
 #   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
 #   see &#039;man 5 dhcpd.conf&#039;&lt;br /&gt;
 log-facility local5;&lt;br /&gt;
 authoritative;&lt;br /&gt;
 subnet 192.168.0.0 netmask 255.255.0.0 {&lt;br /&gt;
 range 192.168.13.1 192.168.22.254;&lt;br /&gt;
 option domain-name-servers 192.168.10.83, 192.168.12.25;&lt;br /&gt;
 option domain-name &amp;quot;mdi.ac.in&amp;quot;;&lt;br /&gt;
 option routers 192.168.12.25;&lt;br /&gt;
 option broadcast-address 192.168.15.255;&lt;br /&gt;
 default-lease-time 43200;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 }&lt;br /&gt;
 #MAC binding for host&lt;br /&gt;
 host DESKTOP-NH1KCIO {&lt;br /&gt;
 hardware ethernet 44:8a:5b:72:53:b2;&lt;br /&gt;
 fixed-address 192.168.12.215;&lt;br /&gt;
 #  filename &amp;quot;vmunix.passacaglia&amp;quot;;&lt;br /&gt;
 #  server-name &amp;quot;toccata.fugue.com&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Assign the network interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/sysconfig/dhcpd&lt;br /&gt;
&lt;br /&gt;
Make below entry:&lt;br /&gt;
 DHCPDARGS=eth0&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;After configuration Restart DHCP Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/dhcpd restart&lt;br /&gt;
 [root@mdidhcpserver ~]# chkconfig dhcpd on&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Disable dhcpd6 service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver dhcp]# /etc/init.d/dhcpd6 stop&lt;br /&gt;
 [root@mdidhcpserver dhcp]# chkconfig dhcpd6 off&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Enabling log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mdidhcpserver ~]# vim /etc/rsyslog.conf&lt;br /&gt;
&lt;br /&gt;
Make below entry in rsyslog.conf file&lt;br /&gt;
&lt;br /&gt;
 # Save DHCP log&lt;br /&gt;
 local5.*                                                    /var/log/dhcpd.log&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&#039;&#039;&#039;Restart rsyslog service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog status&lt;br /&gt;
 rsyslogd (pid  1349) is running...&lt;br /&gt;
 [root@mdidhcpserver ~]# /etc/init.d/rsyslog restart&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Zimbra_Enable_mail_bounce_for_quota_accounts&amp;diff=2173</id>
		<title>Zimbra Enable mail bounce for quota accounts</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Zimbra_Enable_mail_bounce_for_quota_accounts&amp;diff=2173"/>
		<updated>2016-01-04T11:45:33Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Heromotocorp Biz]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Logged in as zimbra user&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mail ~]# su - zimbra&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check the current status:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFailureWhenOverQuota&lt;br /&gt;
&lt;br /&gt;
zimbraLmtpPermanentFailureWhenOverQuota: FALSE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run below command to enable:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov mcf zimbraLmtpPermanentFailureWhenOverQuota TRUE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run again below command to check the status:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFailureWhenOverQuota&lt;br /&gt;
&lt;br /&gt;
zimbraLmtpPermanentFailureWhenOverQuota: TRUE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart mta service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmmtactl stop&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmmtactl start&lt;br /&gt;
&lt;br /&gt;
Refelink: http://community.zimbra.com/collaboration/f/1886/t/1137424&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Zimbra_Enable_mail_bounce_for_quota_accounts&amp;diff=2172</id>
		<title>Zimbra Enable mail bounce for quota accounts</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Zimbra_Enable_mail_bounce_for_quota_accounts&amp;diff=2172"/>
		<updated>2016-01-04T11:38:23Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Heromotocorp Biz]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Logged in as zimbra user&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mail ~]# su - zimbra&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check the current status:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFailureWhenOverQuota&lt;br /&gt;
&lt;br /&gt;
zimbraLmtpPermanentFailureWhenOverQuota: FALSE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run below command to enable:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov mcf zimbraLmtpPermanentFailureWhenOverQuota TRUE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run again below command to check the status:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFailureWhenOverQuota&lt;br /&gt;
&lt;br /&gt;
zimbraLmtpPermanentFailureWhenOverQuota: TRUE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart mta service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmmtactl restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Refelink: http://community.zimbra.com/collaboration/f/1886/t/1137424&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Zimbra_Enable_mail_bounce_for_quota_accounts&amp;diff=2171</id>
		<title>Zimbra Enable mail bounce for quota accounts</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Zimbra_Enable_mail_bounce_for_quota_accounts&amp;diff=2171"/>
		<updated>2016-01-04T11:37:31Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Heromotocorp Biz]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Logged in as zimbra user&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mail ~]# su - zimbra&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check the current status:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFailureWhenOverQuota&lt;br /&gt;
&lt;br /&gt;
zimbraLmtpPermanentFailureWhenOverQuota: FALSE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run below command to enable:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov mcf zimbraLmtpPermanentFailureWhenOverQuota TRUE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run again below command to check the status:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFailureWhenOverQuota&lt;br /&gt;
&lt;br /&gt;
zimbraLmtpPermanentFailureWhenOverQuota: TRUE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart mta service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmmtactl restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Refelink: http://community.zimbra.com/collaboration/f/1886/t/1137424&lt;br /&gt;
[http://community.zimbra.com/collaboration/f/1886/t/1137424]&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Zimbra_Enable_mail_bounce_for_quota_accounts&amp;diff=2170</id>
		<title>Zimbra Enable mail bounce for quota accounts</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Zimbra_Enable_mail_bounce_for_quota_accounts&amp;diff=2170"/>
		<updated>2016-01-04T11:29:02Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: Created page with &amp;quot;category:Heromotocorp Biz  &amp;#039;&amp;#039;&amp;#039;Logged in as zimbra user&amp;#039;&amp;#039;&amp;#039;  [root@mail ~]# su - zimbra  &amp;#039;&amp;#039;&amp;#039;Check the current status:&amp;#039;&amp;#039;&amp;#039;  [zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFai...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Heromotocorp Biz]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Logged in as zimbra user&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[root@mail ~]# su - zimbra&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Check the current status:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFailureWhenOverQuota&lt;br /&gt;
&lt;br /&gt;
zimbraLmtpPermanentFailureWhenOverQuota: FALSE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run below command to enable:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov mcf zimbraLmtpPermanentFailureWhenOverQuota TRUE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run again below command to check the status:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmprov gacf zimbraLmtpPermanentFailureWhenOverQuota&lt;br /&gt;
&lt;br /&gt;
zimbraLmtpPermanentFailureWhenOverQuota: TRUE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart mta service:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[zimbra@mail ~]$ zmmtactl restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://community.zimbra.com/collaboration/f/1886/t/1137424]&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2168</id>
		<title>Qmailbasic component</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2168"/>
		<updated>2015-12-30T11:10:36Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Training‏‎]]&lt;br /&gt;
&lt;br /&gt;
                                        &#039;&#039;&#039;QMAIL&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. What is Qmail and why should I use it?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  Qmail is a secure, reliable, efficient, simple mail transfer agent. It is meant as a replacement for the entire sendmail-binmail system on typical Internet-connected UNIX hosts.&lt;br /&gt;
&lt;br /&gt;
It offers POP3, and IMAP (with the help of Courier-IMAP) so that you can use any mail client you prefer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. Component of Qmail ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  1. pop&lt;br /&gt;
&lt;br /&gt;
2.  Curior Imap&lt;br /&gt;
&lt;br /&gt;
3.  Ldap (vmail)&lt;br /&gt;
&lt;br /&gt;
4.  Vpop mail&lt;br /&gt;
&lt;br /&gt;
5.   qmail scanner&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;POP==&amp;gt;&#039;&#039;&#039;  A qmail POP3 service handles incomming POP3 connections. It runs qmail-popup under tcpserver, uses a password checker such as checkpassword to do authentication, uses qmail-pop3d to handle POP3 transactions, and uses multilog to store log messages. Both tcpserver and multilog are supervised. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CURIOR IMAP==&amp;gt;&#039;&#039;&#039;  A server that provides IMAP access to Maildir mailboxes. This IMAP server does NOT handle traditional mailbox files (/var/spool/mail, and derivatives), it was written for the specific purpose of providing IMAP access to maildirs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;LDAP (VMAIL)==&amp;gt;&#039;&#039;&#039; LDAP means Lightweight Directory Access Protocol,  LDAP is a way to make certain kinds of information available across a network. In this setup the information is user logins - their passwords, user IDs, and various details. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VPOP MAIL==&amp;gt;&#039;&#039;&#039;  vpopmail is a set of API that manages virtual user accounts on a qmail system, and handles delivery for these virtual users. The command-line utilities, and Qmailadmin all use the vpopmail API, provided by the vpopmail library to manage the system. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;QMAIL SCANNER==&amp;gt;&#039;&#039;&#039; &amp;quot;Qmail-Scanner is an addon that enables a qmail email server to scan all gateway-ed email for certain characteristics (i.e. a content scanner). It is typically used for its anti-virus protection functions, in which case it is used in conjunction with commercial virus scanners, but also enables a site (at a server/site level) to react to email that contains specific strings in particular headers, or particular attachment filenames or types (e.g. *.VBS attachments). It also can be used as an archiving tool for auditing or backup purposes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. How to manage qmail with GUI ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Basic_Service_department_process&amp;diff=2167</id>
		<title>Basic Service department process</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Basic_Service_department_process&amp;diff=2167"/>
		<updated>2015-12-30T11:10:09Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Training‏‎]]&lt;br /&gt;
&lt;br /&gt;
                          &#039;&#039;&#039;Service Department Process&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. What is Service Department Process?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Service Department process is a very essential part for the Organization when it comes to Delivering the service and products of the organization to the customers or clients. It helps the employees of the organization to respond the customers in the best discipline way as per the process defined by the organization. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q.&#039;&#039;&#039; What are the tools that are used in Tetra to follow up with their clients and give them response ? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; In Tetra we use Zimbra (Helpdesk)  where we receive the mail of the clients and it generates a ticket regarding the issue of the clients. Once the problem is solve the response is given back to the client through OTRS (Open-source Ticket Request System ) and ticket is closed successful.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. How many types of Customers/Clients do Tetra have ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Tetra has categorized their customers into 3 types: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; Standard Client&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Premium Client&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Gold Client &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. Types of Severity Calls ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; There are 3 types of severity calls :&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; Severity Call 1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Severity call 2&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Severity call 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 1 :&#039;&#039;&#039; Severity call 1 can be define a process where more than 40 % of end users using our services get affected. The reason can be many things that why the service is not running, it might be due to the system crash due to which the services stop while running. One of the other reason can also be the use of software  which is impacted so heavily that the work cannot continue. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 2 :&#039;&#039;&#039; In severity call 2 more than 2 % but less than 40 % end users are affected. In this the services might be running but however the features along with the services is seriously hampered. For example : The client is able to send and receive mails but not able to attach the file along with the mail. SO in this case the service is running but the feature along with the service is not functioning properly. However to solve the problem the Escalation time should be 2-3 hours in case of Gold Customer and 3 – 5 hours if it is a Standard Customer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 3 :&#039;&#039;&#039; In severity call 3 the issue is affected  by 1-2 % of end users only. In this case basic service might get affected. And the Escalation Time should be 5-7 hours if it is a standard customer and 3-4 hours if it is a Gold Customer.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Q. Process of Handling the calls ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Gold Customer or critical client :&lt;br /&gt;
&lt;br /&gt;
If a call comes under Severity call 2 – 3 then it is handle by L2 and if it is Severity call 1 it will be handle by L3.&lt;br /&gt;
&lt;br /&gt;
Tetra Customer / Less Critical then Gold Customer :&lt;br /&gt;
&lt;br /&gt;
If the call is Severity call 2 -3 it will be handle by the Trainee or by the L1 employee. And in case of Severity call 1 it will be handle by L2 level employee.&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2166</id>
		<title>Qmailbasic component</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2166"/>
		<updated>2015-12-30T09:15:39Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
[[Category:Qmail]]&lt;br /&gt;
&lt;br /&gt;
                                        &#039;&#039;&#039;QMAIL&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. What is Qmail and why should I use it?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  Qmail is a secure, reliable, efficient, simple mail transfer agent. It is meant as a replacement for the entire sendmail-binmail system on typical Internet-connected UNIX hosts.&lt;br /&gt;
&lt;br /&gt;
It offers POP3, and IMAP (with the help of Courier-IMAP) so that you can use any mail client you prefer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. Component of Qmail ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  1. pop&lt;br /&gt;
&lt;br /&gt;
2.  Curior Imap&lt;br /&gt;
&lt;br /&gt;
3.  Ldap (vmail)&lt;br /&gt;
&lt;br /&gt;
4.  Vpop mail&lt;br /&gt;
&lt;br /&gt;
5.   qmail scanner&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;POP==&amp;gt;&#039;&#039;&#039;  A qmail POP3 service handles incomming POP3 connections. It runs qmail-popup under tcpserver, uses a password checker such as checkpassword to do authentication, uses qmail-pop3d to handle POP3 transactions, and uses multilog to store log messages. Both tcpserver and multilog are supervised. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CURIOR IMAP==&amp;gt;&#039;&#039;&#039;  A server that provides IMAP access to Maildir mailboxes. This IMAP server does NOT handle traditional mailbox files (/var/spool/mail, and derivatives), it was written for the specific purpose of providing IMAP access to maildirs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;LDAP (VMAIL)==&amp;gt;&#039;&#039;&#039; LDAP means Lightweight Directory Access Protocol,  LDAP is a way to make certain kinds of information available across a network. In this setup the information is user logins - their passwords, user IDs, and various details. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VPOP MAIL==&amp;gt;&#039;&#039;&#039;  vpopmail is a set of API that manages virtual user accounts on a qmail system, and handles delivery for these virtual users. The command-line utilities, and Qmailadmin all use the vpopmail API, provided by the vpopmail library to manage the system. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;QMAIL SCANNER==&amp;gt;&#039;&#039;&#039; &amp;quot;Qmail-Scanner is an addon that enables a qmail email server to scan all gateway-ed email for certain characteristics (i.e. a content scanner). It is typically used for its anti-virus protection functions, in which case it is used in conjunction with commercial virus scanners, but also enables a site (at a server/site level) to react to email that contains specific strings in particular headers, or particular attachment filenames or types (e.g. *.VBS attachments). It also can be used as an archiving tool for auditing or backup purposes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. How to manage qmail with GUI ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Basic_Service_department_process&amp;diff=2165</id>
		<title>Basic Service department process</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Basic_Service_department_process&amp;diff=2165"/>
		<updated>2015-12-30T09:10:13Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Tetra Support Process‏‎]]&lt;br /&gt;
&lt;br /&gt;
                          &#039;&#039;&#039;Service Department Process&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. What is Service Department Process?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Service Department process is a very essential part for the Organization when it comes to Delivering the service and products of the organization to the customers or clients. It helps the employees of the organization to respond the customers in the best discipline way as per the process defined by the organization. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q.&#039;&#039;&#039; What are the tools that are used in Tetra to follow up with their clients and give them response ? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; In Tetra we use Zimbra (Helpdesk)  where we receive the mail of the clients and it generates a ticket regarding the issue of the clients. Once the problem is solve the response is given back to the client through OTRS (Open-source Ticket Request System ) and ticket is closed successful.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. How many types of Customers/Clients do Tetra have ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Tetra has categorized their customers into 3 types: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; Standard Client&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Premium Client&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Gold Client &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. Types of Severity Calls ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; There are 3 types of severity calls :&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; Severity Call 1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Severity call 2&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Severity call 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 1 :&#039;&#039;&#039; Severity call 1 can be define a process where more than 40 % of end users using our services get affected. The reason can be many things that why the service is not running, it might be due to the system crash due to which the services stop while running. One of the other reason can also be the use of software  which is impacted so heavily that the work cannot continue. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 2 :&#039;&#039;&#039; In severity call 2 more than 2 % but less than 40 % end users are affected. In this the services might be running but however the features along with the services is seriously hampered. For example : The client is able to send and receive mails but not able to attach the file along with the mail. SO in this case the service is running but the feature along with the service is not functioning properly. However to solve the problem the Escalation time should be 2-3 hours in case of Gold Customer and 3 – 5 hours if it is a Standard Customer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 3 :&#039;&#039;&#039; In severity call 3 the issue is affected  by 1-2 % of end users only. In this case basic service might get affected. And the Escalation Time should be 5-7 hours if it is a standard customer and 3-4 hours if it is a Gold Customer.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Q. Process of Handling the calls ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Gold Customer or critical client :&lt;br /&gt;
&lt;br /&gt;
If a call comes under Severity call 2 – 3 then it is handle by L2 and if it is Severity call 1 it will be handle by L3.&lt;br /&gt;
&lt;br /&gt;
Tetra Customer / Less Critical then Gold Customer :&lt;br /&gt;
&lt;br /&gt;
If the call is Severity call 2 -3 it will be handle by the Trainee or by the L1 employee. And in case of Severity call 1 it will be handle by L2 level employee.&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Basic_Service_department_process&amp;diff=2164</id>
		<title>Basic Service department process</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Basic_Service_department_process&amp;diff=2164"/>
		<updated>2015-12-30T09:06:09Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: Created page with &amp;quot;Tetra Support Process‏‎                            &amp;#039;&amp;#039;&amp;#039;Service Department Process&amp;#039;&amp;#039;&amp;#039;   &amp;#039;&amp;#039;&amp;#039;Q. What is Service Department Process?&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Ans:&amp;#039;&amp;#039;&amp;#039; Service Department proce...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Tetra Support Process‏‎]]&lt;br /&gt;
&lt;br /&gt;
                          &#039;&#039;&#039;Service Department Process&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. What is Service Department Process?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Service Department process is a very essential part for the Organization when it comes to Delivering the service and products of the organization to the customers or clients. It helps the employees of the organization to respond the customers in the best discipline way as per the process defined by the organization. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q.&#039;&#039;&#039; What are the tools that are used in Tetra to follow up with their clients and give them response ? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; In Tetra we use Zimbra (Helpdesk)  where we receive the mail of the clients and it generates a ticket regarding the issue of the clients. Once the problem is solve the response is given back to the client through OTRS (Open-source Ticket Request System ) and ticket is closed successful.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. How many types of Customers/Clients do Tetra have ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Tetra has categorized their customers into 3 types: &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; Standard Client&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Premium Client&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Gold Client &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. Types of Severity Calls ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; There are 3 types of severity calls :&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; Severity Call 1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Severity call 2&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Severity call 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 1 :&#039;&#039;&#039; Severity call 1 can be define a process where more than 40 % of end users using our services get affected. The reason can be many things that why the service is not running, it might be due to the system crash due to which the services stop while running. One of the other reason can also be the use of software  which is impacted so heavily that the work cannot continue. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 2 :&#039;&#039;&#039; In severity call 2 more than 2 % but less than 40 % end users are affected. In this the services might be running but however the features along with the services is seriously hampered. For example : The client is able to send and receive mails but not able to attach the file along with the mail. SO in this case the service is running but the feature along with the service is not functioning properly. However to solve the problem the Escalation time should be 2-3 hours in case of Gold Customer and 3 – 5 hours if it is a Standard Customer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Severity call 3 :&#039;&#039;&#039; In severity call 3 the issue is affected  by 1-2 % of end users only. In this case basic service might get affected. And the Escalation Time should be 5-7 hours if it is a standard customer and 3-4 hours if it is a Gold Customer.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Q. Process of Handling the calls ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ans:&#039;&#039;&#039; Gold Customer or critical client :&lt;br /&gt;
&lt;br /&gt;
If a call comes under Severity call 2 – 3 then it is handle by L2 and if it is Severity call 1 it will be handle by L3.&lt;br /&gt;
&lt;br /&gt;
Tetra Customer / Less Critical then Gold Customer :&lt;br /&gt;
&lt;br /&gt;
If the call is Severity call 2 -3 it will be handle by the Trainee or by the L1 employee. And in case of Severity call 1 it will be handle by L2 level employee.&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2163</id>
		<title>Qmailbasic component</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2163"/>
		<updated>2015-12-30T08:37:33Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Qmail]]&lt;br /&gt;
&lt;br /&gt;
                                        &#039;&#039;&#039;QMAIL&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. What is Qmail and why should I use it?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  Qmail is a secure, reliable, efficient, simple mail transfer agent. It is meant as a replacement for the entire sendmail-binmail system on typical Internet-connected UNIX hosts.&lt;br /&gt;
&lt;br /&gt;
It offers POP3, and IMAP (with the help of Courier-IMAP) so that you can use any mail client you prefer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. Component of Qmail ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  1. pop&lt;br /&gt;
&lt;br /&gt;
2.  Curior Imap&lt;br /&gt;
&lt;br /&gt;
3.  Ldap (vmail)&lt;br /&gt;
&lt;br /&gt;
4.  Vpop mail&lt;br /&gt;
&lt;br /&gt;
5.   qmail scanner&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;POP==&amp;gt;&#039;&#039;&#039;  A qmail POP3 service handles incomming POP3 connections. It runs qmail-popup under tcpserver, uses a password checker such as checkpassword to do authentication, uses qmail-pop3d to handle POP3 transactions, and uses multilog to store log messages. Both tcpserver and multilog are supervised. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CURIOR IMAP==&amp;gt;&#039;&#039;&#039;  A server that provides IMAP access to Maildir mailboxes. This IMAP server does NOT handle traditional mailbox files (/var/spool/mail, and derivatives), it was written for the specific purpose of providing IMAP access to maildirs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;LDAP (VMAIL)==&amp;gt;&#039;&#039;&#039; LDAP means Lightweight Directory Access Protocol,  LDAP is a way to make certain kinds of information available across a network. In this setup the information is user logins - their passwords, user IDs, and various details. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VPOP MAIL==&amp;gt;&#039;&#039;&#039;  vpopmail is a set of API that manages virtual user accounts on a qmail system, and handles delivery for these virtual users. The command-line utilities, and Qmailadmin all use the vpopmail API, provided by the vpopmail library to manage the system. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;QMAIL SCANNER==&amp;gt;&#039;&#039;&#039; &amp;quot;Qmail-Scanner is an addon that enables a qmail email server to scan all gateway-ed email for certain characteristics (i.e. a content scanner). It is typically used for its anti-virus protection functions, in which case it is used in conjunction with commercial virus scanners, but also enables a site (at a server/site level) to react to email that contains specific strings in particular headers, or particular attachment filenames or types (e.g. *.VBS attachments). It also can be used as an archiving tool for auditing or backup purposes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. How to manage qmail with GUI ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2162</id>
		<title>Qmailbasic component</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2162"/>
		<updated>2015-12-30T08:36:33Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Qmail]]&lt;br /&gt;
&lt;br /&gt;
                                        &#039;&#039;&#039;QMAIL&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. What is Qmail and why should I use it?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  Qmail is a secure, reliable, efficient, simple mail transfer agent. It is meant as a replacement for the entire sendmail-binmail system on typical Internet-connected UNIX hosts.&lt;br /&gt;
&lt;br /&gt;
It offers POP3, and IMAP (with the help of Courier-IMAP) so that you can use any mail client you prefer.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Q. Component of Qmail ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  1. pop&lt;br /&gt;
&lt;br /&gt;
2.  Curior Imap&lt;br /&gt;
&lt;br /&gt;
3.  Ldap (vmail)&lt;br /&gt;
&lt;br /&gt;
4.  Vpop mail&lt;br /&gt;
&lt;br /&gt;
5.   qmail scanner&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;POP==&amp;gt;&#039;&#039;&#039;  A qmail POP3 service handles incomming POP3 connections. It runs qmail-popup under tcpserver, uses a password checker such as checkpassword to do authentication, uses qmail-pop3d to handle POP3 transactions, and uses multilog to store log messages. Both tcpserver and multilog are supervised. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CURIOR IMAP==&amp;gt;&#039;&#039;&#039;  A server that provides IMAP access to Maildir mailboxes. This IMAP server does NOT handle traditional mailbox files (/var/spool/mail, and derivatives), it was written for the specific purpose of providing IMAP access to maildirs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;LDAP (VMAIL)==&amp;gt;&#039;&#039;&#039; LDAP means Lightweight Directory Access Protocol,  LDAP is a way to make certain kinds of information available across a network. In this setup the information is user logins - their passwords, user IDs, and various details. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VPOP MAIL==&amp;gt;&#039;&#039;&#039;  vpopmail is a set of API that manages virtual user accounts on a qmail system, and handles delivery for these virtual users. The command-line utilities, and Qmailadmin all use the vpopmail API, provided by the vpopmail library to manage the system. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;QMAIL SCANNER==&amp;gt;&#039;&#039;&#039; &amp;quot;Qmail-Scanner is an addon that enables a qmail email server to scan all gateway-ed email for certain characteristics (i.e. a content scanner). It is typically used for its anti-virus protection functions, in which case it is used in conjunction with commercial virus scanners, but also enables a site (at a server/site level) to react to email that contains specific strings in particular headers, or particular attachment filenames or types (e.g. *.VBS attachments). It also can be used as an archiving tool for auditing or backup purposes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. How to manage qmail with GUI ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2161</id>
		<title>Qmailbasic component</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Qmailbasic_component&amp;diff=2161"/>
		<updated>2015-12-30T08:35:20Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: Created page with &amp;quot;Qmail                                          &amp;#039;&amp;#039;&amp;#039;QMAIL&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Q. What is Qmail and why should I use it?&amp;#039;&amp;#039;&amp;#039;  Ans:  Qmail is a secure, reliable, efficient, simple mail tran...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Qmail]]&lt;br /&gt;
&lt;br /&gt;
                                        &#039;&#039;&#039;QMAIL&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. What is Qmail and why should I use it?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  Qmail is a secure, reliable, efficient, simple mail transfer agent. It is meant as a replacement for the entire sendmail-binmail system on typical Internet-connected UNIX hosts.&lt;br /&gt;
&lt;br /&gt;
It offers POP3, and IMAP (with the help of Courier-IMAP) so that you can use any mail client you prefer.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Q. Component of Qmail ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  1. pop&lt;br /&gt;
2.  Curior Imap&lt;br /&gt;
3.  Ldap (vmail)&lt;br /&gt;
4.  Vpop mail&lt;br /&gt;
5.   qmail scanner&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;POP==&amp;gt;&#039;&#039;&#039;  A qmail POP3 service handles incomming POP3 connections. It runs qmail-popup under tcpserver, uses a password checker such as checkpassword to do authentication, uses qmail-pop3d to handle POP3 transactions, and uses multilog to store log messages. Both tcpserver and multilog are supervised. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CURIOR IMAP==&amp;gt;&#039;&#039;&#039;  A server that provides IMAP access to Maildir mailboxes. This IMAP server does NOT handle traditional mailbox files (/var/spool/mail, and derivatives), it was written for the specific purpose of providing IMAP access to maildirs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;LDAP (VMAIL)==&amp;gt;&#039;&#039;&#039; LDAP means Lightweight Directory Access Protocol,  LDAP is a way to make certain kinds of information available across a network. In this setup the information is user logins - their passwords, user IDs, and various details. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VPOP MAIL==&amp;gt;&#039;&#039;&#039;  vpopmail is a set of API that manages virtual user accounts on a qmail system, and handles delivery for these virtual users. The command-line utilities, and Qmailadmin all use the vpopmail API, provided by the vpopmail library to manage the system. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;QMAIL SCANNER==&amp;gt;&#039;&#039;&#039; &amp;quot;Qmail-Scanner is an addon that enables a qmail email server to scan all gateway-ed email for certain characteristics (i.e. a content scanner). It is typically used for its anti-virus protection functions, in which case it is used in conjunction with commercial virus scanners, but also enables a site (at a server/site level) to react to email that contains specific strings in particular headers, or particular attachment filenames or types (e.g. *.VBS attachments). It also can be used as an archiving tool for auditing or backup purposes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Q. How to manage qmail with GUI ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ans:  phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Vardhman_spam_blocking&amp;diff=2088</id>
		<title>Vardhman spam blocking</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Vardhman_spam_blocking&amp;diff=2088"/>
		<updated>2015-10-30T13:24:34Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Zimbra]]&lt;br /&gt;
[[Category:Vardhman]]&lt;br /&gt;
&lt;br /&gt;
Normal blacklist process of zimbra is not working in vardhman, this is why blocking was implemented on postfix at smtp level. &lt;br /&gt;
&lt;br /&gt;
Same has been done on all the three servers of vardhman.&lt;br /&gt;
&lt;br /&gt;
 su - zimbra&lt;br /&gt;
&lt;br /&gt;
 vim /opt/zimbra/postfix/conf/sender_access  &lt;br /&gt;
 &lt;br /&gt;
 user@domain.com   REJECT&lt;br /&gt;
 domain2.com     REJECT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 vim /opt/zimbra/conf/postfix_recipient_restrictions.cf&lt;br /&gt;
&lt;br /&gt;
Add following as 2nd line&lt;br /&gt;
&lt;br /&gt;
 check_sender_access hash:/opt/zimbra/postfix/conf/sender_access&lt;br /&gt;
&lt;br /&gt;
Create hash and restart postfix&lt;br /&gt;
&lt;br /&gt;
 postmap /opt/zimbra/postfix/conf/sender_access&lt;br /&gt;
 postfix stop&lt;br /&gt;
 postfix start&lt;br /&gt;
&lt;br /&gt;
Reference:- http://wiki.zimbra.com/wiki/Rejecting_Emails_at_SMTP_Level&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Cluster_issue_Muthoot&amp;diff=2087</id>
		<title>Cluster issue Muthoot</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Cluster_issue_Muthoot&amp;diff=2087"/>
		<updated>2015-10-15T11:59:13Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Muthoot group]]&lt;br /&gt;
&lt;br /&gt;
If Muthoot HRMS (https://muthootonline.in/) page is opening but not able to login, then please check postgres status and try to login in &lt;br /&gt;
&lt;br /&gt;
DB .If not able to login if postgre then frist check cluster service by below command:&lt;br /&gt;
&lt;br /&gt;
Login on Database server(Local ip 192.168.1.133 node1)&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:36:08 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                (node2)                                                failed&#039;&#039;&#039;        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If State is failed then run below command to disable the cluster service:&lt;br /&gt;
&lt;br /&gt;
clusvcadm -d Cluster-Service&lt;br /&gt;
&lt;br /&gt;
Again run below command to check cluster status:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:38:12 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                (node2)                                                Disabled&#039;&#039;&#039;        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After that enable cluster service on node1 by below command:&lt;br /&gt;
&lt;br /&gt;
clusvcadm -e Cluster-Service -m node1&lt;br /&gt;
&lt;br /&gt;
Again run below command to check cluster status:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:45:12 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                node1                                                  started&#039;&#039;&#039;       &lt;br /&gt;
&lt;br /&gt;
Now please run below commands to ensure if every thing is OK:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# ip addr&lt;br /&gt;
&lt;br /&gt;
1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 16436 qdisc noqueue state UNKNOWN &lt;br /&gt;
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;br /&gt;
    inet 127.0.0.1/8 scope host lo&lt;br /&gt;
    inet6 ::1/128 scope host&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
2: usb0: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1500 qdisc noop state DOWN qlen 1000&lt;br /&gt;
    link/ether 36:40:b5:ad:d4:73 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
3: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;br /&gt;
    link/ether 34:40:b5:aa:e5:a8 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 192.168.1.133/24 brd 192.168.1.255 scope global eth0&lt;br /&gt;
    inet &#039;&#039;&#039;192.168.1.140&#039;&#039;&#039;/24 scope global secondary eth0&lt;br /&gt;
    inet6 fe80::3640:b5ff:feaa:e5a8/64 scope link &lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
4: eth1: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;br /&gt;
    link/ether 34:40:b5:aa:e5:aa brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 10.0.0.1/24 brd 10.0.0.255 scope global eth1&lt;br /&gt;
    inet6 fe80::3640:b5ff:feaa:e5aa/64 scope link &lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# df -h&lt;br /&gt;
&lt;br /&gt;
Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;
&lt;br /&gt;
/dev/mapper/VolGroup-LogVol01  99G   68G   26G  73% /&lt;br /&gt;
               &lt;br /&gt;
tmpfs                  16G   26M   16G   1% /dev/shm&lt;br /&gt;
&lt;br /&gt;
/dev/sdd1            1008M   62M  895M   7% /boot&lt;br /&gt;
&lt;br /&gt;
/dev/mapper/VolGroup-LogVol02 197G  150G   38G  80% /home                    &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/dev/mapper/DB-test&#039;&#039;&#039;    97G   17G   75G  19% /Database&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/dev/mapper/LogsSpace-LogSystem&#039;&#039;&#039; 195G  111G   75G  60% /var/lib/pgsql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# ps -ef | grep postgres&lt;br /&gt;
&lt;br /&gt;
postgres  1725 32729 46 15:27 ?        00:17:29 postgres: postgres muthoot_test 192.168.1.130(47221) idle&lt;br /&gt;
&lt;br /&gt;
postgres  6572 32729  0 16:04 ?        00:00:00 postgres: postgres muthoot_test 192.168.1.130(49492) idle&lt;br /&gt;
&lt;br /&gt;
root      7407  6573  0 16:04 pts/0    00:00:00 grep postgres&lt;br /&gt;
&lt;br /&gt;
postgres  9772 32729 41 14:38 ?        00:35:40 postgres: postgres muthoot_test 192.168.1.130(44132) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 11070 32729 52 15:32 ?        00:17:05 postgres: postgres muthoot_test 192.168.1.130(47473) idle&lt;br /&gt;
&lt;br /&gt;
postgres 11539 32729 24 15:32 ?        00:07:57 postgres: postgres muthoot_test 192.168.1.130(47475) idle&lt;br /&gt;
&lt;br /&gt;
postgres 11542 32729 46 15:32 ?        00:15:11 postgres: postgres muthoot_test 192.168.1.130(47476) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 11543 32729 47 15:32 ?        00:15:22 postgres: postgres muthoot_test 192.168.1.130(47477) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 12137 32729 37 12:51 ?        01:12:30 postgres: postgres muthoot_test 192.168.1.130(37016) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 13553 32729 53 13:28 ?        01:23:08 postgres: postgres muthoot_test 192.168.1.130(39619) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 13578 32729 43 12:52 ?        01:23:07 postgres: postgres muthoot_test 192.168.1.130(37087) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 15933 32729 37 14:41 ?        00:31:32 postgres: postgres muthoot_test 192.168.1.130(44303) idle&lt;br /&gt;
&lt;br /&gt;
postgres 16240 32729 38 13:47 ?        00:52:21 postgres: postgres muthoot_test 192.168.1.130(40982) SELECT&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Cluster_issue_Muthoot&amp;diff=2086</id>
		<title>Cluster issue Muthoot</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Cluster_issue_Muthoot&amp;diff=2086"/>
		<updated>2015-10-15T11:58:09Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Muthoot Group]]&lt;br /&gt;
&lt;br /&gt;
If Muthoot HRMS (https://muthootonline.in/) page is opening but not able to login, then please check postgres status and try to login in &lt;br /&gt;
&lt;br /&gt;
DB .If not able to login if postgre then frist check cluster service by below command:&lt;br /&gt;
&lt;br /&gt;
Login on Database server(Local ip 192.168.1.133 node1)&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:36:08 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                (node2)                                                failed&#039;&#039;&#039;        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If State is failed then run below command to disable the cluster service:&lt;br /&gt;
&lt;br /&gt;
clusvcadm -d Cluster-Service&lt;br /&gt;
&lt;br /&gt;
Again run below command to check cluster status:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:38:12 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                (node2)                                                Disabled&#039;&#039;&#039;        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After that enable cluster service on node1 by below command:&lt;br /&gt;
&lt;br /&gt;
clusvcadm -e Cluster-Service -m node1&lt;br /&gt;
&lt;br /&gt;
Again run below command to check cluster status:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:45:12 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                node1                                                  started&#039;&#039;&#039;       &lt;br /&gt;
&lt;br /&gt;
Now please run below commands to ensure if every thing is OK:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# ip addr&lt;br /&gt;
&lt;br /&gt;
1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 16436 qdisc noqueue state UNKNOWN &lt;br /&gt;
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;br /&gt;
    inet 127.0.0.1/8 scope host lo&lt;br /&gt;
    inet6 ::1/128 scope host&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
2: usb0: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1500 qdisc noop state DOWN qlen 1000&lt;br /&gt;
    link/ether 36:40:b5:ad:d4:73 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
3: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;br /&gt;
    link/ether 34:40:b5:aa:e5:a8 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 192.168.1.133/24 brd 192.168.1.255 scope global eth0&lt;br /&gt;
    inet &#039;&#039;&#039;192.168.1.140&#039;&#039;&#039;/24 scope global secondary eth0&lt;br /&gt;
    inet6 fe80::3640:b5ff:feaa:e5a8/64 scope link &lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
4: eth1: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;br /&gt;
    link/ether 34:40:b5:aa:e5:aa brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 10.0.0.1/24 brd 10.0.0.255 scope global eth1&lt;br /&gt;
    inet6 fe80::3640:b5ff:feaa:e5aa/64 scope link &lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# df -h&lt;br /&gt;
&lt;br /&gt;
Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;
&lt;br /&gt;
/dev/mapper/VolGroup-LogVol01  99G   68G   26G  73% /&lt;br /&gt;
               &lt;br /&gt;
tmpfs                  16G   26M   16G   1% /dev/shm&lt;br /&gt;
&lt;br /&gt;
/dev/sdd1            1008M   62M  895M   7% /boot&lt;br /&gt;
&lt;br /&gt;
/dev/mapper/VolGroup-LogVol02 197G  150G   38G  80% /home                    &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/dev/mapper/DB-test&#039;&#039;&#039;    97G   17G   75G  19% /Database&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/dev/mapper/LogsSpace-LogSystem&#039;&#039;&#039; 195G  111G   75G  60% /var/lib/pgsql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# ps -ef | grep postgres&lt;br /&gt;
&lt;br /&gt;
postgres  1725 32729 46 15:27 ?        00:17:29 postgres: postgres muthoot_test 192.168.1.130(47221) idle&lt;br /&gt;
&lt;br /&gt;
postgres  6572 32729  0 16:04 ?        00:00:00 postgres: postgres muthoot_test 192.168.1.130(49492) idle&lt;br /&gt;
&lt;br /&gt;
root      7407  6573  0 16:04 pts/0    00:00:00 grep postgres&lt;br /&gt;
&lt;br /&gt;
postgres  9772 32729 41 14:38 ?        00:35:40 postgres: postgres muthoot_test 192.168.1.130(44132) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 11070 32729 52 15:32 ?        00:17:05 postgres: postgres muthoot_test 192.168.1.130(47473) idle&lt;br /&gt;
&lt;br /&gt;
postgres 11539 32729 24 15:32 ?        00:07:57 postgres: postgres muthoot_test 192.168.1.130(47475) idle&lt;br /&gt;
&lt;br /&gt;
postgres 11542 32729 46 15:32 ?        00:15:11 postgres: postgres muthoot_test 192.168.1.130(47476) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 11543 32729 47 15:32 ?        00:15:22 postgres: postgres muthoot_test 192.168.1.130(47477) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 12137 32729 37 12:51 ?        01:12:30 postgres: postgres muthoot_test 192.168.1.130(37016) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 13553 32729 53 13:28 ?        01:23:08 postgres: postgres muthoot_test 192.168.1.130(39619) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 13578 32729 43 12:52 ?        01:23:07 postgres: postgres muthoot_test 192.168.1.130(37087) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 15933 32729 37 14:41 ?        00:31:32 postgres: postgres muthoot_test 192.168.1.130(44303) idle&lt;br /&gt;
&lt;br /&gt;
postgres 16240 32729 38 13:47 ?        00:52:21 postgres: postgres muthoot_test 192.168.1.130(40982) SELECT&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Cluster_issue_Muthoot&amp;diff=2085</id>
		<title>Cluster issue Muthoot</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Cluster_issue_Muthoot&amp;diff=2085"/>
		<updated>2015-10-15T11:07:10Z</updated>

		<summary type="html">&lt;p&gt;Brijesh: Created page with &amp;quot;category:Muthoot  If Muthoot HRMS (https://muthootonline.in/) page is opening but not able to login, then please check postgres status and try to login in   DB .If not abl...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Muthoot]]&lt;br /&gt;
&lt;br /&gt;
If Muthoot HRMS (https://muthootonline.in/) page is opening but not able to login, then please check postgres status and try to login in &lt;br /&gt;
&lt;br /&gt;
DB .If not able to login if postgre then frist check cluster service by below command:&lt;br /&gt;
&lt;br /&gt;
Login on Database server(Local ip 192.168.1.133 node1)&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:36:08 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                (node2)                                                failed&#039;&#039;&#039;        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If State is failed then run below command to disable the cluster service:&lt;br /&gt;
&lt;br /&gt;
clusvcadm -d Cluster-Service&lt;br /&gt;
&lt;br /&gt;
Again run below command to check cluster status:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:38:12 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                (node2)                                                Disabled&#039;&#039;&#039;        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After that enable cluster service on node1 by below command:&lt;br /&gt;
&lt;br /&gt;
clusvcadm -e Cluster-Service -m node1&lt;br /&gt;
&lt;br /&gt;
Again run below command to check cluster status:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# clustat &lt;br /&gt;
&lt;br /&gt;
Cluster Status for Muthoot_cluster @ Thu Oct 15 12:45:12 2015&lt;br /&gt;
Member Status: Quorate&lt;br /&gt;
&lt;br /&gt;
 Member Name                                                     ID   Status&lt;br /&gt;
 ------ ----                                                     ---- ------&lt;br /&gt;
 node1                                                               1 Online, Local, rgmanager&lt;br /&gt;
 node2                                                               2 Online, rgmanager&lt;br /&gt;
 Service Name                                           Owner (Last)                                           State         &lt;br /&gt;
 ------- ----                                           ----- ------                                           -----         &lt;br /&gt;
 &#039;&#039;&#039;service:Cluster-Service                                node1                                                  started&#039;&#039;&#039;       &lt;br /&gt;
&lt;br /&gt;
Now please run below commands to ensure if every thing is OK:&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# ip addr&lt;br /&gt;
&lt;br /&gt;
1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 16436 qdisc noqueue state UNKNOWN &lt;br /&gt;
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;br /&gt;
    inet 127.0.0.1/8 scope host lo&lt;br /&gt;
    inet6 ::1/128 scope host&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
2: usb0: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1500 qdisc noop state DOWN qlen 1000&lt;br /&gt;
    link/ether 36:40:b5:ad:d4:73 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
3: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;br /&gt;
    link/ether 34:40:b5:aa:e5:a8 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 192.168.1.133/24 brd 192.168.1.255 scope global eth0&lt;br /&gt;
    inet &#039;&#039;&#039;192.168.1.140&#039;&#039;&#039;/24 scope global secondary eth0&lt;br /&gt;
    inet6 fe80::3640:b5ff:feaa:e5a8/64 scope link &lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
4: eth1: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;br /&gt;
    link/ether 34:40:b5:aa:e5:aa brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 10.0.0.1/24 brd 10.0.0.255 scope global eth1&lt;br /&gt;
    inet6 fe80::3640:b5ff:feaa:e5aa/64 scope link &lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# df -h&lt;br /&gt;
&lt;br /&gt;
Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;
&lt;br /&gt;
/dev/mapper/VolGroup-LogVol01  99G   68G   26G  73% /&lt;br /&gt;
               &lt;br /&gt;
tmpfs                  16G   26M   16G   1% /dev/shm&lt;br /&gt;
&lt;br /&gt;
/dev/sdd1            1008M   62M  895M   7% /boot&lt;br /&gt;
&lt;br /&gt;
/dev/mapper/VolGroup-LogVol02 197G  150G   38G  80% /home                    &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/dev/mapper/DB-test&#039;&#039;&#039;    97G   17G   75G  19% /Database&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/dev/mapper/LogsSpace-LogSystem&#039;&#039;&#039; 195G  111G   75G  60% /var/lib/pgsql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[root@liveserver ~]# ps -ef | grep postgres&lt;br /&gt;
&lt;br /&gt;
postgres  1725 32729 46 15:27 ?        00:17:29 postgres: postgres muthoot_test 192.168.1.130(47221) idle&lt;br /&gt;
&lt;br /&gt;
postgres  6572 32729  0 16:04 ?        00:00:00 postgres: postgres muthoot_test 192.168.1.130(49492) idle&lt;br /&gt;
&lt;br /&gt;
root      7407  6573  0 16:04 pts/0    00:00:00 grep postgres&lt;br /&gt;
&lt;br /&gt;
postgres  9772 32729 41 14:38 ?        00:35:40 postgres: postgres muthoot_test 192.168.1.130(44132) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 11070 32729 52 15:32 ?        00:17:05 postgres: postgres muthoot_test 192.168.1.130(47473) idle&lt;br /&gt;
&lt;br /&gt;
postgres 11539 32729 24 15:32 ?        00:07:57 postgres: postgres muthoot_test 192.168.1.130(47475) idle&lt;br /&gt;
&lt;br /&gt;
postgres 11542 32729 46 15:32 ?        00:15:11 postgres: postgres muthoot_test 192.168.1.130(47476) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 11543 32729 47 15:32 ?        00:15:22 postgres: postgres muthoot_test 192.168.1.130(47477) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 12137 32729 37 12:51 ?        01:12:30 postgres: postgres muthoot_test 192.168.1.130(37016) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 13553 32729 53 13:28 ?        01:23:08 postgres: postgres muthoot_test 192.168.1.130(39619) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 13578 32729 43 12:52 ?        01:23:07 postgres: postgres muthoot_test 192.168.1.130(37087) SELECT&lt;br /&gt;
&lt;br /&gt;
postgres 15933 32729 37 14:41 ?        00:31:32 postgres: postgres muthoot_test 192.168.1.130(44303) idle&lt;br /&gt;
&lt;br /&gt;
postgres 16240 32729 38 13:47 ?        00:52:21 postgres: postgres muthoot_test 192.168.1.130(40982) SELECT&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
</feed>