DHCP扩展,helper-address

------------R1-------------
interface GigabitEthernet0/1
no switchport
ip address 192.168.1.1 255.255.255.0
ip helper-address 192.168.2.2
interface GigabitEthernet0/3
no switchport
ip address 192.168.2.1 255.255.255.0
ip routing
-------R2--------------
ip dhcp excluded-address 192.168.1.1 192.168.1.150
ip dhcp pool gosion
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
interface Ethernet0/0
ip address 192.168.2.2 255.255.255.0
no ip directed-broadcast
ip route 192.168.1.0 255.255.255.0 Ethernet0/0
-------pc------------
将网卡设置成DHCP获取ip








发表评论 评论 (2 个评论)