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

你可能感兴趣的:(职场,Cisco,DHCP,休闲)