linux环境下配置dhcp服务器其实是非常简单的。这里我们手工配置Linux配置DHCP服务器
PPPOE服务器与客户端配置Server configuration R2#sh running-config Building configuration... Current configuration : 920 bytes ! version 12.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! ! username cisco password 0 cisco memory-size iomem 15 ip subnet-zero ! ! ! vpdn enable ! vpdn-group 1 accept-dialin protocol pppoe virtual-template 1 ! ! ! ! voice call carrier capacity active ! ! ! ! ! ! ! ! ! mta receive maximum-recipients 0 ! ! ! ! interface Loopback0 ip address 10.0.0.1 255.255.255.0 ! interface FastEthernet0/0 no ip address duplex auto speed auto pppoe enable ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Virtual-Template1 ip unnumbered Loopback0 peer default ip address pool cisco ppp authentication chap ! ip local pool cisco 10.0.0.10 10.0.0.20 ip classless ip http server ! ! ! call rsvp-sync ! ! mgcp profile default ! dial-peer cor custom ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! ! end
client configuration R1#sh run R1#sh running-config Building configuration... Current configuration : 870 bytes ! version 12.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hos