Chapter 8 Configure Basic NETWORK Flashcards
(85 cards)
What are the internet transport layer protocols moo
IP->internet protocol
- > core of tcp/ip processing
- > provides best effort for transferring packets between computers
- > Supports 4bn devices
IPv6
- > update to original ip stack
- > 128 bit addresses
- > new feature : SLAAC -stateless addresses auto-configuration
ICMP
- > internet message control protocol
- > most often used to send error messages between computers.
UDP
- > user datagram protocol
- > simplest of of the common transport layer
- > faster than more sophisticated tools
- > DNS, NFS, STREAMING
TCP/IP
- > transmission control protocol
- > full connection with error checking.
- > small performance penalty
- > SMTP, HTTP, FTP
explain OSI vs TCP/IP reference model
- Application
- Presentation 4. Application
- Session
- transport 3. Transport
- Network 2. Internet
- Data Link 1. Network
- Physical
fins the hardware address of eth0
ifconfig eth0
returns
eth Link encap:ethernet HWaddr: 00:A0:
CC:24:BA:02
what is ARP
Address resolution protocol
–> converts between ip and MAC address
what is NDP
Neighbor discovery Protocol
- ->converts between ip and MAC address
- ->IPv6
how does ARP work
- -> computer sends out broadcast on network to all computers
- ->query Computers with IP to identify itself
- ->reply that comes in contains a hardware address
thus all traffic directed towards a IP can be redirected towards the HWaddr.
explain IPv6 structure
–>8 groups of 4 hexadecimal numbers, seperated by “:”
What types of addresses does IPv6 use?
Link-Local
Global
What is the Ipv6 defacto standard for local addresses
fe80: 0000:0000:0000:
- -> non routable
What is a network mask?
–>also known as a subnet mask
–> identifies the portion of a IP address that is a
#network address
# Computer address
What is CIDR
–> Classless interdomain routing
IPv4 Network Class A
1.0.0.0
IPv4 Network Class B
128.0.0.0
IPv4 Network Class C
192.0.0.0
IPv4 Network Class D
224.0.0.0
IPv4 Network Class E
240.0.0.0
Name the 3 Private IPv4 class ranges
- 0.0.0 Class A
- 16.0.0 Class B
- 168.0.0 Class C
Name three common Linux DHCP clients
–> pump
–> dhclient
–> dhcpcd
(not to be confused with dhcpd,which is the DHCP server
where is the Red Hat/ Fedora startup script for DHCP
/etc/sysconfig/network-scripts/ifcfg-name
name –> name of network interface
where is the Ubuntu startup script for DHCP
/etc/network/interfaces
How do you run dhcp client manually
$ dhclient eth0
what must you do if network lacks DHCP server
- ->IP
- -> Network Mask
- ->Gateway Address
- -> DNS settings
How do you change the ip
ifconfig eth0 up 192.168.0.1 netmask mask
How do you add a default gateway
route add default gw 192.168.0.1