Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(416 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
The '''Virtual Router Redundancy Protocol''' ('''VRRP''') is a computer networking protocol  that provides for automatic assignment of available [[Internet Protocol]] (IP) routers to participating hosts. This increases the availability and reliability of routing paths via automatic [[default gateway]] selections on an IP [[subnetwork]].
This is a preview for the new '''MathML rendering mode''' (with SVG fallback), which is availble in production for registered users.


The protocol achieves this by creation of virtual routers, which are an abstract representation of multiple routers, i.e. master and backup [[router (computing)|router]]s, acting as a group. The default gateway of a participating host is assigned to the virtual router instead of a physical router. If the physical router that is [[routing]] packets on behalf of the virtual router fails, another physical router is selected to automatically replace it. The physical router that is forwarding packets at any given time is called the master router.
If you would like use the '''MathML''' rendering mode, you need a wikipedia user account that can be registered here [[https://en.wikipedia.org/wiki/Special:UserLogin/signup]]
* Only registered users will be able to execute this rendering mode.
* Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.


VRRP provides information on the state of a router, not the routes processed and exchanged by that router.  Each VRRP instance is limited, in scope, to a single subnet. It does not advertise [[Internet Protocol|IP]] routes beyond that subnet or affect the [[routing]] table in any way.
Registered users will be able to choose between the following three rendering modes:


VRRP can be used in [[Ethernet]], [[Multiprotocol Label Switching|MPLS]] and [[token ring]] networks with [[IPv4|Internet Protocol Version 4]] (IPv4), as well as [[IPv6]].
'''MathML'''
:<math forcemathmode="mathml">E=mc^2</math>


The protocol is described in IETF publication RFC 5798, which is an open standard, but a similar protocol with essentially the same facility is allegedly patented and licensed.<ref>[http://www.ietf.org/ietf-ftp/IPR/VRRP-CISCO IETF source]</ref>
<!--'''PNG'''  (currently default in production)
:<math forcemathmode="png">E=mc^2</math>


==Implementation==
'''source'''
A virtual router must use 00-00-5E-00-01-XX as its [[Media Access Control]] (MAC) address. The last byte of the address (XX) is the Virtual Router IDentifier (VRID), which is different for each virtual router in the network. This address is used by only one physical router at a time, and it will reply with this MAC address when an ARP request is sent for the virtual router's IP address. Physical routers within the virtual router must communicate within themselves using packets with [[Multicast address|multicast]] [[Internet Protocol|IP]] address 224.0.0.18 and IP protocol number 112.<ref>[http://tools.ietf.org/html/rfc3768#section-5.2 Section 5.2.4.  Protocol]</ref>
:<math forcemathmode="source">E=mc^2</math> -->


Routers have a priority of between 1-255 and the router with the highest priority will become the master. When a planned withdrawal of a master router is to take place, its priority can be lowered which means a backup router will pre-empt the master router status rather than having to wait for the hold time to expire. This reduces the black hole period.
<span style="color: red">Follow this [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering link] to change your Math rendering settings.</span> You can also add a [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering-skin Custom CSS] to force the MathML/SVG rendering or select different font families. See [https://www.mediawiki.org/wiki/Extension:Math#CSS_for_the_MathML_with_SVG_fallback_mode these examples].


==Elections of master routers==
==Demos==
A failure to receive a multicast packet from the master router for a period longer than three times the advertisement timer causes the backup routers to assume that the master router is dead. The virtual router then transitions into an unsteady state and an election process is initiated to select the next master router from the backup routers. This is fulfilled through the use of multicast packets.


Backup router(s) are only supposed to send multicast packets during an election process. One exception to this rule is when a physical router is configured with a higher priority than the current master, which means that on connection to the network it will preempt the master status. This allows a system administrator to force a physical router to the master state immediately after [[booting]], for example when that particular router is more powerful than others within the virtual router. The backup router with the highest priority becomes the master router by raising its priority above that of the current master. It will then take responsibility for routing packets sent to the virtual gateway's MAC address. In cases where backup routers all have the same priority, the backup router with the highest IP address becomes the master router.
Here are some [https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Frederic.wang demos]:


All physical routers acting as a virtual router must be in the same LAN segment. Communication within the virtual router takes place periodically. This period can be adjusted by changing advertisement interval timers. The shorter the advertisement interval, the shorter the black hole period, though at the expense of more traffic in the network. Security is achieved by responding only to first hop packets, though other mechanisms are provided to reinforce this, particularly against local attacks. Election process is made orderly through the use of [[skew time]], derived from a router's priority and used to reduce the chance of the [[thundering herd problem]] occurring during election. The [[skew time]] is given by the formula <math>1 - \frac{Priority}{256}</math> (expressed in milliseconds).


Backup router utilization can be improved by load sharing. For more on this, see RFC 3768.
* accessibility:
** Safari + VoiceOver: [https://commons.wikimedia.org/wiki/File:VoiceOver-Mac-Safari.ogv video only], [[File:Voiceover-mathml-example-1.wav|thumb|Voiceover-mathml-example-1]], [[File:Voiceover-mathml-example-2.wav|thumb|Voiceover-mathml-example-2]], [[File:Voiceover-mathml-example-3.wav|thumb|Voiceover-mathml-example-3]], [[File:Voiceover-mathml-example-4.wav|thumb|Voiceover-mathml-example-4]], [[File:Voiceover-mathml-example-5.wav|thumb|Voiceover-mathml-example-5]], [[File:Voiceover-mathml-example-6.wav|thumb|Voiceover-mathml-example-6]], [[File:Voiceover-mathml-example-7.wav|thumb|Voiceover-mathml-example-7]]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Audio-Windows7-InternetExplorer.ogg Internet Explorer + MathPlayer (audio)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-SynchronizedHighlighting-WIndows7-InternetExplorer.png Internet Explorer + MathPlayer (synchronized highlighting)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Braille-Windows7-InternetExplorer.png Internet Explorer + MathPlayer (braille)]
** NVDA+MathPlayer: [[File:Nvda-mathml-example-1.wav|thumb|Nvda-mathml-example-1]], [[File:Nvda-mathml-example-2.wav|thumb|Nvda-mathml-example-2]], [[File:Nvda-mathml-example-3.wav|thumb|Nvda-mathml-example-3]], [[File:Nvda-mathml-example-4.wav|thumb|Nvda-mathml-example-4]], [[File:Nvda-mathml-example-5.wav|thumb|Nvda-mathml-example-5]], [[File:Nvda-mathml-example-6.wav|thumb|Nvda-mathml-example-6]], [[File:Nvda-mathml-example-7.wav|thumb|Nvda-mathml-example-7]].
** Orca: There is ongoing work, but no support at all at the moment [[File:Orca-mathml-example-1.wav|thumb|Orca-mathml-example-1]], [[File:Orca-mathml-example-2.wav|thumb|Orca-mathml-example-2]], [[File:Orca-mathml-example-3.wav|thumb|Orca-mathml-example-3]], [[File:Orca-mathml-example-4.wav|thumb|Orca-mathml-example-4]], [[File:Orca-mathml-example-5.wav|thumb|Orca-mathml-example-5]], [[File:Orca-mathml-example-6.wav|thumb|Orca-mathml-example-6]], [[File:Orca-mathml-example-7.wav|thumb|Orca-mathml-example-7]].
** From our testing, ChromeVox and JAWS are not able to read the formulas generated by the MathML mode.


==History==
==Test pages ==
VRRP is based on Cisco's proprietary [[Hot Standby Router Protocol]] (HSRP) concepts. The protocols, while similar in concept, are not compatible. Therefore, on newer installations VRRP is usually implemented, because it is the standard and is supported by many router and switch products.


* (Cisco Example) '''VLAN Tagging'''
To test the '''MathML''', '''PNG''', and '''source''' rendering modes, please go to one of the following test pages:
*[[Displaystyle]]
*[[MathAxisAlignment]]
*[[Styling]]
*[[Linebreaking]]
*[[Unique Ids]]
*[[Help:Formula]]


track 1 interface Serial0/0/0.1 ip routing      ! Points at the interface that needs to be Prioritized
*[[Inputtypes|Inputtypes (private Wikis only)]]
  interface fastethernet0/0.1                    ! VLANs have to be on a Sub-Interface, It is best practice to match the Sub-Interface # and the VLAN #
*[[Url2Image|Url2Image (private Wikis only)]]
  encapsulation dot1q 1                        ! Enables IEEE 802.1Q VLAN frame tagging, followed by the VLAN # that this sub-interface will route
==Bug reporting==
  ip address x.x.x.x 255.255.255.0              ! Make sure the IP is on the same subnet as the virtual Gateway1 
If you find any bugs, please report them at [https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=Math&version=master&short_desc=Math-preview%20rendering%20problem Bugzilla], or write an email to math_bugs (at) ckurs (dot) de .
  vrrp 1 priority 110                          ! The Priority of the Gateway1
  vrrp 1 ip <Gateway1>                          ! The Virtual Gateway for the VLAN 1
  vrrp 1 preempt delay minimum 20              ! If the other router fails it will wait 20 sec before becoming the master
  vrrp 1 track 1 decrement 15                  ! If the S0/0/0.1 Link fails, This command drops the priority by 15
!
  interface fastethernet0/0.5                    ! VLANs have to be on a Sub-Interface, It is best practice to match the Sub-Interface # and the VLAN #
  encapsulation dot1q 5                        ! Enables IEEE 802.1Q VLAN frame tagging, followed by the VLAN # that this sub-interface will route
  ip address x.x.x.x 255.255.255.0              ! Make sure the IP is on the same subnet as the virtual Gateway2 
  vrrp 5 priority 110                          ! The Priority of the Gateway2
  vrrp 5 ip <Gateway2>                          ! The Virtual Gateway for the VLAN 5
  vrrp 5 preempt delay minimum 20              ! If the other router fails it will wait 20 sec before becoming the master
  vrrp 5 track 1 decrement 15                  ! If the Fa0/0.5 Link fails, This command drops the priority by 15
!
  router bgp <ASN>
  network <Gateway1> mask 255.255.255.0        ! Broadcasts Gateway1 out the WAN through BGP
  network <Gateway2> mask 255.255.255.0        ! Broadcasts Gateway2 out the WAN through BGP
 
==See also==
* [[Common Address Redundancy Protocol]] (CARP) - A non-proprietary, patent-free, and unrestricted alternative to HSRP and VRRP.
* [[Gateway Load Balancing Protocol]] -  A [[Cisco Systems]] proprietary router redundancy protocol providing load balancing
* [[Hot Standby Routing Protocol]] -  A [[Cisco Systems]] proprietary router redundancy protocol
* [[R-SMLT]] (Routed Split Multilink Trunking) - An [[Avaya]] proprietary router redundancy and router load balancing  protocol - replacement for VRRP in Avaya core networks
* [[SMLT]] An [[Avaya]] redundancy protocol
* [[First Hop Redundancy Protocols]] - Lists of default gateway redundancy protocols
 
==References==
{{reflist}}
 
==External links==
* [http://www.keepalived.org/ Keepalived 1.2.x adds ipv6 support]
* [http://tools.ietf.org/html/rfc5798 The current VRRP RFC (RFC 5798 - VRRPv3 for IPv4 and IPv6) which obsoletes RFC3768]
* [http://www.ietf.org/mail-archive/web/vrrp/current/maillist.html The IETF VRRP mailing list archive]
* [http://www.redbooks.ibm.com/redpapers/pdfs/redp3657.pdf A detailed VRRP article]
* [http://kerneltrap.org/comment/reply/477/1567 Controversy involving VRRP and Cisco patents]
* [http://web.archive.org/web/20080625055935/http://www.hanetworks.com/networks/nokia/vrrp/analysis_of_vrrpv2.htm Analysis of VRRPv 2 Issues and Solutions]
* Implementations
** [http://sourceforge.net/projects/vrrpd/ A GPL licensed implementation of VRRP designed for Linux operating systems]
** [http://sourceforge.net/projects/svrrpd/ A BSD licensed implementation of VRRP for Unix-like operating systems] (described as "not functional yet")
** [http://www.keepalived.org A GPL licensed implementation of VRRPv2 for Linux operating systems]
** [http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_vrrp.html Configuring VRRP on Cisco IOS]
** [http://support.3com.com/infodeli/tools/bridrout/u_guides/html/nb111/family/features/vrrp.htm Configuring VRRP on 3com NETBuilder]
** [[Vyatta]], a commercial open-source router / firewall with VRRP functionality.
** [http://www.jbm-web.com/cart/index.php?main_page=product_info&cPath=67&products_id=184 JBM C120 - A cellular enabled enterprise class router]
 
[[Category:Internet protocols]]
[[Category:Routing protocols]]
 
[[de:Virtual Router Redundancy Protocol]]
[[es:Virtual Router Redundancy Protocol]]
[[fr:Virtual Router Redundancy Protocol]]
[[ja:Virtual Router Redundancy Protocol]]
[[ru:VRRP]]

Latest revision as of 23:52, 15 September 2019

This is a preview for the new MathML rendering mode (with SVG fallback), which is availble in production for registered users.

If you would like use the MathML rendering mode, you need a wikipedia user account that can be registered here [[1]]

  • Only registered users will be able to execute this rendering mode.
  • Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.

Registered users will be able to choose between the following three rendering modes:

MathML


Follow this link to change your Math rendering settings. You can also add a Custom CSS to force the MathML/SVG rendering or select different font families. See these examples.

Demos

Here are some demos:


Test pages

To test the MathML, PNG, and source rendering modes, please go to one of the following test pages:

Bug reporting

If you find any bugs, please report them at Bugzilla, or write an email to math_bugs (at) ckurs (dot) de .