network bandwidth and causes a series of problems, next we will give a brief introduction to this.
The speed of Route variation convergence is a key factor to measure the quality of a routing protocol. When the network topology changes, it is an important aspect of network availability that the routers in the network can notify each other of the changes in a short period of time and re-calculate the routes.
OSPF uses some technical means (such as SPF
. Second, OSPF is built on the SPF algorithm. SPF is also called DIJKSTRA algorithm. It is named after the founder of this algorithm. The Border Gateway Protocol BGP--BGP is used to replace the EGPExterior Gateway Protocol) Inter-Domain Routing Protocol. The accessibility of information exchange between BGP and other BGP systems is defined by RFC 1163. BGP4 is the fourth version of BGP. It supports CIDR and
distribution system. Ip rip is defined in RFC 1058 and RFC 1723.
RIP2-is the latest enhanced version of RIP. It allows RIP packets to contain more information and provides a simple authentication mechanism. It is described in RFC 1723.
Open Shortest Path First version 2nd (OSPFv2)-it is the second version of OSPF. OSPF is a connection status routing protocol, which is an IETF of an interconnected network engineering task group. The internal gateway protocol workgroup is designed for IP addresse
Now most of the applications will boot from the boot, call the butler is more so, added the boot monitoring service after the boot, even if you do not open the call Butler application, the same can intercept incoming call information.How to start the activity or service from boot:Main steps:1. To have the service or activity to start the boot (this is the boot to start the listenservice of course)2. Write a broadcastreceiver to capture the action_boot_completed broadcast and start the activity o
largest interface IP address as the router identity;5. Zone ID: In a multi-zone network, specify a zone ID for each region6. Authentication type: OSPF supports different authentication methods, the Hello packet sent to the multicast address 224.0.0.5 is authenticated to be received;(one) Advantages of OSPF:1. The link state protocol uses a layered network structure that reduces the spread of LSA and reduces the likelihood that network topology changes affect all routers;2. The link-State protoc
Add an image to the image library.CodeThe Code is as follows:
Public String Insertimage (){ Try { If ( This . Fileupload3.postedfile. contentlength! = 0 ) {Spweb Web = Spcontext. Current. Web; web. allowunsafeupdates = True ; Splist list = Web. Lists [ " Photo " ]; Spfoldercollection spfolders = List. rootfolder. subfolders; arraylist arr = New Arraylist (spfolders. Count ); // Obtain the name (including the suffix) of the uploaded image) String [] Imgtemp = fil
Why do you want to configure Tomcat as the in-process part of Apache?
1. Tomcat processing static page without Apache fast
2. Tomcat is easier to configure than Apache
3. Tomcat does not have Apache stability and robustness
4. Apache supports CGI scripts and api,perl,php, etc.
Now let me try to configure
1. Review me Apache and Tomcat installation first
My machine is the Chinese version of Windows jdk1.3 and has been installed in the d:jdk1.3
Apache I install in D:program filesapache Groupapache
and discard broadcast traffic that exceeds the set value.
Abundant Gigabit scalability
To meet the needs of more users, the Alpha Gigabit Switch series not only provides 24 fixed 10/100/1000TX ports, but also has 2 SPF fiber expansion slots (optional ), with rich Gigabit scalability, all SPF modules support hot swapping, making the construction of Internet cafes, small and medium-sized enterprises and
Metering Standard. RIP is widely used in the routing selection of global interconnection networks. It is an internal gateway protocol provided by the UNIX Berkeley standard distribution system. Ip rip is defined in RFC 1058 and RFC 1723.
RIP2-is the latest enhanced version of RIP. It allows RIP packets to contain more information and provides a simple authentication mechanism. It is described in RFC 1723.
Open Shortest Path First version 2nd (OSPFv2)-it is the second version of OSPF. OSPF is a
topology. Calculate the shortest path to each network by using the drawn topology and shortest path priority algorithm. Advantages of OSPF route selection Protocol: fast convergence speed; service type selection; load balancing and identity authentication. Disadvantages: High router processing capability and bandwidth requirements. Applicable environment: large-scale and complex environments the principles of the Internet are different: Vector-distance routing selection algorithm: No need for a
Long M, N; // vertex, Edge
Void Init ()
{
Long I;
Long eid = 0;
Memset (vist, 0, sizeof (vist ));
Memset (p,-1, sizeof (p ));
Fill (DIS, DIS + maxn, Lmax );
While (! Q. Empty ())
{
Q. Pop ();
}
For (I = 0; I {
Long from, to, cost;
Scanf ("% LD % lD", from, to, cost );
E [Eid]. Next = P [from];
E [Eid]. V =;
E [Eid]. Cost = cost;
P [from] = Eid ++;
// The following applies to undirected graphs
Swap (from, );
E [Eid]. Next = P [from];
E [Eid]. V =;
E [Eid]. Cost = cost;
P [from] = Eid +
OSPF is the link state protocol, mainly interface status (such as IP address, mask, hello time ...).
During the process of establishing adjency between routers, the routers will be exchanged through LSAs until the same area converges. All routers have the same link state database, and then create an SPF tree based on their own root, finally, the route table is calculated based on SPF. any interface changes
uses relative paths to read XML files:I. xml files are generally stored in three locations:1. Put it under the WEB-INF;2. Put the XML file in the/WEB-INF/classes directory or the jar package of classpath;3. Put it in the same package as the Java class to parse it, not necessarily classpath;2. Two corresponding reading methods using relative paths:Method 1: (not verified)Put the XML file under the WEB-INF directory, and thenProgram code:Inputstream is = getservletcontext (). getresourceasstream
relative paths:* See the previous article "read an XML file through a virtual path or relative path to avoid hard encoding ".* The content is as follows:Java uses relative paths to read XML files:I. xml files are generally stored in three locations:1. Put it under the WEB-INF;2. Put the XML file in the/WEB-INF/classes directory or the jar package of classpath;3. Put it in the same package as the Java class to parse it, not necessarily classpath;2. Two corresponding reading methods using relativ
, Attributes attributes)// Receive notifications starting with the elementVoid endElement (String uri, String localName, String qName)// Receives the notification that the element ends.Void characters (char [] ch, int start, int length)// Receive notifications of character dataThe method for obtaining the SAX Parser is similar to that for DOM. The method for getting the SAX Parser is as follows:SAXParserFactory spf = SAXParserFactory. newInstance ();
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.