DHCP中繼代理

DHCP中繼代理實驗

 

 

 

 

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
 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章