dhcp中繼

dhcp
簡單的dhcp中繼
配置如下:
Building configuration...
Current configuration : 636 bytes
!
version 12.2
no service password-encryption
!
hostname r1
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 ip helper-address 192.168.1.1
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.2.1 255.255.255.0
 ip helper-address 192.168.2.1
 duplex auto
 speed auto
!
ip classless
!
!
!
ip dhcp excluded-address 192.168.1.2
ip dhcp excluded-address 192.168.2.2
!
ip dhcp pool dhcp1
 network 192.168.1.0 255.255.255.0
 default-router 192.168.1.1
ip dhcp pool dhcp2
 network 192.168.2.0 255.255.255.0
 default-router 192.168.2.1
!
line con 0
line vty 0 4
 login
!
!
end
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章