我想在h3c三层上做dhcp配置,然后接着的h3c二层交换机的pc机用自动获取地址,请问怎么配置,谢谢
先划分VLAN:Vlan
10
port
Ehternet
1/0/10
#将Ethernet
1/0/10加入Vlan10
配置vlan
ip
interface
vlan
10
ip
address
x.x.x.1
255.255.255.0
undo
shutdown
DHCP配置
dhcp
server
ip-pool
h3cDHCP
network
x.x.x.0
mask
255.255.255.0
#此处宣告的网段要和前面你配置vlan10的网段要一样,无需端口应用,直接识别你所要分配的ip网段
gateway-list
x.x.x.1
dns-list
{dns-ipaddress}
连接二层交换机
连接
至
三层交换机的Ethernet
1/0/10
接口
,无需对二层交换机做配置,下面所接PC都将获得到你所分配的ip地址
绛旓細濡傛灉浣犵殑S55鏄疭I锛屾槸涓嶆敮鎸乻erver鐨勩備綘鐨勮矾鐢变篃搴旇鏄H3C鐨勫惂锛屽湪璺敱涓婂惎server锛孲55鍚腑缁с傝矾鐢变笂姝e父鍒涘缓鍦板潃姹犮備富瑕佹槸S55鐨勯厤缃傚涓嬶細dhcp-server 0 ip 192.168.100.1 杩欎釜鍦板潃鏄矾鐢辨帴S55鐨勬帴鍙e湴鍧銆俤hcp relay information enable interface Vlan-interface10 ip address 192.168.10.1 25...
绛旓細3銆佹垜鍙洖绛斾腑缁х殑锛涓夊眰ACL鐨勬瘮杈冨銆傚紑鍚腑缁с俁uijie(config)#servicedhcp鍚敤DHCP涓户銆俁uijie(config)#noservicedhcpRuijie(config)#iphelper-addressa.b.b.d娣诲姞涓涓叏灞鐨凞HCP鏈嶅姟鍣ㄥ湴鍧銆4銆佷綘搴旇鍒╃敤H3C浜ゆ崲鏈虹壒鏈夌殑Hybrid鍔熻兘锛屽緢渚垮埄锛佹妸DHCP鏈嶅姟鍣ㄧ殑绔彛璁剧疆鎴怘ybrid绫诲瀷锛屼氦鎹㈡満涔嬮棿鐨勮繛鎺ョ鍙...
绛旓細鍏堝垝鍒哣LAN锛歏lan 10 port Ehternet 1/0/10 #灏咵thernet 1/0/10鍔犲叆Vlan10 閰嶇疆vlan ip interface vlan 10 ip address x.x.x.1 255.255.255.0 undo shutdown DHCP閰嶇疆 dhcp server ip-pool h3cDHCP network x.x.x.0 mask 255.255.255.0 #姝ゅ瀹e憡鐨勭綉娈佃鍜屽墠闈綘閰嶇疆vlan10鐨...
绛旓細鍏堝垝鍒哣LAN锛歏lan 10 port Ehternet 1/0/10 灏咵thernet 1/0/10鍔犲叆Vlan10 閰嶇疆vlan ip interface vlan 10 ip address x.x.x.1 255.255.255.0 undo shutdown DHCP閰嶇疆 dhcp server ip-pool h3cDHCP network x.x.x.0 mask 255.255.255.0 姝ゅ瀹e憡鐨勭綉娈佃鍜屽墠闈綘閰嶇疆vlan10鐨勭綉娈佃涓...
绛旓細H3C S5500 SI浜ゆ崲鏈哄垎3涓綉娈,鍒嗗埆涓192.168.1.0 192.168.2.0 192.168.3.0 瀵瑰簲鐨勭綉鍏充互鍙奦LAN 涓192.168.1.1(VLAN10,1-8鍙风鍙) 192.168.2.1(VLAN20,9-16绔彛) 192.168.3.1(VLAN30,17-23绔彛) 閭d箞濡備綍鍦ㄨ浜ゆ崲鏈洪厤缃3涓DHCP鏈嶅姟鍣ㄨ嚜鍔ㄥ垎... 灞曞紑 xiatian...
绛旓細dhcp server ip-pool VLAN174 gateway-list 192.168.174.1 network 192.168.174.0 mask 255.255.255.0 dns-list 114.114.114.114 璇ラ厤缃鍦ㄤ笁灞浜ゆ崲鏈轰笂濉啓 dns鍜孖P鍦板潃鏍规嵁浣犵殑瀹為檯闇姹傚~鍐
绛旓細杩欎釜寰堢畝鍗曠殑 鐪嬩綘鏈夌殑鏄偅涓瀷鍙风殑浜ゆ崲鏈 鍙傜収鐨勪竴鍛戒护鎵嬪唽DHCP 涓嶅悓鐨刅LAN鏈韩鐨勭綉娈靛氨鏄笉鍚岀殑 http://hi.baidu.com/shgjian/blog/item/ab95ba17425b6d15c93d6df0.html 浣犲彲浠ュ弬鑰冭繖閲岀殑 涓嶅悓鍨嬪彿浼氭湁涓鐐逛笉涓鏍 姝ラ鍩烘湰鐩稿悓.
绛旓細鏈涓夊眰鍔熻兘鐨勫彲浠ヤ笅鏀惧湴鍧銆俰p pool 1abc gateway-list 172.16.30.1 network 192.168.30.0 mask 255.255.0.0 dns-list 172.16.2.2 172.16.2.8
绛旓細211.93.80.129 domain-name baoliu expired unlimited 鑳芥牴鎹甶p鍦板潃鑷姩鍒嗛厤鍒皏lan涓紝杩欎釜鏄叏灞鍦板潃姹犳ā寮忋傛槸H3C鐨勩傛垜閮借浜嗭紝鑳藉鏍规嵁vlan鎺ュ彛鍦板潃鑷姩鍒嗛厤鐨勩傛棤闇鎸囧畾锛岃繖涓槸鍏ㄥ眬妯″紡銆備篃鍙互鍦╥nt vlan 鎺ュ彛涓 浣跨敤dhcp server 杩欏氨鏄帴鍙fā寮忎簡 鍙傝冭祫鏂欙細H3C閲戠墝浠g悊鍟嗗伐绋嬪笀-涓轰綘瑙e喅锛
绛旓細鏄繖鏍风殑锛屼竴鑸垜浠細鎶奃HCP鏀惧湪浼氳仛灞傜殑涓夊眰浜ゆ崲鏈轰笂锛屾斁鍦ㄨ矾鐢变笂涔熷彲浠ヤ絾浼氬奖鍝嶈矾鐢辩殑鎬ц兘銆傚鏋滃湪璺敱涓婅缃瓺HCP锛岄偅涔堝湪涓嬮潰鐨勪笁灞備氦鎹㈡満鐨勬瘡涓猇lan铏氭嫙鎺ュ彛閭i噷瑕佽缃竴涓DHCP鏈嶅姟鍣ㄧ殑鍦板潃锛岃屼笖鍦ㄨ矾鐢辫〃涓淇濊瘉姝ゅ湴鍧鍙揪銆傞厤缃瓺HCP鏈嶅姟鍣ㄧ粍1瀵瑰簲鐨処P鍦板潃銆俒Quidway] dhcp relay server-group 1 ...