Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP on 1721 for 2 interfaces

Status
Not open for further replies.
Aug 14, 2003
46
GB
Hi,
I have a 1721 with adsl, eth(10BT) and fast eth(10/100) interfaces.

I want to assign DHCP scopes to both ethernet i/f's that are on different networks, am playing happily but wouldnt mind any pointers.

IOS 12.2(4)YA2
 
Well,

there is nothing more than the below you have to do. Just create two pools for each network. Make sure you assign the appropriate gateway addresses on both interfaces, from the right subnet.

int e0/0
ip add 192.168.20.1 255.255.255.0
int e0/1
ip add 192.168.30.1 255.255.255.0

ip dhcp pool poolA
network 192.168.20.0 255.255.255.0 (please verify syntax - i cud be wrong)
default-router 192.168.20.1 --- this is important for clients to get the right subnet address.

ip dhcp pool poolB
network 192.168.30.0 255.255.255.0
default-router 192.168.30.1

More options can be found here.


Sankar Nair
General Datatech l.p.
 
Hi
Thank I got the DHCP sorted, but am having trouble with getting it to relay the DNS and WINS info (part config below)

!
ip subnet-zero
no ip domain-lookup
ip name-server 192.x.x.x
ip name-server 192.x.x.y
ip dhcp excluded-address 10.x.x.x
ip dhcp excluded-address 172.x.x.x
!
ip dhcp pool A
network 10.x.x.0 255.255.255.0
default-router 10.x.x.1
netbios-name-server 192.x.x.x
netbios-node-type h-node
lease 2
!
ip dhcp pool A2
network 172.x.x.0 255.255.255.0
default-router 172.x.x.1
netbios-name-server 192.x.x.x
netbios-node-type h-node
lease 2
!

Any pointers??

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top