!
end
2、按动态IP用户配置
图
图三 按动态IP用户配置的网络范例
这个例子与上例不同,用户是采用动态IP上网,更适合实际组网需要。
……
hostname center
!
username remote password 7 xxxxxx
……
ip subent-zero
isdn switch-type primary net5
!
controller E1 0
pri-group timeslots 1-31
!
……
interface Serial0:15
ip address 202.100.100.62
255.255.255.224
……
encapsulation ppp ;规定用地址池分配IP
peer default ip address pool isdn
dialer idle-timeout 7200
dialer-group 1
no fair-queue
ppp multilink
ppp authentication chap
!
……
! ;设置地址池
ip local pool isdn 202.100.100.33
202.100.100.60
……
dialer-list 1 protocol ip permit
……
end
200卡的驱动程序有基于DOS、windows3.1、windows95的版本,其中DOS与win31版本推荐使用Novel Netware ODI Client方式,默义采用ipx包,如果用户要用TCP/IP包,则需添加TCP/IP协议栈,win95自带TCP/IP栈,因此使用起来较方便,为了充分利用200卡所遵循的RFC171MultiLink PPP功能,最好安装微软公司提供的ISDN补丁软件MSISDN11.EXE。
3、混合IP用户配置
例3说明了1003GN 200卡共存的例子。
图
图三 按混合IP用户配置的网络范例
在这个例子中,4500的PRI口同时处理静态IP与动态IP用户。
hostname center
!
username remote password 7 xxxxxx
……
ip subnet-zero
isdn switch-type primary-net5
!
controller E1 0
pri-group timeslots 1-31
!
……
interface Serial0:15
ip address 202.100.100.62 255.255.255.224
……
encapsulation ppp
peer default ip address pool isdn
dialer idle-timeout 7200
dialer map ip 202.100.100.61 name remote
dialer-group 1
no fair-queue
ppp multilink
ppp authentication chap
!
……
!
ip local pool isdn 202.100.100.33 202.100.100.60
……
ip route 202.100.100.0 255.255.255.224 202.100.100.61
……
dialer-list 1 protocol ip permit
……
!
end
在上面的配置中,注意静态IP与地址池不要有冲突。
1003参考设置:
……
hostname remote
!
username center password 7 xxxxxxxx
……
ip subnet-zero
isdn switch-type basic-net3
!
……
interface Ethernet0
ip address 202.100.100.1 255.255.255.244
!
interface BRIO
ip address 202.100.100.61 255.255.255.244
encapsulation ppp
bandwidth 64
……
dialer idle-timeout 300
dialer wait-for-carrier-time 60
dialer map ip 202.100.100.62 name center broadcast……
dialer load-threshold 1
dialer-group 1
no fair-qu