You are on page 1of 2

Notite pt grile:

Clasa A: /8 => 2^24 adrese


1024 ip adr => netmask /22 (tin minte ca 255 e cu /24)
127.0.0.1 loopback => cred ca e fals
sau pe biti cu netmask - nothing significant
ttl - routers allowed to pass or seconds???
bc addr for 200.35.1.192 /27
mac - 6 seturi de 2 car - atentie sa nu fie caractere peste F
broadcast MAC address (FF:FF:FF:FF:FF:FF)
netmask of 512 is /23 da
/24 poate fi imp in 2 clase de 512 ips nuuuuu /24 e 255
de scris /24 ca normal
mai mult de 2 topologii daaaa
which of the following involves NAT?
-addr translation(nu, cred ca e DNS) - hm, cred ca da ca nat inseamna network addr
translation
-port forwarding - da port forwarding or port mapping is an application of network
address translation (NAT) that redirects a communication request from one address
and port number combination to another while the packets are traversing a network
gateway, such as a router or firewall.
-accessing web from internal network - my ip will be translated to public

Switch can transport IP packets!hm, nuuuuu


eth switches understand only FRAMES - daca e pt el urca in stiva TCP/IP, deci nu
comunica cu ip
ip located network layer daaaaaaaaaaa

----????? how many subnets can be created for 172.16.1.1 cu mask 255.255.255.0.USE
SAME SUBNET MASK!
how many hosts for /24 ---- 2^8-2
phu...ceva de numarat subnets!Nu uita de subnet-uri routere
calc bc address

Care sunt subnetwork-uri valide?


!!!trebe sa vad daca ult cif 0 sunt cat indica mask-ul
bind() is required at udp
Binding is only a required, if there is no other way for the computer to know which
program to send the packets to. For connection less programs this is only the
receiving end.
It is only necessary to bind() a server, because the clients need a fixed port
number to send to. A client needn't bind() at all: an automatic bind() will take
place on the first send()/sendto()/recv()/recvfrom() using a system-assigned local
port number
If you could recvfrom() without bind(), you'd essentially be asking the stack to
give your program all UDP datagrams sent to that computer. Since the stack delivers
datagrams to only one program, this would break DNS, Windows' Network Neighborhood,
network time sync....
ok, cred ca la udp trebuia la ambele, la tcp oricum e connection, deci nu neapa la
client

the mac can be changed -- mac e semnificativ doar to local bc domain


reprez /26
de verificat 2 adrese same network

routers don t use mac adrr to send frames!!!E un nivel superior!Packs ip..
hmmm, maine ma uit la videouri cu tcp/udp sa vad unde e necesar accept, bind ...
tcp is located at the transport layer
arp = address resolution protocol
valid networks t
a switch understand mac addr - true
dintre niste adrese-care nu poate fi bc - clar aia para
127.0.0.1 bc addr - nu pt ca asta e retinut special for loopback
ttl AGAIN si nu stiu daca e in sec sau number of routers allowed
e urmat netmask valid pt urm networks? trebe sa vad ca nr de 0-uri de la final
corespunde
ADRESE PRIVATE

a DNS server can be a default gateway? - da se poate si intr-unul singur


arp - mapping network adr to phys mac addr
ip-where is, to communicate we need the mac
so arp afla mac-ul (comp trimite un broadcast intreband cine e ip 0.0.0..?),
primeste raspunsuk
eu sunt, my mac is ...
se adauga in arp cache

largest network with addr 84.176.0.0 /12


CUM MERGE SWITCH?TRIMITE LA TOATA LUMEA?
switch e mai destept - se uita la tabela cu port - mac si trimite
numa la cine trebe

a network card is used to conn a router to lan?


ce cont tcp header???
source port,dest port,checksum etc, offset. seq no
DE INV CLASE PRIVATE DE ADRESE!!!!!!!!!
MAX NR OF VALID SUBNETS
Ce se intampla daca nu citesc tot din stream???
hub nu intelege macs
2 adr belong same netw

You might also like