| 会员登陆 |
|
| 代考详细流程 |
|
|
| IT代考--本站服务 |
itsky100.com- IT认证代考 联盟的 代考 机构,提供 CCNA 代考 ,MCSE 代考 ,MCP 代考 ,CCNP 代考 ,JAVA 代考 ,ORACLE 代考 等各种IT 认证替考 服务。 |
| 免费提供 IT认证 学习资料 考试题库 CCNA CCNP JAVA CIW MCSE MCSD教学资料 免费下载。 |
| IT认证代考 ,具体操作在我们的考试中心进行,通过百分百,请您绝对放心。 |
|
|
|
| |
| |
| |
| |
| |
|
|
|
在实际的网络环境中经常需要通过路由器拨号到ISP,这时路由器的IP 地址有ISP采用DHCP的方式给定。IBM路由器在MRS 3.3版本之后提供了对于动态IP地址的支持。 动态地址具有以下3个方面的作用: 提供了路由器通过IPCP取得PPP端口IP地址的能力。 如果IPCP同时提供 DNS 的信息,DHCP客户端也可以得到这些信息。 动态更新IP 访问控制,这样定义的filter就可以用于NAT/NAPT。 动态IP的功能使 IBM 路由器具备连接ISP并从ISP取得IP地址的能力,而不必事先知道IP地址
动态IP地址的设置 我们下面将通过一个例子来说明动态IP地址的具体配置。在这个例子中我们将同时配置 isp端和客户端的路由器。动态 IP 将在客户端的路由器上配置,客户端路由器会从isp端的路由器取得公网的IP地址。并且客户端路由器也激活了DHCP服务器和NAT功能。
网络拓扑图如下:
ISP 端路由器的配置 设置系统名为isp。 添加Token ring 接口。
Config (only)>set hostname isp Host name updated successfully Config (only)>add device tr-2 Device Slot #(1-4) [1]? Device Port #(1-2) [1]? Adding 2-port IBM Token Ring device in slot 1 port 1 as interface #4 Use "net 4" to configure 2-port IBM Token Ring parameters
设置 WAN 口,使其支持远程拨入。 在WAN口上添加dial-in circuit。
Config (only)>set data v34 2 Config (only)>add device dial-in Enter the number of PPP Dial-in Circuit interfaces [1]? Adding device as interface 5 Defaulting data-link protocol to PPP Base net for this circuit [0]? 2 Enable as a Multilink PPP link? [no] Disabled as a Multilink PPP link. Add more dial circuit interface(s)?(Yes or [No]): Use "set data-link" command to change the data-link protocol Use "net " command to configure dial circuit parameters
添加远程拨入的ppp用户 'aaa'。
onfig (only)>add ppp-user Enter name: []? aaa Password: Enter again to verify: Allow inbound access for user? (Yes, No): [Yes] Will user be tunneled? (Yes, No): [No] Is this a 'DIALs' user? (Yes, No): [Yes] Type of route? (hostroute, netroute): [hostroute] Number of days before account expires [0-1000] [0]? Number of grace logins allowed after an expiration [0-100] [0]? IP address: [0.0.0.0]? Enter hostname: []? Allow virtual connections? (Yes, No): [No] Give user default time allotted ? (Yes, No): [Yes] Enable callback for user? (Yes, No): [No] Will user be able to dial-out ? (Yes, No): [No] Set ECP encryption key for this user? (Yes, No): [No] Disable user ? (Yes, No): [No] PPP user name: aaa User IP address: Interface Default Netroute Mask: 255.255.255.255 Hostname: Virtual Conn: disabled Time alotted: Box Default Callback type: disabled Dial-out: disabled Status: enabled Account Expiry: Password Expiry: Is information correct? (Yes, No, Quit): [Yes] User 'aaa' has been added
设置 IPCP 使拨入端口向远端客户端发送IP 地址。
Config (only)>n 5 Circuit configuration isp Dial-in Circuit config: 5>enc Point-to-Point user configuration isp PPP 5 Config>set ipcp IP COMPRESSION [no]: Request an IP address [no]: Send our IP address [no]: y Note: unnumbered interface addresses will not be sent. Interface remote IP address to offer if requested (0.0.0.0 for none) [0.0.0.0]? 9.1.1.1 isp PPP 5 Config>exit isp Dial-in Circuit config: 5>exit
设置token ring 端口的IP地址 设置dial in circuit 端口的IP地址
Config (only)>p ip Internet protocol user configuration isp IP config>add add 4 192.1.1.254 255.255.255.0 isp IP config>add add 5 9.1.1.2 255.255.255.255 isp IP config>ena arp-subnet-routing isp IP config>exit
设置发到客户端的DNS 的IP 地址。
Config (only)>fea dials Dial-in Access to LANs global configuration isp DIALs config>set enable dynamic isp DIALs config>set dns primary Primary Domain Name Server (DNS) address [0.0.0.0]? 192.1.1.240 isp DIALs config>exit
客户端路由器的配置: 设置系统名为client. 添加token ring 接口 设置WAN 口并连接V34 modem. 在WAN口上添加dial circuit
Config (only)>set host client Config (only)>add device tr-2 Device Slot #(1-4) [1]? Device Port #(1-2) [1]? Adding 2-port IBM Token Ring device in slot 1 port 1 as interface #4 Use "net 4" to configure 2-port IBM Token Ring parameters config (only)>set data v34 Interface Number [0]? 2 Config (only)>add device dial Base net for the circuit(s) [0]? 2 Enter the number of PPP Dial Circuit interfaces [1]? Adding device as interface 5 Defaulting data-link protocol to PPP Add more dial circuit interface(s)?(Yes or [No]): Use "set data-link" command to change the data-link protocol
在token ring 端口上添加 IP地址 在dial circuit 端口上添加 IP地址 添加通过 dial circuit 端口的缺省路由。 在dial circuit 端口上激活动态 IP
Config (only)>p ip Internet protocol user configuration client IP config>add add 4 192.168.89.254 255.255.255.0 client IP config>add add 5 0.0.0.5 255.255.255.255 client IP config>add router 0.0.0.0 0.0.0.0 0.0.0.5 Cost [1]? client IP config>enable dynamic Interface address []? 0.0.0.5 client IP config>exit
激活 DHCP 服务器功能 添加token ring 端口的IP子网掩码。 添加源DNS 的IP 地址。
| |
|
|
|
|