IP address stuff Flashcards

1
Q

how to find network identifier

A

perform AND operation on binary versions of subnet mask and device IP

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

what’s the format of IPv4

A

dotted quad numbers (four parts separated by dots)

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

routable IP address definition and use

A

public IP addresses, globally unique

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

DCHP stands for…

A

Dynamic Host Configuration Protocol

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

Why is DCHP used?

A

Assigns IP address to device
IP address is chosen from a pool of available ones
Once device leaves a session. IP address is returned to the pool for re-allocation

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

NAT stands for…

A

Network Access Translation

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

How is NAT used?

A

Comp sends packet through the internet via router
Router replaces private ip with its own routable public IP
Makes record of the packet

Forwards response to private ip of the computer by using the record it made when sending packet

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

Port Forwarding

A

Client sends packets to Public ip of the router
packets contain port number of the application being access
router forwards the packets to the server using NAT

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

How does a client make a request to a database?

A

Client server request made to the web browser
Web browser responds with web page (delivered as txt file)
File contains JavaScript which contains an API
Client sends HTTP request to the database
DB responds using JSON/XML
JSON processed by the client and response is displayed

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

JSON vs XML

A

JSON is more compact, easy to read, easier to create, faster to process
XML is more flexible

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

Thin client traits

A

majority of server processing done via servers
easy to add new clients
clients are inexpensive machines
greater centralised control of network as services managed via the server
but expensive powerful servers and hard to maintain

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

thick client traits

A

clients are powerful enough to process power and store stuff
eliminates need for a server
clients are more expensive
harder to maintain as no centralised updates
reduced data collisions

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