Questions tagged [protocol-theory]

For questions about network protocols published in a Standard or RFC. Do not use this tag merely because the question mentions a networking protocol in it. Questions with this tag *could* be closed if they do not explain why the question is relevant and important to answer; this is necessary to avoid issues with tangential / trivial questions or help vampires.

Filter by
Sorted by
Tagged with
0
votes
4answers
59 views

Why not put unicast address in IPv6 packet containing NDP neighbor solicitation instead of solicited-node multicast address?

This is a follow-up question to Why is the NDP Neighbor Solicitation message sent to the solicited-node address?. Summary: say I would send an IPv6 packet and put the unicast address of the host I ...
0
votes
1answer
38 views

Why Do We Use STP (Spanning Tree Protocol) or RSTP (Rapid Spanning Tree Protocol) When Packets are Not Routed Optimally?

I am new to networking so this probably a naive question. I've been reading up on the spanning tree protocol and understand why it's necessary in a network (it prevents loops) and I understand that ...
0
votes
0answers
10 views

Need help understanding USB asynchronous Audio protocol and physical Implementation [closed]

Linking to a post I made in Head-fi: https://www.head-fi.org/threads/supra-usb-cable-and-my-findings-predictions.920120/ Kindly ignore the sonic conclusions/inferences I made. I'm still debating if it'...
1
vote
1answer
57 views

Confusion about IANA “Protocol Numbers” registery

In the IANA registery for "Protocol Numbers", there listed 2 IP protocol versions: IPv4 at #4 and IPv6 at #41. Their "protocol" column says IPv[46] Encapsulation, and "reference" column points to 2 ...
1
vote
2answers
74 views

Which port determines the protocol?

If we have a common protocol port on both ends.. say source point is 443 and destination port is 80 (hypothetical situation, I know this combination of ports probably makes no sense).. how do we ...
4
votes
1answer
36 views

Function of the P-bit flag in an IPv6 multicast

Currently I'm trying to learn (common) things about IPv6 and started with the address format and the address scopes. Finally I reached the multicast part where my problem with the definiton of the ...
3
votes
2answers
68 views

Is the first address in an IPv6 subnet assignable?

I am working in a lab and have configured a series of /125 subnets between routers. Lets ignore the best practice for this discussion of using /64 for everything. When I assign fd00:f9a8:ffff::257 to ...
1
vote
1answer
32 views

OSPF: What's the consequence of two nssa area translator router

If NSSA area has 2 ABR, then usually one of them will be elected to be translator by router id. But what if I have 2 translator routers and both translate the message simultaneously? How to route in ...
1
vote
2answers
46 views

Sequence numbers of segments in three way handshakes of TCP connection establishment or termination

I was trying to understand TCP connection establishment and termination steps from Forouzan's book. In third step of three way handshake of connection establishment, it says following The client ...
0
votes
1answer
52 views

Is there any fixed version of CSMA/CA?

I was trying to understand exact algorithm for Carrier Sense Multiple Access / Collision Avoidance mechanism from Forouzan's book. The book gives very detail explanation of topics. However explanation ...
0
votes
2answers
99 views

What is the difference between connect and active states of BGP?

What is the significance of having two different states in FSM when both try to establish TCP Connection?
0
votes
1answer
79 views

ports and security

I'm thinking about how the "port" operates for the network connections and tried reading the CCNA cert. guide to understand the details, however, I need to clarify doubts: does occupying all the TCP/...
1
vote
1answer
38 views

what are Hardware size and protocol size in ARP header? Attached image

While working on packet capture for a simple scan, just had a look at packet capture and want to know what does hardware size and protocol size means in a ARP header?
0
votes
1answer
30 views

When IP header of length 22bytes is there then how padding will work?

My base IPv4 header of 20bytes + 2bytes i used for Options making it 22bytes means 176bits so padding will add 16 Zeroes to make it multiple of 32? is this correct way to understand? Boundary of ...
0
votes
1answer
51 views

Which IPv4 options must be copied on fragmentation and why?

In RFC 791 page 14 it says The copied flag indicates that this option is copied into all fragments on fragmentation. 0 = not copied 1 = copied If I understand correctly it is possible ...
1
vote
1answer
35 views

How to understand the Flags is IP_MF, what will happen?

For data packets whose length exceeds the MTU of the interface, fragmentation processing is required. The fields related to fragmentation in the IP header are as follows: Identification - Used to ...
0
votes
1answer
24 views

Connectivity problems in a topology [closed]

I cannot identify any network problems in the following topology. https://i.imgur.com/eyUEzvz.jpg Any help in identifying problems would be appreciated, and I would be happy to work on them.
0
votes
1answer
73 views

Scaling fragment offset

I studied that fragment offset has 13 bits. At transport layer segmentation is done considering the the MTU at lower layers (network layer, data link layer). Ethernet format says the maximum data ...
0
votes
1answer
56 views

Why Internet protocol is divided in rows?

In simple words, why IP packet is divided in rows each one is 32 bit in length? For example this attached image shows the IP packet has 32 bit in the first row then another 32 bit and so on. Is it ...
2
votes
1answer
64 views

Is OSPF router ID unique per area?

I found online that the router ID must be unique within the OSPF domain. But what exactly is an OSPF domain (an area?). Let's take the following topology: Can R1 and R5 have the same router ID, as ...
1
vote
3answers
146 views

How to do subnetting on IPV6 for non nibble boundaries?

As I was reading this article on How to: calculating IPv6 subnets outside the nibble boundary https://blog.apnic.net/2018/08/10/how-to-calculating-ipv6-subnets-outside-the-nibble-boundary/ The author ...
1
vote
1answer
45 views

Remote Host Neighbor Cache Entry State after Neighbor Solicitation request

When a Host A sends for the first time a NS request to another Host B, host B answers with a NA. In Host A Neighbor Cache, the state Entry for host B gets from INCOMPLETE to REACHABLE, when NA comes ...
1
vote
1answer
71 views

Why server cannot send data in TCP three-way handshaking?

In the three-way handshaking, only from the ACK packet we can send data. Why cannot the server send data with SYN-ACK packet? I understated why a client cannot send data to a server (preventing, for ...
1
vote
1answer
31 views

What are the practical applications of Stop & Wait, Selective Repeat and Go Back N?

What are the practical applications when to use Stop and Wait, Selective Repeat, and Go Back N? What in real life protocols are implemented using these mechanisms?
2
votes
3answers
188 views

What's the use of an acknowledgement number without the ACK flag set?

Isn't it redundant if the ACK flag in the header isn't also on? Do you ever mix an acknowledgement with a normal message - send data and acknowledge a message in the same TCP segment? I feel like ...
8
votes
6answers
4k views

Could IPv6 make NAT / port numbers redundant?

From what I can tell, each process could get its own IP address, with loads of IP's to spare. What would the drawbacks be? Essentially, your host would become a router and each process is a host (in ...
1
vote
0answers
45 views

Why do I observe a 4-way TCP handshake instead of an expected 3-way when establishing a connection? [duplicate]

I'm doing a simple HTTP GET query on a localhost from curl to a local webserver. After I did a tcpdump I noticed these packets to be sent each time a request is done: 11:11:27.537300 IP 127.0.0.1....
1
vote
1answer
342 views

TCP Three Way Handshake?

I have the following query about the tcp handshake. To establish a connection the server must send a packet with SYN flag to 1 Then the server replies with a SYN,ACK flag to 1 , and afterwards the ...
3
votes
1answer
42 views

How to handle IPv6 Extension Header Options with action = 01

RFC 8200 section 4.2 states that if a node does not recognize an option type, that node must do some action depending on the 2 higher order bits of the option type. When the higher order bits are 01, ...
2
votes
3answers
75 views

Do extension headers in IPv6 increase the header length

I was reading about IPv6. It says the header is of a fixed size i.e. 40 bytes, then how come is it able to accommodate extension headers. Doesn't this alter the size of headers. Please help, cant ...
2
votes
2answers
136 views

If an old FIN is delivered, will TCP terminate the new connection?

Two programs use a TCP connection (3-way handshake) to open, communicate, terminate the connection and open a new connection. If a FIN message sent to shut down the first connection is duplicated and ...
3
votes
0answers
47 views

Why does TCP exit out of slow-start faster than expected?

For context, I am testing a client-server TCP flow, where the client makes a request for a file, and the server sends the file using regular TCP streams. Both servers are using the "Cubic" ...
2
votes
1answer
19 views

Understandable/Implementable explanation of CSMA p - persistent

I have been trying to understand how the CSMA P-persistent method works, but haven't been able to understand how it's implemented. I have referred to a few textbooks and other sources, but all of them ...
4
votes
4answers
184 views

WAN encapsulation

I am having some trouble understanding why does a WAN link need encapsulation, such as MPLS or frame relay? Is it merely to encrypt the info from one LAN to another LAN across the internet?
2
votes
0answers
51 views

RPL: questions on routing mechanism

I'm studying RPL and two questions came to my mind: 1: Both in storing and non-storing modes, if a node wants to send a packet to another node via P2P communication paradigm, then how does the ...
5
votes
3answers
155 views

Why do all the intermediary routers need to run iBGP without tunneling?

I'm trying to understand the configuration behind iBGP - I understand you can run full mesh to prevent loops, run confederation or route reflectors, if you don't want full mesh, else run tunneling ...
0
votes
0answers
33 views

Are MAC command frames in IEEE802.15.4 used in real aplications?

I am reading about MAC command frames in IEEE802.15.4-2006 because I need to understand the relationship between these frames and Mesh Link Establishment (MLE) frames in the Thread Protocol. It seems ...
1
vote
2answers
64 views

Does an IP address with host part zero's represent a network, or a network interface in a network?

If the host part of a IPv4 address is all zero (e.g. 192.168.1.0 in a network with mask 255.255.255.0), does the address represent the network, or a network interface in the network? Thanks.
4
votes
1answer
67 views

Is an RST only segment ever legitimate?

Is a TCP segment with RST but no ACK ever legitimately encountered today? While some kernels emit such an RST when a SYN segment is sent "illegitimately" from themselves (e.g., nmap half-syn, scapy, ...
2
votes
1answer
91 views

IHL(Internet Header Length) field is 4 bit long and specifies the header length in 32 bit words. What does it mean?

I am trying to understand IPv4. I cannot understand
7
votes
2answers
1k views

Why do IPv6 unique local addresses have to have a /48 prefix?

According to RFC 4193, unique local addresses will always have a prefix of FD00::/8.. but according to Wikipedia: The block fd00::/8 is defined for /48 prefixes, formed by setting the forty least-...
12
votes
3answers
1k views

Are the IPv6 address space and IPv4 address space completely disjoint?

Tanenbaum's Computer Networks says Finally, IPv4 addresses can be written as a pair of colons and an old dotted decimal number, for example: ::192.31.20.46 Does it mean the IPv4 address space ...
3
votes
1answer
98 views

EIGRP unequal load balancing, variance command

Is correct to say that the value inserted in the variance command, lets say the value of "2" on a route that has a cost of, lets say "100", will unequally load balance all routes up to a cost of 200 ? ...
3
votes
1answer
65 views

How is SampleRTT measured once every RTT, without measuring every segment?

According to the RFC, SampleRTT is measured once every RTT. My text: Computer Networking: A top-down approach (6ed By: Kurose & Ross) also states, that: Instead of measuring a SampleRTT for ...
3
votes
1answer
92 views

EIGRP Auto-summary

One more question about EIGRP, EIGRP auto-summary what is the impact on the network ? i was reading about but it was not clear for me. And why is it a good Cisco practice to be disabled ? I am ...
1
vote
1answer
58 views

EIGRP metric claculation

I have a question regarding the EIGRP metric system. so if K1 is the Bandwidth and formula is : (K1 * BW + ((K2 * BW) / (256 - LOAD)) + K3 * DELAY ) * (K5 / (RELIABILITY + K4) Whats is BW and ...
3
votes
2answers
93 views

Why is VPN not a protocol?

Is VPN a layer 3 concept? says "VPN is not a protocol". Is VPN an application instead? Why is VPN not a protocol? How can I tell if something is a protocol or not? Thanks.
2
votes
2answers
241 views

What are the differences between tunneling and regular encapsulation?

What are the difference between tunneling (https://en.wikipedia.org/wiki/Tunneling_protocol) and regular encapsulation (e.g. TCP/UDP over IP, HTTP/SSH over TCP)? Is TCP/UDP over IP considered ...
3
votes
1answer
106 views

Does IEEE 802.11 allow soft-combining?

Out of purely theoretical curiosity, I was wondering whether the IEEE specification for WIFI allows for ARQ with soft-combining. I found a number of publications describing the benefits of soft-...
1
vote
2answers
42 views

How does a router know it's received an OLSR message?

So I'm working on my own routing protocol based on a alternative to IP, called ILNP, and I'm having trouble understanding how a router differentiates control packets and data packets for OLSR. The IP ...