DHCP中继代理

DHCP中继代理实验

 

DHCP中继代理_第1张图片 

 

 

r2

ip dhcp excluded-address 10.10.10.1
ip dhcp excluded-address 20.20.20.1
!
ip dhcp pool 1
   network 10.10.10.0 255.255.255.0
   default-router 10.10.10.1
   dns-server 100.100.100.100
!
ip dhcp pool 2
   network 20.20.20.0 255.255.255.0
   default-router 20.20.20.1
   dns-server 100.100.100.100
!
interface Ethernet1/0
ip address 12.0.0.2    255.255.255.0
!
ip route 10.10.10.0 255.255.255.0 23.1.1.1
ip route 20.20.20.0 255.255.255.0 23.1.1.1

r1

interface Ethernet1/0
ip address 10.10.10.1 255.255.255.0
ip helper-address 12.0.0.1
!
interface Ethernet1/1
ip address 12.0.0.1   255.255.255.0
!
interface Ethernet1/3
ip address 20.20.20.1 255.255.255.0
ip helper-address 12.0.0.1
 

 

 

 

 

你可能感兴趣的:(代理,职场,DHCP,休闲,中继)