NAT and Multicast Flashcards

1
Q

Static NAT

A

Translates one inside local and one inside global address

R2(config)# ip nat inside source static 10.0.12.1 203.0.113.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Dynamic NAT

A

Inside global is dynamically allocated from a pool of global addresses. Sometimes called pooled NAT.

R2(config)# ip nat pool R2dynamicNAT 2.0.0.1 2.0.0.3 netmask 255.255.255.248

R2(config)# access-list 1 permit 7.0.0.0 0.0.0.255

R2(config)# ip nat inside source list 1 pool R2dynamicNAT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

NAT overload or PAT

A

Translates multiple inside local source addresses to a single global address. Also translates the original source port to a different source port

R2(config)# access-list 1 permit 7.0.0.0 0.0.0.255

R2(config)# ip nat inside source list 1 interface gi0/0 overload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PAT with a Global Address Pool

A

Identical to dynamic NAT, but with the addition of the overload keyword

R2(config)# ip nat inside source list 1 pool R2dynamicNAT overload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Outside Static NAT

A

Translate an inside local destination ip address of a packet to an outside global address. The add-route keyword creates a static route

R2(config)# ip nat outside source static 10.0.12.1 1.1.1.1 add-route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe Multicast

A

Refers to any form of one-to-many communication.

A multicast IP packet always has a multicast destination address (that’s what makes it a multicast packet), and it may have a TTL of 1. It will never contain a multicast source address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

IP Multicast

A

IP packet destined to a special multicast ip address. The multicast IP address range is 224.0.0.0/4 which covers 224.0.0.0 through 239.255.255.255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Multicast Address Categories

A

Local Network Control (224.0.0.0/24). They don’t leave the broadcast domain. OSPF 224.0.0.5, 224.0.0.6 and EIGRP 224.0.0.10 are examples

Internetwork Control Block (224.0.1.0/24). These may be routed over the public internet. Commonly used for stock ticker feeds and streaming video

Administratively Scoped Block (239.0.0.0/8). Used on non-publicly routable networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

LAN Multicast

A

A multicast frame is forwarded to many, but not necessarily all hosts in a subnet.

Reserved Mac address range

ipv4 0100.5e00.0000 through 0100.5e7f.ffff
ipv6 3333.0000.0000 through 3333.ffff.ffff

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Converting IPv4 Multicast address to a MAC address

A

Convert last 3 octets to binary
Change the leftmost bit to 0 if it’s not already a 0
Convert each nibble into hex
Prepend 0100.5e

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

IGMP

A

Used by routers to coordinate with each other to ensure that routers forward multicast packets only to those hosts that need them.

IGMP membership query is sent every 60 seconds and is addressed to 224.0.0.1 and has a TTL of 1

IGMPv2 is the most common version and used by default

All IGMP versions use IP protocol number 2

When a receiver joins a multicast group, it sends an IGMP Membership Report to the group address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

IGMP Snooping

A

A switch will sniff IGMP membership reports to determine which ports multicast traffic should be forwarded out of. Enabled on Cisco switches by default

The exception is traffic sent to 224.0.0.0/24 is forwarded to all ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Multicast Routing

A

Senders and receivers may not be in the same subnet. Each router must build a multicast IP routing table that links incoming interfaces (source) with outgoing interfaces (receivers)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Protocol Independent Multicast (PIM)

A

Builds each router’s multicast table. 2 modes are Dense mode and Sparse Mode

PIM routers running in sparse mode use PIM Joins to request traffic for a group, whereas those running in dense mode use Grafts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

PIM -DM (Dense Mode)

A

The router initially floods every multicast packet out of every interface except the interface it was received on. Specified in RFC 3973

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

PIM- SM (Sparse Mode)

A

A router doesn’t forward any multicast packets unless they are explicitly requested. specified in RDC 7761

17
Q

Configuring PIM

A

With PIMv2 routers form adjacencies by sending Hello messages every 30 seconds. PIM hello messages are sent to 224.0.0.13 over IP protocol 103.

PIM elects a DR that’s responsible for forwarding multicast traffic.

18
Q

Sparse-Dense Mode

A

The routers will operate in dense mode unless they detect an RP

19
Q

Configuring Multicast Routing

A

R2(config)# ip multicast-routing

R2(config-if)# int range gi0/0, gi0/1, gi0/2
ip pim sparse-dense mode

R2#sh ip m route

(*,239.7.7.7)

  • = source, 239.7.7.7 = group
20
Q

Reverse Path Forwarding Check

A

The router performs RPF check to avoid loops by ensuring that the multicast path will overlap/align with the unicast path, which assumed to be loop-free

Use mtrace command to find the full reverse path

21
Q

Multicast Receiver

A

R4(config)# int gi0/0

R4(config-if)# ip igmp join-group 239.7.7.7

22
Q

Shortest Path Tree (SPT)

A

The source is the root of the tree, the receivers are the leaves, and the intermediate routers are the branches

23
Q

RP

A

A rendezvous point (RP) is required only in networks running Protocol Independent Multicast sparse mode (PIM-SM). By default, the RP is needed only to start new sessions with sources and receivers.