Sunteți pe pagina 1din 90

LAN NETWORK

Course 405725: IP Network

Free Powerpoint Templates Ho Chi Minh City University of Technology, Vietnam

Page 1

PREPARED BY

Group 5 Minh Hoang-Gia Loc Vinh-Dao Phat Nguyen-Tan Khanh Nguyen-Duy Instructor Dr. Tra Luu-Thanh

20801248 80801158 40801521 P0810002

Free Powerpoint Templates

Page 2

OUTLINE

CHAPTER 12 ENTERPRISE CAMPUS NETWORK DESIGN (CONT.) Modular network design CHAPTER 13 LAYER 3 HIGH AVAILABILITY Hot Standby Router Protocol (HSRP) Virtual Router Redundancy Protocol (VRRP) Gateway Load Balancing Protocol (GLBP) QUIZ
Free Powerpoint Templates Page 3

Objectives

Understand high availability. Implement high availability. Describe high availability monitoring options. Describe switch supervisor redundancy. Describe gateway redundancy protocols. Configure and verity Cisco IOS server load balancing.

Free Powerpoint Templates

Page 4

OUTLINE
CHAPTER 12 ENTERPRISE CAMPUS NETWORK DESIGN (CONT.) Modular network design CHAPTER 13 LAYER 3 HIGH AVAILABILITY Hot Standby Router Protocol (HSRP) Virtual Router Redundancy Protocol (VRRP) Gateway Load Balancing Protocol (GLBP) QUIZ
Free Powerpoint Templates Page 5

Hierarchical network design


Cisco has refined a hierarchical approach to network design that enables network designers to organize the network into distinct layers of devices. The resulting network is efficient, intelligent, scalable, and easily managed.

Free Powerpoint Templates

Page 6

1-Access Layer
It is present where the end users are connected to the network L2 switching Low per port cost High port density L2 services as basic traffic filtering, basic QOS & VLAN membership

Scalable uplinks to
higher layers Resiliency through multiple uplinks

Free Powerpoint Templates

Page 7

2-Distribution Layer
Provides interconnection between the campus network access & core layers High L3 throughput Security & policy based connectivity QOS Scalability, redundant & resilient high speed link

Free Powerpoint Templates

Page 8

3-Core Layer
Provide connectivity of all distribution layer devices, it is referred to as the backbone very high throughput at L2 or L3 no packet manipulation (no access list, no packet filteration)

redundancy & resiliency


Advanced QOS functions

Free Powerpoint Templates

Page 9

Modular Network Design


To maintain organization, simplicity, and predictability, you can design a campus network in a logical manner, using a modular approach. Each layer of the hierarchical network model can be broken into basic functional units. These units, or modules,can then be sized appropriately and connected, while allowing for future scalability and expansion. You can divide enterprise campus networks into the following basic elements: Switch block A group of access-layer switches, together with their distribution switches. Core block The campus networks backbone. Other related elements can exist. Although these elements do not contribute to the campus networks overall function, they can be designed separately and added to the network design.
Free Powerpoint Templates

Page 10

Building Blocks

Internet Block could also be included Free Powerpoint Templates

Page 11

Switch Block (1)

Consists of both switch and router functions. AL Access Layer Access Layer (AL) L2 switches in the wiring closets connect users L2 devices switches) to the(workgroup network at the access layer Distribution Layer (DL) and provide dedicated bandwidth to each port. L2/L3 devices (multilayer switches) DL Distribution Layer L2 and separate L3 device. L2/L3 switch/routers provide broadcast control, security and connectivity for each switch block.

Free Powerpoint Templates

Page 12

Switch Block (2)


AL devices merge into one or more DL devices. L2 AL devices have redundant connections to the DL device to maintain resiliency. AL switches can support VLANs by assigning individual ports to specific VLAN numbers.In this way, stations connected to the ports configured for the same VLAN can share the same Layer 3 subnet.
The distribution layer also shields the switch block from certain failures or conditions in other parts of the network. For example, broadcasts are not propagated from the switch block into the core and other switch blocks. Therefore, the Spanning Tree Protocol (STP) is confined to each switch block, where a VLAN is bounded, keeping the spanningtree domain well defined and controlled.

Free Powerpoint Templates

Page 13

Sizing the Switch Block


A switch block is too large if: The routers (multilayer switches) at the distribution layer become traffic bottlenecks.This congestion could be because of the volume of interVLAN traffic, intensive CPU processing, or switching times required by policy or security functions. Broadcast or multicast traffic slows down the switches and routers

Free Powerpoint Templates

Page 14

Switch Block Redundancy


The switch block becomes fully dependent on spanning-tree convergence to keep the connections loop free. RSTP should be used on all the switches to improve the con-vergence time. The link between the two distribution switches must be a Layer 2 link. The accessVLAN must extend across this link so that users on either access switch can reach the Layer 3 gateway.

Free Powerpoint Templates

Page 15

Switch Block Redundancy (1)


The switch block depends on STP convergence;RSTP should be used whenever possible. The link between the two distribution switches must be a Layer 2 link that carries the access VLAN. The access layer switches must be connected by Layer 2 links along the daisy chain.Without these links, the access switches will not have a redundant path upward. When a link between two access switches fails, the users can become isolated from the Layer 3 gateway in the distribution layer. This can create strange behavior from the users Free Powerpoint Templates perspective.

Page 16

Switch Block Redundancy (2)


As a best practice, all Layer 2 connectivity should be contained within the access layer.The distribution layer should have only Layer 3 links.

Free Powerpoint Templates

Page 17

Switch Block Redundancy (3)


This best practice design offers the following attributes: No dependence on STP convergence; each VLAN extends to the distributions switches, but no further. Therefore, the STP topology is always converged. A Layer 3 link is needed between the distribution switches to carry routing updates.stability is offered through the fast convergence of the routing protocol.

Free Powerpoint Templates

Page 18

Core Block (1)


A core is required when there are two or more switch blocks, otherwise the core or backbone is between the distribution switch and the perimeter router. The core block is responsible for transferring cross-campus traffic without any processor-intensive operations. All the traffic going to and from the switch blocks, server blocks, the Internet, and the wide-area network must pass through the core.

Core Block

Free Powerpoint Templates

Page 19

Core Block (2)


Traffic going from one switch block to another also must travel through the core. The core handles much more traffic than any other block. must be able to pass the traffic to and from the blocks as quickly as possible

Free Powerpoint Templates

Page 20

Core Block (3)


Because VLANs terminate at the distribution device, core links are not trunk links and traffic is routed across the core. core links do not carry multiple VLANs per link. One or more switches can make up a core subnet a minimum of two devices must be present in the core to provide redundancy Two basic core block designs Collapsed core Dual core

Free Powerpoint Templates

Page 21

Collapsed core (1)

A collapsed core block is one in which the hierarchys core layer is collapsed into the distribution layer. Here, both distribution and core functions are provided within the same switch devices.
Free Powerpoint Templates Page 22

Collapsed core (2)


Consolidation of DL and core-layer functions into one device. prevalent in small campus networks Each AL switch has a redundant link to the DL switch. Each AL switch may support more than one subnet; however, all subnets terminate on L3 ports on the DL/core switch Redundant uplinks provide L2 resiliency between the AL and DL switches. Spanning tree blocks the redundant links to prevent loops. Redundancy is provided at Layer 3 by the dual distribution switches with Hot Standby Router Protocol (HSRP), providing transparent default gateway operations for IP. (later)

Free Powerpoint Templates

Page 23

Dual Core (1)

A dual coreconnects two or more switch blocks in a redundant fashion. Although the collapsed core can connect two switch blocks with some redundancy, the core is not scalable when more switch blocks are added. Free Powerpoint Templates

Page 24

Dual Core (2)


Provides two equal-cost paths and twice the bandwidth. Each core switch carries a symmetrical number of subnets to the L3 function of the DL device. Each switch block is redundantly linked to both core switches, allowing for two distinct, equal path links.

Free Powerpoint Templates

Page 25

OUTLINE
CHAPTER 12 ENTERPRISE CAMPUS NETWORK DESIGN (CONT.) Modular network design CHAPTER 13 LAYER 3 HIGH AVAILABILITY Hot Standby Router Protocol (HSRP) Virtual Router Redundancy Protocol (VRRP) Gateway Load Balancing Protocol (GLBP) QUIZ
Free Powerpoint Templates Page 26

Introduction to First Hop Redundancy

Proxy ARP Static Default Gateway HSRP VRRP GLBP

Free Powerpoint Templates

Page 27

Proxy ARP
Legacy solution. Enabled by default. Used before default gateways were supported on IP clients. End station acts as if destination were on same network segment. Relatively slow due to reliance on aging out of ARP cache.
Free Powerpoint Templates Page 28

Static Default Gateway


Not dynamic. Does not provide secondary path.

Free Powerpoint Templates

Page 29

Hot Standby Router Protocol (HSRP)


Cisco-proprietary gateway redundancy protocol. Participating routers talk to each other and agree on a virtual router with a virtual IP address which end systems use as a default gateway.
Free Powerpoint Templates Page 30

HSRP Failover
When active router or links between routers fail, the standby router stops seeing hello messages from active router. Standby router then assumes role of forwarding router. Because new forwarding router assumes both IP and MAC address of virtual router, end stations see no disruption in Free Powerpoint Templates service.

Page 31

HSRP Operation
HSRP active and standby routers send hello messages to multicast address 224.0.0.2 UDP port 1985. Hello messages used to communicated between routers within HSRP group. All routers in HSRP group need to be L2-adjacent. All routers in an HSRP group have specific roles and interact in specific ways: Virtual router Active router Standby router Other routers
Free Powerpoint Templates Page 32

HSRP MAC Address

Router A assumes the active role and forwards all frames addressed to the assigned HSRP MAC address of 0000.0c07.acxx, where xx is the HSRP group identifier.
Free Powerpoint Templates Page 33

HSRP States
State Initial Definition The beginning state. The initial state indicates that HSRP does not run. This state is entered via a configuration change or when an interface first comes up.

Listen

The router knows the virtual IP address, but the router is neither the active router nor the standby router. It listens for hello messages from those routers.
The router sends periodic hello messages and actively participates in the election of the active or standby router. A router cannot enter speak state unless the router has the virtual IP address. The router is a candidate to become the next active router and sends periodic hello messages. With the exclusion of transient conditions, there is, at most, one router in the group in standby state. The router currently forwards packets that are sent to the group virtual MAC address. The router sends periodic hello messages. With the exclusion of transient conditions, there must be, at the most, one router in the active state in the group.

Speak

Standby

Active

Free Powerpoint Templates

Page 34

HSRP State Transition

Router A starts. As it is the first router for standby Group 1 in the subnet, it transits through the listen and speak states and then becomes the active router. Router B starts after Router A. While Router B is in listen state, Router A is already assuming the standby and then the active role. As there is already an existing active router, RouterTemplates B assumes the standby role. Free Powerpoint

Page 35

HSRP Active Router and Spanning Tree Topology

In a redundant spanning-tree topology, some links are blocked. The spanningtree topology has no awareness about the HSRP configuration. There is no automatic relationship between the HSRP active router election process and the Spanning Tree Root Bridge election. When configuring both spanning tree and HSRP (or any other first hop redundancy protocol), you must make sure that the active router is the same as the root bridge for the corresponding VLAN. When the root bridge is different from the HSRP active router, a suboptimal path can result, as Free Powerpoint Templates illustrated. Page 36

Configuring HSRP Configure HSRP on the interface.


Switch(config-if)#
standby group-number ip ip-address

The group number is optional and indicates the HSRP group to which this interface belongs. Specifying a unique group number in the standby commands enables the creation of multiple HSRP groups. The default group is 0. The IP address is that of the virtual router IP address for the HSRP group.
Free Powerpoint Templates Page 37

Configuring HSRP Priority and Preempt


To set the HSRP priority value of a router, enter this command in interface configuration mode:
standby group-number priority priority-value

The priority value can be from 0 to 255. The default value is 100. During the election process, the router with the highest priority in an HSRP group becomes the active router. If a tie occurs, the router with the highest configured IP address becomes active. If the routers do not have preempt configured, a router that boots up significantly faster than the others in the standby group becomes the active router, regardless of the configured priority. The former active router can be configured to resume the forwarding router role by preempting a router with a lower priority. To enable a router to resume the forwarding router role, enter this command in interface configuration mode:
standby [group-number] preempt [delay {minimum seconds Free Powerpoint Templates reload seconds sync seconds }]

Page 38

HSRP Configuration Example


Routers A and B are configured with priorities of 110 and 90, respectively. The configuration of Router A is displayed. The preempt keyword ensures that Router A will be the HSRP active router as long its interface is active.

RouterA(config)# interface vlan 10 RouterA(config-if)# ip address 10.1.1.2 255.255.255.0 RouterA(config-if)# standby 10 ip 10.1.1.1 RouterA(config-if)# standby 10 priority 110 RouterA(config-if)# standby 10 preempt

Free Powerpoint Templates

Page 39

HSRP Authentication Example


HSRP authentication prevents rogue routers on the network from joining the HSRP group. HSRP authentication is enabled by configuration of an authentication string on all member devices of the HSRP group. The authentication string is a maximum of 8 characters and the default keyword is cisco.

RouterA(config)# interface vlan 10 RouterA(config-if)# ip address 10.1.1.2 255.255.255.0 RouterA(config-if)# standby 10 ip 10.1.1.1 RouterA(config-if)# standby 10 priority 110 RouterA(config-if)# standby 10 preempt RouterA(config-if)# standby 10 authentication xyz123 Free Powerpoint Templates

Page 40

HSRP Timer Considerations and Configuration


Variable group-number Description (Optional) Group number on the interface to which the timers apply. The default is 0. (Optional) Interval in milliseconds. Millisecond timers allow for faster failover.
Hello interval in seconds. This is an integer from 1 through 255. The default is 3 seconds. Time, in seconds, before the active or standby router is declared to be down. This is an integer from 1 through 255. The Free Powerpoint Templates default is 10 seconds.

msec

hellotime

holdtime

Page 41

HSRP Timers Configuration Example

RouterA(config)# interface vlan 10 RouterA(config-if)# ip address 10.1.1.2 255.255.255.0 RouterA(config-if)# standby 10 ip 10.1.1.1 RouterA(config-if)# standby 10 priority 110 RouterA(config-if)# standby 10 preempt RouterA(config-if)# standby 10 authentication xyz123 RouterA(config-if)# standby 10 timers msec 200 msec 750 RouterA(config-if)# standby 10 preempt delay minimum 225

Free Powerpoint Templates

Page 42

HSRP Versions
HSRP version 1 is the default in IOS and it enables group numbers up to 255. Because one can have up to 4095 VLANs, one has to reuse the same HSRP group number on multiple interfaces if needed. This is allowed even though it might cause some confusion. HSRPv1 uses the Virtual MAC address of the form 0000.0C07.ACXX (XX = HSRP group), and the HSRPv1 hello packets are sent to multicast address 224.0.0.2. HSRP version 2 has been added to IOS since 12.2 46SE or later and it enables group numbers up to 4095. This enables you to use the VLAN number as the group number. With HSRPv2, the MAC address of the virtual router and the multicast address for the hello messages has been changed. The virtual MAC address is 0000.0C9F.FXXX (XXX=HSRP group), and hello packets are sent to multicast address 224.0.0.102. Also, HSRPv2 has a different packet format from HSRPv1. Ensure that the same version is configured on all routers in a HSRP group. Otherwise hello messages are not understood. Version 1 is the default. Use the following command to change the version: Free Powerpoint Templates
Switch(config-if)# standby <hsrp group number> version 2

Page 43

HSRP Interface Tracking (1)

Enables priority of standby group router to be automatically adjusted based on availability of tracked interfaces. When tracked interface becomes unavailable, HSRP priority is decreased. Ensures the router with unavailable interface relinquishes active router role. Free Powerpoint Templates Page 44

HSRP Interface Tracking (2) Configure interface tracking.


Switch(config-if) standby [group-number] track interface-type interfacenumber [interface-priority]
Variable Description

group-number interface-type
interface-

(Optional) Indicates the group number on the interface to which the tracking applies. The default number is 0. Indicates the interface type (combined with the interface number) that will be tracked.

number interfacepriority

Indicates the interface number (combined with the interface type) that will be tracked.
(Optional) Indicates the amount by which the hot standby priority for the router is decremented when the interface becomes disabled. The priority of the router is incremented by this amount when the interface becomes available. The Free Powerpoint Templates default value is 10. Page 45

HSRP Interface Tracking (3)

To configure HSRP with interface tracking, follow these steps: Step 1. Configure the standby group. Step 2. Configure priority (default 100). Step 3. Configure preempt on all devices within the HSRP group. Step 4. Configure the tracked interfaces and decrement (default Free Powerpoint Templates decrement 10). Page 46

HSRP Interface Tracking (4)

SW4(config)# interface vlan 10 SW4(config-if)# ip address 10.1.1.2 255.255.255.0 SW4(config-if)# standby 10 ip 10.1.1.1 SW4(config-if)# standby 10 priority 110 SW4(config-if)# standby 10 preempt SW4(config-if)# standby 10 track fastethernet0/23 20 SW4(config-if)# standby 10 track fastethernet0/24

Free Powerpoint Templates

Page 47

HSRP Object Tracking


The HSRP tracking feature can be used to track an object. When the conditions defined by this object are fulfilled, the router priority remains the same. As soon as the verification defined by the object fails, the router priority is decremented. Tracked objects are defined in global configuration with the track keyword, followed by an object number.
You can track up to 500 objects.
Switch(config)# track 1 ? interface Select an interface to track ip IP protocol list Group objects in a list rtr Response Time Reporter (RTR) entry Free Powerpoint Templates

Page 48

HSRP and IP SLA Tracking

Free Powerpoint Templates

Page 49

Multiple HSRP Groups (1)

HSRP allows for only one active router in the same subnet. In a typical network, engineers would want to use all available routers to load share the traffic going across the network. Multigroup HSRP enables routers to simultaneously provide redundant backup and perform load sharing across different IP subnets. In the figure, two HSRP-enabled routers participate in two separate VLANs, using 802.1Q. Running HSRP over trunks enables users to configure redundancy among multiple routers that are Templates configured as front ends for VLAN Free Powerpoint Page 50 IP subnets.

Multiple HSRP Groups (2)

Free Powerpoint Templates

Page 51

HSRP Monitoring (1)


Use the show standby family of commands to verify HSRP state. Several arguments can be used. The show standby brief command displays a summary of the HSRP configurations. For each standby group, you can verify the local router neighbors.
Switch# show standby brief P indicates configured to preempt. | Interface Grp Pri P State Active Standby Virtual IP Vl10 10 120 P Active local 10.1.10.3 10.1.10.1 Vl20 20 90 P Standby 10.1.20.3 local 10.1.20.1 Switch#show standby neighbor vlan10 HSRP neighbors on Vlan10 10.1.10.3 Active groups: 10 No standby groups

Free Powerpoint Templates

Page 52

HSRP Monitoring (2)


When simply typing show standby, a complete display is provided.
Switch# show standby Vlan10 - Group 10 State is Active Virtual IP address is 10.1.10.1 Active virtual MAC address is 0000.0c07.ac0a Local virtual MAC address is 0000.0c07.ac0a (v1 default) Hello time 3 sec, hold time 10 sec Next hello sent in 1.248 secs Preemption enabled Active router is local Standby router is 10.1.10.3, priority 90 (expires in 10.096 sec) Priority 120 (configured 120) Track interface Port-channel31 state Up decrement 30 Track interface Port-channel32 state Up decrement 30 Group name is hsrp-Vl10-10 (default) Vlan20 - Group 20 State is Standby Virtual IP address is 10.1.20.1 Active virtual MAC address is 0000.0c07.ac14 Local virtual MAC address is 0000.0c07.ac14 (v1 default) Hello time 3 sec, hold time 10 sec Next hello sent in 2.064 secs Preemption enabled Active router is 10.1.10.3, priority 120 (expires in 10.032 sec) Standby router is local Priority 90 (configured 90) Group name is hsrp-Vl20-20 (default) Free Powerpoint Templates

Page 53

HSRP Monitoring (3)


The IP address and corresponding MAC address of the virtual router are maintained in the ARP table of each router in an HSRP group. The command show ip arp displays the ARP cache on a multilayer switch.

Free Powerpoint Templates

Page 54

HSRP Debug Commands

Command Switch# debug standby [errors] [events] [packets] Switch# debug standby terse

Description Displays all state changes to HSRP, including all hello packets. Arguments minimize output. Displays all HSRP errors, events, and packets, except hello and advertisement packets.

Free Powerpoint Templates

Page 55

OUTLINE

CHAPTER 12 ENTERPRISE CAMPUS NETWORK DESIGN (CONT.) Modular network design CHAPTER 13 LAYER 3 HIGH AVAILABILITY Hot Standby Router Protocol (HSRP) Virtual Router Redundancy Protocol (VRRP) Gateway Load Balancing Protocol (GLBP) QUIZ
Free Powerpoint Templates Page 56

DESCRIBLE VRRP (1)

VRRP provides one redundant gateway address from a group of routers. The active router is called the master router, whereas all others are in the backup state. The master router is the one with the highest router priority in the VRRP group. VRRP group numbers range from 0 to 255; router priorities range from 1 to 254. (254 is the highest, 100 is the default.)
Free Powerpoint Templates Page 57

DESCRIBLE VRRP (2)


The virtual router MAC address is of the form 0000.5e00.01xx, where xx is a two-digit hex VRRP group number. VRRP advertisements are sent at 1-second intervals. Backup routers optionally can learn the advertisement interval from the master router. By default, all VRRP routers are configured to preempt the current master router if their priorities are greater. VRRP has no mechanism for tracking interfaces to allow more capable routers to take over the master role.
Free Powerpoint Templates

Page 58

COMPARISON BETWEEN HSRP &VRRP


HSRP HSRP is a Cisco proprietary protocol, created in 1994, and formalized with the RFC 2281 in March 1998.
16 groups max. 1 active, 1 standby, several candidates. Virtual IP is different from Active and Standby real IP addresses.

VRRP VRRP is an IEEE standard (RFC 2338 in 1998; then RFC 3768 in 2005) for router redundancy.
255 groups max. 1 active, several backups. Virtual IP can be the same as one of the group members real IP address.

Uses 224.0.0.2 for hello packets.


Default timers: hello 3 s, holdtime 10 s. Can track interfaces or objects. Uses authentication within each group by default. When authentication is not configured, a default authentication, using cisco as the password.

Uses 224.0.0.18 for hello packets.


The default timers are shorter in VRRP than HSRP. This often gave VRRP the reputation of being faster than HSRP. Can track only objects. Supports plaintext and HMAC/MD5 authentication methods (RFC 2338). The new VRRP RFC (RFC 3768) removes support for these methods. The consequence is that VRRP does not support authentication anymore. Nevertheless, current Cisco IOS still supports the RFC 2338 authentications mechanisms.

Free Powerpoint Templates

Page 59

VRRP OPERATIONS PROCESS

Routers A, B, and C are members of a VRRP group. The IP address of the virtual router is the same as that of the LAN interface of Router A (10.0.0.1). Router A is responsible for forwarding packets sent to this IP address. The clients have a gateway address of 10.0.0.1. Routers B and C are backup routers. If the master router fails, the backup router with the highest priority becomes the master router. When Router A recovers, it resumes the role of master router.
Free Powerpoint Templates Page 60

VRRP OPERATIONS PROCESS (1)


Here is a LAN topology in which VRRP is configured so that Routers A and B share the load of being the default gateway for Clients 1 through 4. Routers A and B act as backup virtual routers to one another should either one fail. Two virtual router groups are configured. For virtual Router 1, Router A is the owner of IP address 10.0.0.1 and is therefore the master virtual router for clients configured with that default gateway address. Router B is the backup virtual router to Router A. For virtual Router 2, Router B is the owner of IP address 10.0.0.2 and is the master virtual router for clients configured with the default gateway IP address 10.0.0.2. Router A is the backup virtual router to Router B. Free Powerpoint Templates Page 61

VRRP OPERATIONS PROCESS (2)


Given that the IP address of the VRRP group is that of a physical interface on one of the group members, the router owning that address will be the master in the group. Its priority is set to 255 Backup router priority values can range from 1 to 254; the default is 100 The priority value 0 has special meaning, indicating that the current master has stopped participating in VRRP. This setting is used to trigger backup routers to quickly transition to the master without having to wait for the current master time out With VRRP, only the master sends advertisements (the equivalent of HSRP hellos). The master sends the advertisment on multicast 224.0.0.18 protocol number 112 on a default interval of 1 second
Free Powerpoint Templates Page 62

VRRP TRANSITION PROCESS (1)


The dynamic failover, when the active (master) become unavailable, uses three timers within VRRP: The advertisement interval: the time interval between advertisements (in second). The default interval is 1 second The master down interval: the time interval for the backup to declare the master down (in seconds). The default is 3 x advertisement interval + skew time The skew time: (256 priority)/256 ms, ensures that the backup router with the highest priority becomes the new master.
Free Powerpoint Templates Page 63

VRRP TRANSITION PROCESS


Step 1. 2. 3. Description Router A is currently the master, so it sends advertisements by default every 1 second. Router A fails. Router B and Router C stop receiving advertisements and wait for their respective master down interval to expire before transitioning to the master state. Notes Router A is the only device sending advertisements. Advertisements stop. By default, the master down interval is 3 seconds plus the skew time.

4.

Because the skew time is inversely proportional to priority, the master down interval of Router B is less than that of Router C. Router B has a master down interval of approximately 3.2 seconds. Router C has a master down interval of approximately 3.6 seconds.

The skew time for Router B equals (256 200) / 256, which is approximately equal to 0.2 seconds. The skew time for Router C equals (256 100) / 256, which is approximately equal to 0.6 seconds.
---

5. 6.

Router B transitions to the master state after 3.2 seconds and starts sending advertisements.

Router C receives the advertisement from the new --master, so it resets its master down and remains Freeinterval Powerpoint Templates in the backup state.

Page 64

CONFIGURING VRRP (1)


Task Assign a VRRP router priority (default 100). Command syntax vrrp group priority level

Alter the advertisement timer (default 1 second).


Learn the advertisement interval from the master router. Disable preempting (default is to preempt). Change the preempt delay (default 0 seconds). Use authentication for advertisements. Assign a virtual IP address.

vrrp group timers advertise [msec] interval


vrrp group timers learn no vrrp group preempt vrrp group preempt [delay seconds] vrrp group authentication string vrrp group ip ip-address [secondary]

Free Powerpoint Templates

Page 65

CONFIGURING VRRP (2)


Step
1.

Description To enable VRRP on an interface. This makes the interface a member of the virtual group identified with the IP virtual address: Switch(config-if)# vrrp group-number ip virtualgateway-address To set a VRRP priority for this router for this VRRP group: Highest value wins election as active router. Default is 100. If routers have the same VRRP priority, the gateway with the highest real IP address is elected to become the master virtual router: Switch(config-if)# vrrp group-number priority priority-value To change timer and indicate if it should advertise for master or just learn for backup routers: Switch(config-if)# vrrp group-number timers advertise timer-value

2.

3.

Switch(config-if)# vrrp group-number timers learn Free Powerpoint Templates

Page 66

VRRP CONFIGURATION EXAMPLE (1)

RouterA# configure terminal Enter configuration commands, one per line. End with CNTL/Z. RouterA(config)# interface vlan 1 RouterA(config-if)# ip address 10.0.2.1 255.255.255.0 RouterA(config-if)# vrrp 1 ip 10.0.2.254 RouterA(config-if)# vrrp 1 timers advertise msec 500 RouterA(config-if)# end RouterB# configure terminal Enter configuration commands, one per line. End with CNTL/Z. RouterB(config)# interface vlan 1 RouterB(config-if)# ip address 10.0.2.2 255.255.255.0 RouterB(config-if)# vrrp 1 ip 10.0.2.254 RouterB(config-if)# vrrp 1 priority 90 RouterB(config-if)# vrrp 1 timers learn Free Powerpoint Templates RouterB(config-if)# end

Page 67

VRRP CONFIGURATION EXAMPLE (2)

RouterA# show vrrp interface vlan 1 Vlan1 - Group 1 State is Master Virtual IP address is 10.0.2.254 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 0.500 sec Preemption is enabled min delay is 0.000 sec Priority is 100 Master Router is 10.0.2.1 (local), priority is 100 Master Advertisement interval is 0.500 secTemplates Free Powerpoint Master Down interval is 2.109 sec

Page 68

VRRP CONFIGURATION EXAMPLE (3)

RouterB# show vrrp interface vlan 1 Vlan1 - Group 1 State is Backup Virtual IP address is 10.0.2.254 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 0.500 sec Preemption is enabled min delay is 0.000 sec Priority is 90 Master Router is 10.0.2.1, priority is 100 Master Advertisement interval is 0.500 sec Free sec Powerpoint Master Down interval is 2.109 (expiresTemplates in 1.745 sec)

Page 69

OUTLINE
CHAPTER 12 ENTERPRISE CAMPUS NETWORK DESIGN (CONT.) Modular network design CHAPTER 13 LAYER 3 HIGH AVAILABILITY Hot Standby Router Protocol (HSRP) Virtual Router Redundancy Protocol (VRRP) Gateway Load Balancing Protocol (GLBP)

QUIZ
Free Powerpoint Templates Page 70

Gateway Load Balancing Protocol


Single virtual IP address and multiple virtual MAC address Traffic to single gate way distributed across routers Automatic rerouting in the event of any failure Full use of resources on all routers without the administrative burden of creating multiple groups

Free Powerpoint Templates

Page 71

GLBP Functions
GLBP active virtual gateway (AVG): Members of a GLBP group elect one gateway to be the AVG for that group. Other group members provide backup for the AVG in the event that the AVG becomes unavailable. The AVG assigns a virtual MAC address to each member of the GLBP group. GLBP active virtual forwarder (AVF): Each gateway assumes responsibility for forwarding packets that are sent to the virtual MAC address assigned to that gateway by the AVG. These gateways are known as AVFs for their virtual MAC address. GLBP communnication: GLBP members communicate between each other through hello messages sent every 3 seconds to the multicast address 224.0.0.102, User Free Powerpoint Templates Datagram Protocol (UDP) port 3222 Page 72

GLBP Features
Load sharing: You can configure GLBP on such a way that traffic from LAN clients can be shared by multiple routers, thereby sharing the traffic load more equitably among available routers. Multiple virtual routers: GLBP supports up to 1024 virtual routers (GLBP groups) on each physical interface of a router and up to four virtual forwarders per group.

Free Powerpoint Templates

Page 73

GLBP Features (Cont.)


. Preemption: The redundancy scheme of GLBP enables you to preempt an AVG with a higher priority backup virtual gateway that has become available. Forwarder preemption works in a similar way, except that forwarder preemption uses weighting instead of priority and is enable by default . Efficient resource utilization: GLBP makes it possible for any router in a group to serve as a backup, which eliminates the need for a dedicated backup router because all available routers can support network traffic.
Free Powerpoint Templates Page 74

GLBP Operations
GLBP group members elect one AVG AVG assigns a virtual MAC address to each member of the group. AVG replies to the ARP requests from clients with different virtual MAC addresses, thus achieving load balancing. Each router becomes an AVF for frames that are addressed to that virtual MAC address.

Free Powerpoint Templates

Page 75

Operational Modes
GLBP supports these operational modes for load balancing traffic across multiple default routers servicing the same gateway IP address: Weighted load-balancing algorithm: The amount of load directed to a router is dependent upon the weighting value advertised by that router.

Free Powerpoint Templates

Page 76

Operational Modes (Cont.)


Host-dependent load-balancing algorithm: A host is guaranteed to use the same virtual MAC address as long as that virtual MAC address is participating in the GLBP group. Round-robin load-balancing algorithm: As clients send ARP requests to resolve the MAC address of the default gateway, the reply to each client contains the MAC address of the next possible router in round-robin fashion. All routers MAC addresses take turns being included in address resolution replies for the default gateway IP address
Free Powerpoint Templates

Page 77

GLBP Operation
As shown in the figure, by default, GLBP will attempt to balance traffic on a per-host basis, using the round-robin algorithm

Free Powerpoint Templates

Page 78

GLBP Per-Host Traffic Balancing


The table describes how GLBP balances traffic using the round-robin algorithm
Step 1 Description When a client sends an ARP message for the gateway IP address, the AVG returns the virtual MAC address of one of the AVFs. When a second client sends an ARP message, the AVG return s the next virtual MAC address from the list

Free Powerpoint Templates

Page 79

GLBP Interface Tracking

Free Powerpoint Templates

Page 80

GLBP Interface Tracking (Cont.)

Free Powerpoint Templates

Page 81

GLBP Implementation

Free Powerpoint Templates

Page 82

GLBP Commands
Command Switch (config-if)# glbp group-number ip virtual-gateway-addr
Switch (config-if)# glbp group-number priority priority_value

Description
Makes the interface a member of the virtual group identified with the IP virtual address. Sets the priority of this router. Highest value will win election as active router. Default is 100. If routers have the same priority, the gateway with the highest real IP address will become the AVG.

Switch (config-if)# Adjusts the hellotimer and holdtimer glbp group-number in seconds. Place the argument msec timers hello-value before the values to enter subsecond Free Powerpoint holdtime-value values. Templates Page 83

GLBP Commands (Cont.)


This table describes the steps needed to configure GLBP.

Step Description Enable GLBP on interface. 1 Switch(config-if)#glbp group-number ip virtual-gateway-address 2


Set GLBP priority for this router for this GLBP group. Switch(config-if)#glbp group-number priority priority-value Change timer values for hello interval and holdtime. Switch(config-if)#glbp group-number timers hello holdtime
Free Powerpoint Templates Page 84

QUIZ (1)
1. Which one of the following do multilayer switches share when running HSRP? a. Routing tables b. ARP cache c. CAM table d. IP address 2. Two routers are configured for an HSRP group. One router uses the default HSRP priority. What priority should be assigned to the other router to make it more likely to be the active router? a. 1 b. 100 c. 200 Free Powerpoint Templates d. 500 Page 85

QUIZ (2)
3. A multilayer switch is configured as follows: interface fastethernet 1/1 no switchport ip address 192.168.199.3 255.255.255.0 standby 1 ip 192.168.199.2 Which IP address should a client PC use as its default gateway? a. 192.168.199.1 b. 192.168.199.2 c. 192.168.199.3 d. Any of these
Free Powerpoint Templates

Page 86

QUIZ (3)
4. What VRRP group uses the virtual MAC address 0000.5e00.01ff? a. Group 0 b. Group 1 c. Group 255 d. Group 94

5. Which one of the following protocols is the best choice for load balancing redundant gateways? a. HSRP b. VRRP c. GLBP d. GVRP Free Powerpoint Templates

Page 87

QUIZ
6. Which one of the following GLBP functions answers ARP requests? a. AVF b. VARP c. AVG d. MVR
7. By default, which of the following virtual MAC addresses will be sent to the next client that looks for the GLBP virtual gateway? a. The GLBP interfaces MAC address b. The next virtual MAC address in the sequence c. The virtual MAC address of the least-used router d. 0000.0c07.ac00
Free Powerpoint Templates Page 88

QUIZ (4)
8. Which one of these features is used to reduce the amount of time needed to rebuild the routing information after a supervisor module failure? a. NFS b. NSF c. RPR+ d. SSO 9. Which one of the following features provides the fastest failover for supervisor or route processor redundancy? a. SSL b. SSO c. RPR+ Free Powerpoint Templates Page 89 d. RPR

THE END

WISHING YOU GREAT BACKGROUNDS

Free Powerpoint Templates

Page 90

S-ar putea să vă placă și