Vous êtes sur la page 1sur 2

-------------Configuring Router to be DHCP Server-----------R(config)# ip dhcp excluded-address 192.168.10.1 192.168.10.

9
ded for static ip use e.g printer!

!Range exclu

R(config)# ip dhcp excluded-address 192.168.10.254


R(config)# ip dhcp pool LAN-POOL-1
R(dhcp-config)# network 192.168.10.0 255.255.255.0
R(dhcp-config)# default-router 192.168.10.1
ter - to issue ip addresses!
R(dhcp-config)# domain-name span.com
R(dhcp-config)# end

!gateway rou

---------------Verify DHCP---------------------------------show ip dhcp binding


show ip dhcp pool
-----------------DHCP Relay--------------------------------R1# conf t
R1(config)# int fa0/0
R1(config-if)# ip helper-address 192.168.11.5
!
R1(config-if)# end

!ip address of DHCP server

-----------------NAT Network Address Translation-----------Static NAT


-----------ip nat inside source static 192.168.10.254 209.165.200.254
ion one to one!

!static translat

interface serial 0/0/0


ip nat inside
interface serial 0/1/0
ip nat outside

Dynamic NAT
------------ip nat pool NAT-POOL1 209.165.200.226 209.165.200.240 netmask 255.255.255.224 !
pool of IP add in pool!
access-list 1 permit 192.168.0.0 0.0.255.255

!which addresses are eligible!

ip nat inside source list 1 pool NAT-POOL1


!binds NAT pool with ACL! !add
"overload" to include/bind port numbers! !"interface s0/1/0 overload" for static
!
interface serial 0/0/0
ip nat inside
interface serial 0/1/0
ip nat outside

Vous aimerez peut-être aussi