that looks good but fe0/0 will not get a dchp that one is connected to my local network, so basic what im trying to do is make the 192 side like a dmz
Main Topics
Browse All TopicsI have a cisco 1841 that I would like to setup to give out dhcp and dns info, heres the catch this router will be setup on the trusted side of my cisco 1821, also I will want to give the fe0/1 side of the 1841 a IP of 192.168.203.1 with dhcp and the and the fe0/0 an IP of 38.184.220.65.
the 38.184.220.0 is my lan so the 1841 will be doing something like a vlan, is this posible or am I just dreaming
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Are you saying that both networks,
fe0/1 side of the 1841 a IP of 192.168.203.1 with dhcp and the and the fe0/0 an IP of 38.184.220.65.
are not directly connected to the 1841, or that you have an access list or firewall, etc blocking some of the hosts from the router ports?
Describe the physical set up, type of hardware, and ports and I can give detailed configs as well as test most configs in my simulator.
Business Accounts
Answer for Membership
by: lcappelliPosted on 2008-04-26 at 21:02:43ID: 21448072
Regarding having 2 dhcp pools on an 1841 router:
.<cmd= network network-number [mask | /prefex]>
<cmd=dns-s erver address [address2.....address8]> domain-name the domainname>
__________ __________ __________ __________ __________ _
__________ __________ ____
__________ __________ __________ __________ ______
rcd/cc/td/ doc/produc t/software / ios120/12 0newft/120 t/120t1/ea syip2.htm# wp4363.
By the way, The 1841 can do vlan on switching ports with, for example, the HWIC-4ESW, a module that provides
4 FastEthernet switchports.
But i do think that is what yiou want. Let me know if I am wrong, but I think you have switches off the
FastEthernet 0/0 and FastEthernet 0/1 router ports and you want those host to get ip address, etc from your
router so that you do not have to have windows servers maintain the dhcp database.
This is very possible and the config info is below. I guessed at the masks, just change those to match your
real numbers, etc.
You need to do add dhcp for 2 networks, so you need to create an address pool for each network.
steps:
______
Define the address pool name..........<cmd= ip dhcp pool thepoolname>
Define the scope.....................
define the default router or gateway..<cmd= default-router address [address2.....address8]>
optional steps:
_______________
define a dns server....................
define the domain name.................<cmd=
define the duration of the dhcp lease..<cmd= lease {days [hours] [minutes] | infinite>
define a NetBios Wins server...........<cmd= netbios-nameserver address [address2.....address8]>
here are the commands with explanations, assuming you have the interfaces up.
__________________________
! Remark: fastEthenet0/1 side of the 1841 with an IP of 192.168.203.1
!
! Remark: exclude some addresses at the start of the scope
ip dhcp excluded-address 192.168.203.1 192.168.203.9
! Remark: exclude and address elsewhere in the scope
ip dhcp excluded-address 192.168.203.254
! Remark: set up a pool name that will represent the range
ip dhcp pool LAN-POOL-1
! Remark: set the pool scope or range, note all 255 except the excluded
network 192.168.203.0 255.255.255.0
! Remark: define the default gateway for the clients
default-router 192.168.203.1
! Remark: configure the IP address of the DNS server that is available to a DHCP client
dns-server 192.168.203.1
! Remark: set domain name for the clients
domain-name theDomainName.com
! Remark: FastEthernet0/0 side of the 1841 with an IP of 38.184.220.65
!
ip dhcp excluded-address 38.184.220.1 38.184.220.9
ip dhcp excluded-address 38.184.220.254
ip dhcp pool LAN-POOL-2
network 38.184.220.0 255.255.255.0
default-router 38.184.220.65
dns-server 38.184.220.65
domain-name theDomainName.com
I tested this config in a lab, here is the config:
__________________________
Router#sh run
Building configuration...
Current configuration : 780 bytes
!
version 12.3
no service password-encryption
!
hostname Router
!
!
!
!
interface FastEthernet0/0
ip address 38.184.220.65 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.203.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
ip dhcp excluded-address 192.168.203.1 192.168.203.9
ip dhcp excluded-address 192.168.203.254
ip dhcp excluded-address 38.184.220.254
ip dhcp excluded-address 38.184.220.1 38.184.220.9
!
ip dhcp pool LAN-POOL-2
network 38.184.220.0 255.255.255.0
default-router 38.184.220.65
dns-server 38.184.220.65
ip dhcp pool LAN-POOL-1
network 192.168.203.0 255.255.255.0
default-router 192.168.203.1
dns-server 192.168.203.1
!
line con 0
line vty 0 4
login
!
!
end
Router#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Router#sh ip dhcp
Router#sh ip dhcp binding
IP address Client-ID/ Lease expiration Type
Hardware address
38.184.220.10 0007.ECC9.2D13 -- Automatic
Router#sh run
Building configuration...
Current configuration : 780 bytes
!
version 12.3
no service password-encryption
!
hostname Router
!
!
!
!
interface FastEthernet0/0
ip address 38.184.220.65 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.203.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
ip dhcp excluded-address 192.168.203.1 192.168.203.9
ip dhcp excluded-address 192.168.203.254
ip dhcp excluded-address 38.184.220.254
ip dhcp excluded-address 38.184.220.1 38.184.220.9
!
ip dhcp pool LAN-POOL-2
network 38.184.220.0 255.255.255.0
default-router 38.184.220.65
dns-server 38.184.220.65
ip dhcp pool LAN-POOL-1
network 192.168.203.0 255.255.255.0
default-router 192.168.203.1
dns-server 192.168.203.1
!
line con 0
line vty 0 4
login
!
!
end
Router#
other commands:
________________
service dhcp.............. on by default, but just in case, this turns it on dhcp
To verify the operation of DHCP, use the show ip dhcp binding command. This command displays a list of all
IP address to MAC address bindings that have been provided by the DHCP service.
To verify that messages are being received or sent by the router, use the show ip dhcp server statistics
command. This command displays count information regarding the number of DHCP messages that have been sent
and received.
Another useful command to view multiple pools is the show ip dhcp pool command.
To configure router the router as a DHCP relay agent, you need to configure the nearest interface to the
client with the ip helper-address interface configuration command. This command relays broadcast requests
for key services to a configured address. Configure the IP helper address on the interface receiving the
broadcast. Allowing computers to access servers on other networks to get things like dhcp setting.
Cisco routers can also be configured as a DHCP server using SDM (A Management GUI).
here is the result from the sh up dhcp binding command on my simulation:
__________________________
Router#sh ip dhcp binding
IP address Client-ID/ Lease expiration Type
Hardware address
38.184.220.10 0007.ECC9.2D13 -- Automatic
38.184.220.11 0001.4261.8373 -- Automatic
192.168.203.11 0002.1700.5A73 -- Automatic
Router#
This info came from the Cisco Networking Academy Text. A High School program designed to train future
CCNA's.
For more information on DHCP, see "Cisco IOS DHCP Server" at:
http://www.cisco.com/unive
Good luck.