Networking pt 2 Flashcards
What does an IP/netmask pair let you identify?
hint: 2 parts
let’s you identify the network part and the host part of an IP address
how many bits is IPv6?
what parts is it split in half for?
what does it have that is different from ipv4?
- 128 bit address
- 16 bit hexadecimal numbers
- separated by colon (:)
- split in half (64 bit each) for network part and device part
- dedicated subnet portion (unlike ipv4)
What are the 3 IPv6 Address Types?
hint: G, U, L
- Global Unicast Address (global)
- Unique Local (internal)
- Link Local (internal
What does a Router connect?
What does a Router forward?
- devices connected to different networks at the same time
- forward IP datagrams from one network to another
What is a Router forwarding policy based on?
What does the policy determine?
What does it use to make a decision?
based on routing protocols - determines best path to reach a network using routing table
What is the Routing default address?
When is it used?
- 0.0.0
- used when router receives packet whose destination is an unknown network
Where else does packet forwarding happen?
hint: which layer?
Lowest layer of TCP/IP stack: Link layer
What are Hubs and Switches?
(hint: what do they forward and where?)
Which address do they work with?
- Devices that forward frames on local network
- work with MAC addresses
Frames
Layer 2 packets
MAC addresses
Media Access Control
- uniquely identify network card
- layer 2
- aka: physical address
- 48 bit (6 bytes)
- hexadecimal
- Linux ( ip addr), Windows (ipconfig), Mac (ifconfig)
IP addresses
Layer 3 (network layer) -address scheme to identify host in a network
Using IP and MAC addresses, how will workstation A send a packet to workstation B?
- Datagram IP header: destination IP of workstation B
- Link layer header: destination MAC of router
- Source IP and source MAC of workstation A
What happens after the router receives the packet from workstation A?
The router rewrites the MAC addresses but IP addresses stay the same:
- destination MAC: workstation B
- source MAC: router
Forwarding Table/ CAM Table
- Content Addressable Memory Table
- Stored in devices RAM
- Used by switches to bind a MAC address to an interface
How many ports do switches have?
Home: 4
Corporate: 64