2 - IPv6 & Network Diagrams Flashcards
NAT
Network Address Translation
NAT: Why use it?
Org only has one or a few public address so router at edge translates IPs.
NAT: Why does it violate layer separation?
Violates layer separation as it edits layer 2 and 3
Dynamic IP Allocaiton
ISPs more customers than IP address. Allocate based on that
IPv6 why is it necessary
IPv4 address space ran out in 2019.
Also Class A blocks are lost and D is only for multicast and E is experimental
IPv6 address length in bits
128bit address
IPv6 facts - length, checksums, headers, broadcast etc
Fixed Length, optional headers are daisy chained
No checksum at network layer
64bits aligned field in header
Auth and privacy capabilities
No more broadcast
IPv6 address rep
16 bit fields in case insensitive colon-separated hex rep
IPv6: Are leading zeros required?
Leading zeros in field are optional (eg :0000: or :0: or :00: etc)
IPv6: When can :: be used?
Successive fields of 0 are :: but only once.
IPv6 special addresses
0:0:0:0:0:0:0:1 (::1) Loopback
0:0:0:0:0:0:0:0 (::) unspecified
IPv6 URLs
Must be enclosed in brackets
http://[2001:4860:b006::67]:80/
- CUmbersome
- Mostly diagnostic
- Use FQDN instead
IPv6 prefix representation (,netmask)
Same as IPv4
slash separator eg /40
IPv6 Global Unicast Addresses
Addresses for generic use of IPv6
Hierarchical structure intended to simplify aggregation?
IPv6 allocation process
IANA allocates 2000::/3 for initial unicast
Registry gets /12 prefix
Registry allocates /32 (or larger) prefix to ISP
ISP generally allocates /48 prefix to customer
/64 to networks within orgs
IPv6 Autoconfig: Link local is always what?
Link local is always fe80::/64
IPv6 Autoconfig: Router can announce what addresses?
Router can announce global addresses
IPv6 Autoconfig: Clients can use what prefixes?
Clients can use all available /64 prefixes
RA ICMP
Router Advertisement Internet Control Message Protocol packets
Problems with IPv4 to IPv6 migration
v4 host wanting to talk to v6 host
v6 networks that are only connected by v4 infra
IPv4 to IPv6 migration techniques
Dual Stacked hosts/routers
Dual stacked proxies/app level gateways
Tunnelling
Different tunnel configurations
Manual
Automatic
Tunnel broker
What does a hub do?
Sends frame from one node to all. Repeaters
Switches: Learning locations
Learns by looking and the source address of each frame. Builds a forwarding table
Switches: Frames or packets?
Switches do not usually know about IP. They only deal with Ethernet frames
Switch: What layer?
Layer 2
When does a switch broadcast?
When the:
- address is not in forwarding table
- frame is destined to broadcast address
- frame is destined to multicast eth address
Routers
Use a routing table to decide where to forward (forwarding table) - looking at IP packets.
Routers: What layer?
Layer 3
VLANs
Split switches into separate virtual switches
VLAN Privacy
Only members of a VLAN can see its traffic and inter VLAN traffic must go through a router.
This also separates broadcast domains.
Router network diagram symbol
Cylinder
Switch diagram symbol
Rectangle
Eth link diagram symbol
Line
WAN symbol diagram
Cloud