cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
285
Views
0
Helpful
1
Replies

Configuring routers for DHCP

utawakevou
Level 4
Level 4

We are planning to move to DHCP. Can someone give me a sample configuration where the IP will be issued by an NT server. We dont want IP to be issued by the router

We are currently using EIGRP 5 as our routing protocol.

Below is an example of one of the router configured and used by one of our sites and also the example of the router where it is connected to. One is a 1600 and is connect to the one at the HQ via lease line. The one at HQ is the 2522

1600

---------

Trade_Commerce#sho conf

Using 769 out of 7506 bytes

!

version 11.3

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname Trade_Commerce

!

enable secret 5 $1$4/h/$BezqJrJl0l.IgatCL6xca0

enable password 7 00071A150754

!

!

!

interface Ethernet0

ip address 10.1.25.1 255.255.255.0

no keepalive

!

interface Serial0

description Link to ITC

ip address 10.1.255.18 255.255.255.252

encapsulation ppp

no keepalive

!

router eigrp 5

network 10.0.0.0

!

ip classless

ip route 0.0.0.0 0.0.0.0 10.1.255.17

!

!

line con 0

line vty 0 4

login

!

end

Here is the example of the router in our HQ:

2522

----------

ITC-Central-1>#sho conf

Using 3456 out of 32762 bytes

!

version 11.2

no service finger

no service udp-small-servers

no service tcp-small-servers

!

hostname ITC-Central-1>

!

enable secret 5

enable password system

!

!

interface Ethernet0

ip address 10.1.85.20 255.255.255.0

no ip route-cache

no ip mroute-cache

no keepalive

bridge-group 1

!

interface Serial0

description Customs Lautoka

ip address 10.1.255.1 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

bandwidth 128

no keepalive

no fair-queue

bridge-group 1

!

interface Serial1

description Regional Dev

ip address 10.1.255.29 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

bandwidth 64

no keepalive

!

interface Serial2

description Lands

ip address 10.1.255.9 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

bandwidth 64

no keepalive

!

interface Serial3

description Judiciary

ip address 10.1.255.13 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

bandwidth 64

no keepalive

!

interface Serial4

description Trade and Commerce

ip address 10.1.255.17 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

bandwidth 64

no keepalive

!

interface Serial5

description COGS Walu Bay

ip address 10.1.255.21 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

bandwidth 64

no keepalive

bridge-group 1

!

interface Serial6

description FILC

ip address 10.1.255.25 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

no keepalive

!

interface Serial7

description Link to Exams

no ip address

no ip route-cache

no ip mroute-cache

no keepalive

shutdown

bridge-group 1

!

interface Serial8

description Fijian Affairs

ip address 10.1.255.33 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

bandwidth 64

no keepalive

!

interface Serial9

description Fisheries

ip address 10.1.255.37 255.255.255.252

encapsulation ppp

no ip route-cache

no ip mroute-cache

bandwidth 64

no keepalive

!

interface BRI0

no ip address

no ip route-cache

no ip mroute-cache

shutdown

!

router eigrp 5

network 10.0.0.0

neighbor 10.1.255.34

neighbor 10.1.255.38

neighbor 10.1.255.10

neighbor 10.1.255.2

neighbor 10.1.255.14

neighbor 10.1.255.18

neighbor 10.1.255.30

!

ip default-gateway 10.1.85.22

ip http server

ip classless

ip route 0.0.0.0 0.0.0.0 10.1.85.22

ip route 10.1.2.0 255.255.255.0 10.1.255.38

ip route 10.1.11.0 255.255.255.0 10.1.255.14

ip route 10.1.25.0 255.255.255.0 10.1.255.18

ip route 10.1.45.0 255.255.255.0 10.1.255.34

ip route 10.1.48.0 255.255.255.0 10.1.255.26

ip route 10.1.81.0 255.255.255.0 10.1.255.30

ip route 10.1.103.0 255.255.255.0 10.1.255.22

ip route 10.1.121.0 255.255.255.0 10.1.255.10

ip route 10.4.0.0 255.255.0.0 10.1.255.2

bridge 1 protocol dec

!

line con 0

login

line aux 0

transport input all

line vty 0

login

line vty 1 4

login

!

end

Hope someone Help

1 Reply 1

ttuncaral
Level 1
Level 1

Using NT server as a DHCP and placing and defining it somewhere in the network can be done by using IP HELPER-ADDRESS . This command must be added to the ports which DHCP requests came from. Be aware that adding this command helps all UDP forwarding services are allowed via this port and you may disable some services using NO IP FORWARD-PROTOCOL command on the router which requests are originated.

Suppose DHCP stands at ET0 of 2522 and has an address of 10.1.85.67

User from ET0 of 1600 sends DHCP requests

<1600>

INT ET0

IP HELPER 10.1.85.67

hope this helps,