185817623.jpg

DHCPserver#showrun

hostnameDHCPserver

ipdhcpexcluded-address192.168.2.1

ipdhcpexcluded-address192.168.2.254

ipdhcpexcluded-address192.168.5.2

ipdhcpexcluded-address192.168.5.254

ipdhcpexcluded-address192.168.3.1

ipdhcpexcluded-address192.168.3.254

ipdhcpexcluded-address192.168.4.2

ipdhcpexcluded-address192.168.4.254

ipdhcppoolupleft

network192.168.2.0255.255.255.0

default-router192.168.2.1

dns-server192.168.2.254

ipdhcppoolupright

network192.168.5.0255.255.255.0

default-router192.168.5.2

dns-server192.168.5.254

ipdhcppooldownleft

network192.168.3.0255.255.255.0

default-router192.168.3.1

dns-server192.168.3.254

ipdhcppooldownright

network192.168.4.0255.255.255.0

default-router192.168.4.2

dns-server192.168.4.254

noipdomain-lookup

interfaceFastEthernet0/0

ipaddress192.168.2.1255.255.255.0

interfaceFastEthernet1/0

ipaddress192.168.3.1255.255.255.0

interfaceSerial2/0

ipaddress192.168.1.1255.255.255.0

clockrate9600

routerrip

network192.168.1.0

network192.168.2.0

network192.168.3.0

DHCPrelay#showrun

hostnameDHCPrelay

noipdomain-lookup

interfaceFastEthernet0/0

ipaddress192.168.5.2255.255.255.0

iphelper-address192.168.1.1

interfaceFastEthernet1/0

ipaddress192.168.4.2255.255.255.0

iphelper-address192.168.1.1

interfaceSerial2/0

ipaddress192.168.1.2255.255.255.0

routerrip

network192.168.1.0

network192.168.4.0

network192.168.5.0