The Unnumbered IP functions and command-line WAG54G router configuration implementation
- Author
- XuXuBin
- Advisor
- ZhangWei
- School
- East China Normal University
- Major
- Software Engineering
- Classification
- TN915.05 Communication network equipment
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 69
- Citations
- 0
Abstract
In the time that the network is developing speedily, the router plays a very important role, primarily employed in the connection of WAN, interlinkage of heterogeneous networks and segment of networks, being one of the cores constructing the networks. A router is composed of hardware and software, which has the properties of embedded system.The platform the paper study is WAG54G router selled by Linksys Corp. , whose integral name is Wireless-G ADSL Gateway. The software of WAG54G router is built on the Linux operating system contributed to its rich and strong network function, inherently steady character and ease to integrate all kinds of different hardware drivers, etc. The paper focuses on the design and implementation of the function of Unnumbered IP and Command Line Interface configuration abbreviated by CLI on the WAG54G router.The paper firstly discusses the general principal and application of Unnumbered IP. Unnumbered IP functions in saving IP address on point-to-point connection, which has no RFC standard, whose basic principle is not to distribute the effect IP address on the point-to-point interface, in other words, the IP address on the point-to-point interface has almost no chance in appearing in any existing packages on Internet. In succession, the particularly implemental principal and detailed design of Unnumbered IP that fits the WAG54G router is illustrated combined with its applied background: the WAG54G router is mainly used by family as ADSL router, through dialing in the way of PPPoE, the PPP linkage featured by point-to point to be established between the ADSL interface of the router and the remote NSP/ISP’s access server, after which, by adding new function that enables negotiating the subnet mask between the two entities on PPP linkage to the standard PPP protocol implementation, the flexible and adaptable subnet is successfully acquired on the PPP linkage, as is the base on which the acquired subnet can be used to configure the Ethernet interface of the router and the ADSL interface is reassigned by the special IP address that seldom exists in the packages running on Internet such as 1.1.1.1 to make it the so-called Unnumbered IP interface, through which, except the IP address within the acquired subnet that is already consumed by the Ethernet interface of the router, all the other IP addresses within it can be assigned to the LAN connected to the router by its DHCP service.The other topic of the paper focuses on CLI which helps user interactively configure the router, as is familiar with and preferred by the professional users.After the principal of CLI is explained including the partition of the commands’ modes and the principle of the NVRAM used to save and fetch the configuration variables, the design and implementation of the CLI system are specified. In order to approach the style of the commands to the Cisco router and easily change the commands to the customers’ requirements, the flexible data structures and software architecture aredesigned. The CLI system can be partitioned by master control module, command register module, functional keys disposal module, command parser module and command execution module.
Table of contents
Chinese Abstract 6-7
Abstract 7-9
Chapter 1 Introduction 9-13
1.1 Router Overview
1.2 Unnumbered IP research background 9-10
1.3 router configuration 10-11
1.4 WAG54G router Introduction 11-12
the content and structure of 1.5 papers 12-13
general principles of Chapter II Unnumbered IP 13-19
2.1 Unnumbered IP concept 13
2.2 saving the IP address of the other methods 13-14
2.3 point-to-point connection 14-15
2.4 nbsp class Unnumbered IP subnet point-to-point connection; 15-17
2.5 classless subnet the Unnumbered IP point-to-point connection 17
2.6 Unnumbered IP instance 17-19
the third chapter WAG54G achieve Unnumbered IP router principle 19-31
3.1 WAG54G router Unnumbered IP functions applicable background 19-20
3.1.1 ADSL broadband end users to obtain an IP address 19-20
3.2 WAG54G the basic ideas of the router Unnumbered IP 20-21
90 options, the principle of the OPTION 3.3 The 21-26
3.3.1 PPPoE protocol analysis 21-22
3.3.2 PPP protocol analysis 22-26
3.3.2.1 PPP protocol datagrams 22-23
3.3.2.2 PPP link establishment process 23-24
3.3.2.3 consultation process four basic scenarios 24-26
3.4 router WAN side does not use the principle of a valid IP address 26-28
the 3.5 router main features Unnumbered IP relationship 28-31
the 3.5.1 WAN side packet relationship Unnumbered IP 28-29
3.5.2 LAN side settings Unnumbered IP relationship 29
3.5.3 routing functions Unnumbered IP relationship 29-30
3.5.4 port mapping function with Unnumbered IP relationship 30-31
the fourth chapter WAG54G router command-line configuration of the principle 31-40
the
4.1 WAG54G router command line configuration mode 31-34
4.1.1 command configuration mode concept 31
4.1.2 WAG54G router configuration mode 31-33
4.1.3 command to configure the relationship between mode 33-34
4.2 WAG54G router NVRAM the principle 34-40
The basic concept of the
4.2.1 WAG54G router NVRAM 34
4.2.2 WAG54G the realization of the principle of the router's NVRAM 34-38
4.2.2.1 NVRAM storage area 34-36
the realization principle 4.2.2.2 NVRAM and user interface design 36-38
4.2.3 WAG54G Router Web Configuration and CLI configuration relationship 38-40
the overall design and implementation of the the
the fifth chapter WAG54G router system 40-47
the
5.1 WAG54G router hardware design 40-41
5.2 WAG54G router software overall design 41-42
5.3 WAG54G router operating system software 42-44
5.3.1 embedded Linux 42-43
5.3.2 embedded Linux root file system 43
5.3.3 Embedded Linux boot and start 43-44
5.4 WAG54G router software embedded development environment 44-45
5.4.1 cross compiler 44
5.4.2 the produced binary image file 44-45
5.4.3 debugging 45
5.5 Unnumbered IP protocol and command line interface module and system configuration CLI 45-47
5.5.1 Unnumbered IP system interface 45-46
5.5.2 command line to configure the the CLI system interface 46-47
the
of Chapter WAG54G router Unnumbered IP design and implementation 47-65
6.1 PPP the OPTION realization of 90 options 47-61
6.1.1 build development OPTION 90 network environment 47
6.1.2 WAG54G router to start the PPP protocol module 47-49
6.1.3 PPP protocol module composed relationship 49
6.1.4 pppd module file composed 49-50
6.1.5 pppd module OPTION 90 main data structure 50-52
6.1.6 pppd module of finite state machine to achieve 52-54
6.1.7 from LCP stages to IPCP stage are found; 54-56
6.1.8 adds OPTION 90 options 56-57
6.1.9 testing OPTION 90 options 57-61
6.2 Unnumbered IP main module implementation 61-63
6.2.1 Unnumbered IP main module startup process 61-62
6.2.2 Unnumbered IP main module execution flow 62-63
the Unnumbered IP functions
6.4 test router 63-65
6.4.1 build a test Unnumbered IP network environment 63
6.4.2 Test procedure and results 63-65
the
the Chapter VII WAG54G router command line configuration Design and Implementation 65-79
the
the 7.1 router command-line configuration modules design features 65
the 7.2 router command-line configuration module core data structure 65-68
7.3 router command line configure the system's overall design framework 68-69
7.4 router command line configuration module design and implementation 69-79
7.4.1 command line configuration initialization 69-70
7.4.2 command registered 70-72
7.4.3 authentication methods 72
master module 7.4.4 command line configuration 72-73
7.4.5 main function key processing to achieve 73-74
7.4.5.1 command completion function realization 73-74
7.4.5.2 command history function to achieve 74
7.4.6 command parser achieve 74-76
7.4.7 command handler achieve 76-78
7.4.8 command line configuration module integrated into the the router software systems 78-79
Chapter VIII summarizes 79-81
the
References 81-82
Acknowledgements 82
Related dissertations
- The Research and Design of Xiangyang Career Technical College Campus Network Virus Prevntion System
- Hierarchical Network Routing Implementation in Family Gateway
- Research on Storage System in High Performance Routers
- Smart Home System Based on Zigbee Wireless Communication Technology
- Research on Key Technologies of Cost-efficient Fault-tolerant Networks-on-chip
- Design of On-board Bus Networks Based on SpaceWire
- Research of Downhole Data Acquisition System Based on ZigBee Protocol
- The Planning and Construction of Campus Network
- Research on the System of Anomaly Traffic Identihcation and the Key Technologies
- A Approach and Realization of Router Attack Technology Based on Vulnerability Attacking Theory
- The Design and Development of the Router Remote Management Assistant
- Implementation Scheme and Implementation Research for AQM Algorithms Based on FPGA
- Research and Implementation of Test Methods of Ethernet Routers and Switches Physical Layer Interface
- Research on Ethernet switch / router protocol testing method
- Research and Implement of Packet Transport Network Store-and-Forward and Scheduling Key Technology
- The border gateway protocol based on Linux implementation and parallel reconstruction
- Design and Implementation of Router Products on Upper Application Based on the Broadlight Platform
- Optimization of Baosteel Terminal Security Management System
- The Design and Implementation of WAN Interface Management Software for Router
- Study on Hybrid Storage Systems