Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Friday, December 7, 2012

dhcp, router to router...

 below is a basic ospf single area topology...


R1#sh ip ospf data

            OSPF Router with ID (1.1.1.1) (Process ID 1)

        Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         23          0x80000008 0x0046F0 2
2.2.2.2         2.2.2.2         24          0x80000007 0x00BAC5 3
3.3.3.3         3.3.3.3         1233        0x80000002 0x00C898 2

        Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.1.2     2.2.2.2         20          0x80000005 0x0001B4
200.1.1.3       3.3.3.3         1234        0x80000001 0x00A8A3

remove the address from r1, f0/0, and naturally:

R1(config)#int f0/0
R1(config-if)#no ip add
R1(config-if)#
*Dec  7 18:31:18.939: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Interface down or detached

configure dhcp as simply as possible on r2...

R2#sh run | sec dhcp
ip dhcp pool test
 network 192.168.1.0 255.255.255.0

add ip address dhcp to r1, f0/0

R1(config-if)#ip address dhcp
R1(config-if)#
*Dec  7 18:33:52.347: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 192.168.1.1, mask 255.255.255.0, hostname R1

R1(config-if)#
*Dec  7 18:33:56.975: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on FastEthernet0/0 from LOADING to FULL, Loading Done

note the adjacency comes up once dhcp is lit up on the interface...

the idea here is to cite the bare minimum requirements for dhcp, and the ease of configuration...

R2#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address      Client-ID/         Lease expiration     Type       State      Interface
        Hardware address/
        User name
192.168.1.1     0063.6973.636f.2d63.    Dec 08 2012 06:33 PM    Automatic  Active     Unknown
                6130.382e.3735.6164.
                2e30.3030.382d.4661.
                302f.30

No comments:

Post a Comment