aboutsummaryrefslogtreecommitdiff
path: root/readme.txt
blob: 8238fd55c2148d99e0f35abb5fbde6ef769c8af9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
============================================================
        18CS54 - network programming and security
============================================================


Q1: Write a networking program consisting of a client and
    server components. The client must request for a file by
    providing a file name, and the server must respond with the
    contents of the file or an appropriate error message.
    Modify the client to accept the filname via a command line
    argument.

A1: https://u.peppe.rs/qt.png

------------------------------------------------------------

Q2: Write a program to illustrate the function of
    Distance-Vector routing using Bellman-Ford algorithm. Handle
    the situation where negative edges are present.

A2: https://u.peppe.rs/LS.png
    https://u.peppe.rs/ep.png

------------------------------------------------------------

Q3: Write a program to showcase
    a) Checksum - error detection
    b) Hamming code - error detection and correction

A3: https://u.peppe.rs/qQ.png
    https://u.peppe.rs/qr.png

------------------------------------------------------------

Q6: Write a networking program to demonstrate the following:
    a) Concurrent TCP server
    b) Iterative TCP server
    c) Connectionless UDP server

A6: a) https://u.peppe.rs/E3.png
    b) https://u.peppe.rs/VA.png
    c) https://u.peppe.rs/ei.png

------------------------------------------------------------

Q7: Write a networking program that recieves a shell command
    from a client and returns the output of the command to the
    client.

A7: https://u.peppe.rs/QD.png


============================================================
                            PART B
============================================================

Q1: Setup an IEEE 802.3 network with 
    a) hub 
    b) switch 
    c) hierarchy of switch
    Apply the FTP, Telnet applications between nodes. Vary
    the number of nodes. Vary the bandwidth, queue size and
    observe the packet drop probability.  

A1: https://u.peppe.rs/qualnet/exp1
    https://u.peppe.rs/qualnet/exp2

------------------------------------------------------------
 
Q2. Setup a wireless sensor networks with atleast two device
    co-coordinators and nodes. Provide Constant Bit Rate (CBR),
    Variable Bit Rate (VBR) application between several nodes.
    Increase the number of co-coordinators and nodes in the same
    area and observe the performance at physical and MAC layers.

A2: https://u.peppe.rs/qualnet/exp3

------------------------------------------------------------
 
Q3. Setup an IEEE 802.11 network with at least two access
    points. Apply the CBR, VBR applications between devices
    belonging to same access points and different access points.
    Provide roaming of any device. Vary the number of access
    points and devices. Find out the delay in MAC layer, packet
    drop probability.

A3: https://u.peppe.rs/qualnet/exp4


============================================================
mirror of git.peppe.rs/university/nps