
手上有台1240ag,想让客户端能用dhcp获得ip,我已经配置了0 O4 @1 E$ o# u2 u, _ U
ip dhcp pool test
5 W# g7 A0 ^# P/ R2 X network 192.168.2.0 255.255.255.0+ w" |; X/ ^( n0 L1 T) _
default-router 192.168.2.19 E5 {: f. D/ \2 _
lease 2
/ {4 |0 o: }' o& P1 C6 {1 Q% q( B但是客户端不能得到ip,应该怎样才能让这个无线ap正常开启dhcp?或者这机器能正常开启dhcp吗? W: a$ E B t& W
5 V3 p, _+ q# `' g========下面是现在的配置==========
7 W: X" U6 Y& d$ s0 S! C9 J2 s8 ]7 y! j Z @3 B5 W
Building configuration...
) Y, r3 @: _; T* d
* Q+ Z* c3 p* D7 k6 aCurrent configuration : 1434 bytes
# m5 e, S. r( s' Z1 l0 p!+ }9 |+ f- M8 _$ ^5 ]- z9 ^
version 12.4& Z0 C6 G) K f& U
no service pad
4 [: Y( z! f& V8 Vservice timestamps debug datetime msec
0 P" k; k9 m# s2 f! r# [/ G; Aservice timestamps log datetime msec3 L( A, v n$ N6 t1 [
service password-encryption
2 F6 I5 V8 {' h1 q9 P) y!
% Y3 s; l0 F8 t/ x. Whostname ap, Y- W5 w. E! h# n I+ ~% |3 l
!6 D; L2 a E$ Z# g9 T' j+ S' E
enable secret 5 $1$rNt1$3PgMFG/xtgb0R7njtkT/l0; |. T3 V) n* A4 L0 H6 Y# R' J0 m; @
!3 x! f2 a9 H& Q* C
no aaa new-model& _% Q9 W+ V8 {
no ip dhcp use vrf connected
6 Q/ u0 L$ C5 Nip dhcp excluded-address 192.168.2.1
/ O6 K0 x5 n) C# b3 D) p!
, o: g" q" H) S8 V+ \! f1 w0 Gip dhcp pool test
7 D+ W: B1 G( T* \- P( }+ {# K* V0 O network 192.168.2.0 255.255.255.0% Y8 T) d# x8 e3 o5 ?
default-router 192.168.2.1
5 {) I/ H, Z3 b: e- y$ f lease 2
4 n; t/ j5 x r @!9 j6 I6 o" i1 s/ r3 e% |# u
!; W) W, y A( j0 ^( [1 |, `8 q- O
dot11 syslog
; z7 S: I2 A7 z!' U3 `: n+ l. L# w
dot11 ssid sss) n! A1 c, H- P$ e+ X0 c" E. `* g$ Z
authentication open8 R& O' R/ }5 ~4 a+ g
guest-mode
9 A" c& H, A n" ]3 _!
# T+ J$ O& s/ `4 @9 H: lpower inline negotiation prestandard source
1 h9 P) E6 m4 o. i!! h0 ^2 l5 I8 z8 q4 ^( C$ m
!% H( ^* N& ^8 t( B$ f
username Cisco password 7 01300F175804# e% q% k* A5 |5 X9 ]0 A" q
username ocamar nopassword
# b- ?: E+ S3 M!
' e% B2 y4 I1 J3 K I!2 x; o( ]! U# t8 ~+ Y7 I
bridge irb, `5 j) a; D: U/ T$ e# c. ]! P( T
!
0 `* Q& D+ S R0 ]. h& [!9 W$ e/ y& i2 ?" o; U
interface Dot11Radio0
$ t# w4 w$ n, l/ \7 S! ?4 x no ip address \/ g: f4 _/ o3 _- _3 R! x3 x
no ip route-cache
3 L# r, [% e& ^, M u !- Y5 [/ k# q! G3 Z+ S) x; K' R1 ~# R
ssid sss
# \, V4 |8 A/ ]: W6 j !
% H1 Y8 j4 s/ K, B antenna transmit left-b; `' w0 x2 R# l* _% J; Y
antenna receive left-b
0 s( D# C6 Y0 E4 R1 s& E power local 14
( l# C! O/ F% b3 h z2 V, R* c power client 14# r; p0 i. J; j3 ~, v
channel 2412
0 t7 K" K# u1 t. ?" _: H station-role root( x4 }; i& Q# e# V; M
bridge-group 1; E4 z7 U. N ?: j7 |# R
bridge-group 1 subscriber-loop-control1 M9 W8 G$ S3 k# s7 Z" g. }
bridge-group 1 block-unknown-source) Q/ F I$ L) _. |0 H, z
no bridge-group 1 source-learning9 L% @8 {, g) O" e# n& M2 S
no bridge-group 1 unicast-flooding
; f' _) b; i9 R bridge-group 1 spanning-disabled
( x& l4 @: I( ?, s* n+ h/ j!
3 W# G) T( w5 e( Einterface FastEthernet0
: i0 }+ I. N( w3 B9 u9 Z" D3 a ip address 111.111.102.252 255.255.255.00 u4 \" d2 I% } z
no ip route-cache! [0 g/ Z& n* _1 n6 D' K
duplex auto8 F- k# }5 z9 y) C# o1 |3 U! }- P
speed auto* y" r$ e! U4 X. i
bridge-group 1
6 [; y5 F I; O7 E+ m6 y" T2 W6 o no bridge-group 1 source-learning
: G0 S3 b v5 g, h; F7 X bridge-group 1 spanning-disabled/ u: A* ]% L* T$ i. Y
!
x) k% J. Q5 P- O6 ]5 @+ V: W% qinterface BVI1
9 U7 P& t9 Y! A+ C/ N$ x* n ip address 111.111.102.248 255.255.255.0
2 |; p+ O* F6 U- k no ip route-cache
. q {) T) n0 c* {9 V- p! k!1 A/ h. I# k2 o% P
ip default-gateway 111.111.102.254
3 J2 x: ]% k" [/ @/ | S: Y9 tip http server$ A& J+ L% D/ B- u w
no ip http secure-server
( I) d$ v @: Bip http help-path http://www.ocamar.com/
6 Z% p* T. I- K7 O# ibridge 1 route ip
7 d' M/ f ^, h* H8 N9 S! b!
: ^5 D1 D+ B+ {; M( x( o!
. w3 @: Q( J$ H0 i6 Q4 v( W!. w* }. s8 m9 x
line con 0
1 z2 s; \1 i% d0 m3 cline vty 0 4- B9 @+ t3 r' F" I0 c( R. U2 B
login local
) [( n5 H3 ^9 H% t!
: g0 v/ w: F, e% z1 a1 Pend- M/ G7 N" E( _; L6 V8 K
: [/ P$ C( e: n$ D2 \" p, A: L这个是我现在的配置,大家看看怎么改下能让无线客户端通过dhcp得到ip. y5 k+ d, y& k1 G n* [
这台ap是内网的扩展,不连接互联网的 |
|