tkt
This commit is contained in:
22
SCR2.1/ARM/TP18/#shift-experiment.s#
Normal file
22
SCR2.1/ARM/TP18/#shift-experiment.s#
Normal file
@@ -0,0 +1,22 @@
|
||||
.equ SYS_EXIT, 93
|
||||
|
||||
.data
|
||||
|
||||
int1: .quad 1
|
||||
int2: .quad 2
|
||||
|
||||
.text
|
||||
.globl _start
|
||||
|
||||
_start:
|
||||
|
||||
mov x0,#1
|
||||
lsl x5,x0,#3
|
||||
lsr x5,x0,#1
|
||||
|
||||
mov w8,#SYS_EXIT
|
||||
mov x0,#0
|
||||
svc #0
|
||||
|
||||
.end
|
||||
|
||||
BIN
SCR2.1/ARM/TP18/a.out
Executable file
BIN
SCR2.1/ARM/TP18/a.out
Executable file
Binary file not shown.
BIN
SCR2.1/ARM/TP18/barrel-experiment.o
Normal file
BIN
SCR2.1/ARM/TP18/barrel-experiment.o
Normal file
Binary file not shown.
22
SCR2.1/ARM/TP18/barrel-experiment.s
Normal file
22
SCR2.1/ARM/TP18/barrel-experiment.s
Normal file
@@ -0,0 +1,22 @@
|
||||
.equ SYS_EXIT, 93
|
||||
.data
|
||||
int1: .quad 1
|
||||
int2: .quad 2
|
||||
.text
|
||||
.globl _start
|
||||
|
||||
_start:
|
||||
|
||||
mov x0,#15
|
||||
|
||||
add x1,x0,x0,lsl #4
|
||||
|
||||
mov x2,#1
|
||||
sub x1,xzr,x2,lsl #3
|
||||
|
||||
mov w8,#SYS_EXIT
|
||||
mov w0,#0
|
||||
svc #0
|
||||
|
||||
.end
|
||||
|
||||
BIN
SCR2.1/ARM/TP18/shift-experiment.o
Normal file
BIN
SCR2.1/ARM/TP18/shift-experiment.o
Normal file
Binary file not shown.
19
SCR2.1/ARM/TP18/shift-experiment.s
Normal file
19
SCR2.1/ARM/TP18/shift-experiment.s
Normal file
@@ -0,0 +1,19 @@
|
||||
.equ SYS_EXIT, 93
|
||||
.data
|
||||
int1: .quad 1
|
||||
int2: .quad 2
|
||||
.text
|
||||
.globl _start
|
||||
|
||||
_start:
|
||||
|
||||
mov x0,#1
|
||||
lsl x5,x0,#3
|
||||
lsr x5,x0,#1
|
||||
|
||||
mov w8,#SYS_EXIT
|
||||
mov w0,#0
|
||||
svc #0
|
||||
|
||||
.end
|
||||
|
||||
19
SCR2.1/ARM/TP18/shift-experiment.s~
Normal file
19
SCR2.1/ARM/TP18/shift-experiment.s~
Normal file
@@ -0,0 +1,19 @@
|
||||
.equ SYS_EXIT, 93
|
||||
.data
|
||||
int1: .quad 1
|
||||
int2: .quad 2
|
||||
.text
|
||||
.globl _start
|
||||
|
||||
_start:
|
||||
|
||||
mov x0,#1
|
||||
lsl x5,x0,#3
|
||||
lsr x5,x0,#1
|
||||
|
||||
mov w8,#SYS_EXIT
|
||||
mov w0,#0
|
||||
svc #0
|
||||
|
||||
.end
|
||||
|
||||
@@ -0,0 +1,134 @@
|
||||
I)
|
||||
|
||||
(gdb) l
|
||||
1 .equ SYS_EXIT, 93
|
||||
2 .data
|
||||
3 int1: .quad 1
|
||||
4 int2: .quad 2
|
||||
5 .text
|
||||
6 .globl _start
|
||||
7
|
||||
8 _start:
|
||||
9
|
||||
10 mov x0,#1
|
||||
(gdb) b 7
|
||||
Breakpoint 1 at 0x4000b0: file shift-experiment.s, line 10.
|
||||
(gdb) run
|
||||
Starting program: /export/home/an23/solar/SCR/SCR2.1/ARM/TP18/a.out
|
||||
|
||||
Breakpoint 1, _start () at shift-experiment.s:10
|
||||
10 mov x0,#1
|
||||
(gdb) i r x0 x5
|
||||
x0 0x0 0
|
||||
x5 0x0 0
|
||||
(gdb) s
|
||||
11 lsl x5,x0,#3
|
||||
(gdb) i r x0 x5
|
||||
x0 0x1 1
|
||||
x5 0x0 0
|
||||
(gdb) s
|
||||
12 lsr x5,x0,#1
|
||||
(gdb) i r x0 x5
|
||||
x0 0x1 1
|
||||
x5 0x8 8
|
||||
(gdb) s
|
||||
14 mov w8,#SYS_EXIT
|
||||
(gdb) i r x0 x5
|
||||
x0 0x1 1
|
||||
x5 0x0 0
|
||||
|
||||
|
||||
II)
|
||||
|
||||
|
||||
(gdb) l
|
||||
1 .equ SYS_EXIT, 93
|
||||
2 .data
|
||||
3 int1: .quad 1
|
||||
4 int2: .quad 2
|
||||
5 .text
|
||||
6 .globl _start
|
||||
7
|
||||
8 _start:
|
||||
9
|
||||
10 mov x0,#15
|
||||
(gdb) b 8
|
||||
Breakpoint 1 at 0x4000b0: file barrel-experiment.s, line 10.
|
||||
(gdb) rin
|
||||
Undefined command: "rin". Try "help".
|
||||
(gdb) run
|
||||
Starting program: /export/home/an23/solar/SCR/SCR2.1/ARM/TP18/a.out
|
||||
|
||||
Breakpoint 1, _start () at barrel-experiment.s:10
|
||||
10 mov x0,#15
|
||||
(gdb) i r x1 x0
|
||||
x1 0x0 0
|
||||
x0 0x0 0
|
||||
(gdb) s
|
||||
12 add x1,x0,x0,lsl #4
|
||||
(gdb) i r x1 x0
|
||||
x1 0x0 0
|
||||
x0 0xf 15
|
||||
(gdb) s
|
||||
14 mov w8,#SYS_EXIT
|
||||
(gdb) i r x1 x0
|
||||
x1 0xff 255
|
||||
x0 0xf 15
|
||||
|
||||
|
||||
3.
|
||||
|
||||
|
||||
(gdb) l
|
||||
1 .equ SYS_EXIT, 93
|
||||
2 .data
|
||||
3 int1: .quad 1
|
||||
4 int2: .quad 2
|
||||
5 .text
|
||||
6 .globl _start
|
||||
7
|
||||
8 _start:
|
||||
9
|
||||
10 mov x0,#15
|
||||
(gdb) b 8
|
||||
Breakpoint 1 at 0x4000b0: file barrel-experiment.s, line 10.
|
||||
(gdb) run
|
||||
Starting program: /export/home/an23/solar/SCR/SCR2.1/ARM/TP18/a.out
|
||||
|
||||
Breakpoint 1, _start () at barrel-experiment.s:10
|
||||
10 mov x0,#15
|
||||
(gdb) i r x0 x1 x2
|
||||
x0 0x0 0
|
||||
x1 0x0 0
|
||||
x2 0x0 0
|
||||
(gdb) s
|
||||
12 add x1,x0,x0,lsl #4
|
||||
(gdb) i r x0 x1 x2
|
||||
x0 0xf 15
|
||||
x1 0x0 0
|
||||
x2 0x0 0
|
||||
(gdb) s
|
||||
14 mov x2,#1
|
||||
(gdb) i r x0 x1 x2
|
||||
x0 0xf 15
|
||||
x1 0xff 255
|
||||
x2 0x0 0
|
||||
(gdb) s
|
||||
15 sub x1,xzr,x2,lsl #3
|
||||
(gdb) i r x0 x1 x2
|
||||
x0 0xf 15
|
||||
x1 0xff 255
|
||||
x2 0x1 1
|
||||
(gdb) s
|
||||
17 mov w8,#SYS_EXIT
|
||||
(gdb) i r x0 x1 x2
|
||||
x0 0xf 15
|
||||
x1 0xfffffffffffffff8 -8
|
||||
x2 0x1 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
113
SCR2.2/TP20/simple1.imn
Normal file
113
SCR2.2/TP20/simple1.imn
Normal file
@@ -0,0 +1,113 @@
|
||||
node n1 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc1
|
||||
!
|
||||
interface eth0
|
||||
ip address 172.16.1.1/16
|
||||
mac address 42:00:aa:00:00:03
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {144 312}
|
||||
labelcoords {144 343}
|
||||
interface-peer {eth0 n0}
|
||||
}
|
||||
|
||||
node n2 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc2
|
||||
!
|
||||
interface eth0
|
||||
ip address 172.16.2.2/16
|
||||
mac address 42:00:aa:00:00:04
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {384 312}
|
||||
labelcoords {384 343}
|
||||
interface-peer {eth0 n0}
|
||||
}
|
||||
|
||||
node n3 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc3
|
||||
!
|
||||
interface eth0
|
||||
ip address 172.16.3.3/16
|
||||
mac address 42:00:aa:00:00:05
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {576 312}
|
||||
labelcoords {576 343}
|
||||
interface-peer {eth0 n0}
|
||||
}
|
||||
|
||||
node n0 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch1
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {384 96}
|
||||
labelcoords {384 119}
|
||||
interface-peer {e0 n1}
|
||||
interface-peer {e1 n2}
|
||||
interface-peer {e2 n3}
|
||||
}
|
||||
|
||||
link l0 {
|
||||
nodes {n1 n0}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l1 {
|
||||
nodes {n2 n0}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l2 {
|
||||
nodes {n3 n0}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
canvas c0 {
|
||||
name {Canvas0}
|
||||
}
|
||||
|
||||
option show {
|
||||
interface_names yes
|
||||
ip_addresses yes
|
||||
ipv6_addresses yes
|
||||
node_labels yes
|
||||
link_labels yes
|
||||
background_images no
|
||||
annotations yes
|
||||
hostsAutoAssign no
|
||||
grid yes
|
||||
iconSize normal
|
||||
zoom 1.0
|
||||
}
|
||||
|
||||
185
SCR2.2/TP20/simple2.imn
Normal file
185
SCR2.2/TP20/simple2.imn
Normal file
@@ -0,0 +1,185 @@
|
||||
node n0 {
|
||||
type host
|
||||
network-config {
|
||||
hostname host1
|
||||
!
|
||||
interface eth1
|
||||
ip address 172.16.2.254/24
|
||||
!
|
||||
interface eth0
|
||||
ip address 172.16.1.254/24
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {432 72}
|
||||
labelcoords {432 108}
|
||||
interface-peer {eth0 n1}
|
||||
interface-peer {eth1 n2}
|
||||
}
|
||||
|
||||
node n1 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch1
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {264 216}
|
||||
labelcoords {264 239}
|
||||
interface-peer {e0 n0}
|
||||
interface-peer {e1 n3}
|
||||
interface-peer {e2 n4}
|
||||
}
|
||||
|
||||
node n2 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch2
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {600 216}
|
||||
labelcoords {600 239}
|
||||
interface-peer {e0 n0}
|
||||
interface-peer {e1 n5}
|
||||
interface-peer {e2 n6}
|
||||
}
|
||||
|
||||
node n3 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc1
|
||||
!
|
||||
interface eth0
|
||||
ip address 172.16.1.1/24
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {120 360}
|
||||
labelcoords {120 391}
|
||||
interface-peer {eth0 n1}
|
||||
}
|
||||
|
||||
node n4 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc2
|
||||
!
|
||||
interface eth0
|
||||
ip address 172.16.1.2/24
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {408 360}
|
||||
labelcoords {408 391}
|
||||
interface-peer {eth0 n1}
|
||||
}
|
||||
|
||||
node n5 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc3
|
||||
!
|
||||
interface eth0
|
||||
ip address 172.16.2.1/24
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {504 360}
|
||||
labelcoords {504 391}
|
||||
interface-peer {eth0 n2}
|
||||
}
|
||||
|
||||
node n6 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc4
|
||||
!
|
||||
interface eth0
|
||||
ip address 172.16.2.2/24
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {744 360}
|
||||
labelcoords {744 391}
|
||||
interface-peer {eth0 n2}
|
||||
}
|
||||
|
||||
link l0 {
|
||||
nodes {n1 n0}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l1 {
|
||||
nodes {n2 n0}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l2 {
|
||||
nodes {n1 n3}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l3 {
|
||||
nodes {n1 n4}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l4 {
|
||||
nodes {n2 n5}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l5 {
|
||||
nodes {n6 n2}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
canvas c0 {
|
||||
name {Canvas0}
|
||||
}
|
||||
|
||||
option show {
|
||||
interface_names yes
|
||||
ip_addresses yes
|
||||
ipv6_addresses yes
|
||||
node_labels yes
|
||||
link_labels yes
|
||||
background_images no
|
||||
annotations yes
|
||||
hostsAutoAssign no
|
||||
grid yes
|
||||
iconSize normal
|
||||
zoom 1.0
|
||||
}
|
||||
|
||||
368
SCR2.2/TP20/simple3.imn
Normal file
368
SCR2.2/TP20/simple3.imn
Normal file
@@ -0,0 +1,368 @@
|
||||
node n0 {
|
||||
type host
|
||||
network-config {
|
||||
hostname host1
|
||||
!
|
||||
interface eth1
|
||||
ip address 192.168.64.254/18
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.0.254/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {216 168}
|
||||
labelcoords {216 204}
|
||||
interface-peer {eth0 n2}
|
||||
interface-peer {eth1 n3}
|
||||
}
|
||||
|
||||
node n1 {
|
||||
type host
|
||||
network-config {
|
||||
hostname host2
|
||||
!
|
||||
interface eth2
|
||||
ip address 192.168.64.253/18
|
||||
!
|
||||
interface eth1
|
||||
ip address 192.168.192.254/18
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.128.254/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {624 168}
|
||||
labelcoords {624 204}
|
||||
interface-peer {eth0 n4}
|
||||
interface-peer {eth1 n5}
|
||||
interface-peer {eth2 n3}
|
||||
}
|
||||
|
||||
node n2 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch1
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {72 264}
|
||||
labelcoords {72 287}
|
||||
interface-peer {e0 n0}
|
||||
interface-peer {e1 n7}
|
||||
interface-peer {e2 n6}
|
||||
}
|
||||
|
||||
node n3 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch2
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {360 264}
|
||||
labelcoords {360 287}
|
||||
interface-peer {e0 n0}
|
||||
interface-peer {e1 n9}
|
||||
interface-peer {e2 n8}
|
||||
interface-peer {e3 n1}
|
||||
}
|
||||
|
||||
node n4 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch3
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {600 264}
|
||||
labelcoords {600 287}
|
||||
interface-peer {e0 n1}
|
||||
interface-peer {e1 n11}
|
||||
interface-peer {e2 n10}
|
||||
}
|
||||
|
||||
node n5 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch4
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {792 312}
|
||||
labelcoords {792 335}
|
||||
interface-peer {e0 n1}
|
||||
interface-peer {e1 n13}
|
||||
interface-peer {e2 n12}
|
||||
}
|
||||
|
||||
node n6 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc1
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.0.1/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
ip route 0.0.0.0/0 192.168.0.254
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {24 456}
|
||||
labelcoords {24 487}
|
||||
interface-peer {eth0 n2}
|
||||
}
|
||||
|
||||
node n7 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc2
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.0.2/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
ip route 0.0.0.0/0 192.168.0.254
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {168 504}
|
||||
labelcoords {168 535}
|
||||
interface-peer {eth0 n2}
|
||||
}
|
||||
|
||||
node n8 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc3
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.64.1/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
ip route 0.0.0.0/0 192.168.64.253
|
||||
ip route 0.0.0.0/0 192.168.64.254
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {264 408}
|
||||
labelcoords {264 439}
|
||||
interface-peer {eth0 n3}
|
||||
}
|
||||
|
||||
node n9 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc4
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.64.2/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {408 504}
|
||||
labelcoords {408 535}
|
||||
interface-peer {eth0 n3}
|
||||
}
|
||||
|
||||
node n10 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc5
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.128.1/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {504 408}
|
||||
labelcoords {504 439}
|
||||
interface-peer {eth0 n4}
|
||||
}
|
||||
|
||||
node n11 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc6
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.128.2/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {648 504}
|
||||
labelcoords {648 535}
|
||||
interface-peer {eth0 n4}
|
||||
}
|
||||
|
||||
node n12 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc7
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.192.1/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {744 408}
|
||||
labelcoords {744 439}
|
||||
interface-peer {eth0 n5}
|
||||
}
|
||||
|
||||
node n13 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc8
|
||||
!
|
||||
interface eth0
|
||||
ip address 192.168.192.2/18
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
auto_default_routes enabled
|
||||
canvas c0
|
||||
iconcoords {840 504}
|
||||
labelcoords {840 535}
|
||||
interface-peer {eth0 n5}
|
||||
}
|
||||
|
||||
link l0 {
|
||||
nodes {n2 n0}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l1 {
|
||||
nodes {n3 n0}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l2 {
|
||||
nodes {n4 n1}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l3 {
|
||||
nodes {n5 n1}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l4 {
|
||||
nodes {n13 n5}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l5 {
|
||||
nodes {n12 n5}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l6 {
|
||||
nodes {n11 n4}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l7 {
|
||||
nodes {n10 n4}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l8 {
|
||||
nodes {n9 n3}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l9 {
|
||||
nodes {n8 n3}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l10 {
|
||||
nodes {n7 n2}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l11 {
|
||||
nodes {n6 n2}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l12 {
|
||||
nodes {n1 n3}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
canvas c0 {
|
||||
name {Canvas0}
|
||||
}
|
||||
|
||||
option show {
|
||||
interface_names yes
|
||||
ip_addresses yes
|
||||
ipv6_addresses yes
|
||||
node_labels yes
|
||||
link_labels yes
|
||||
background_images no
|
||||
annotations yes
|
||||
hostsAutoAssign no
|
||||
grid yes
|
||||
iconSize normal
|
||||
zoom 1.0
|
||||
}
|
||||
|
||||
36
SCR2.2/TP20/solar-5-TP20-repones.txt
Normal file
36
SCR2.2/TP20/solar-5-TP20-repones.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
PC 1:
|
||||
Clique droit tcpdump
|
||||
|
||||
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
|
||||
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
|
||||
14:40:16.534494 IP 172.16.1.1 > 172.16.3.3: ICMP echo request, id 3, seq 1, length 64
|
||||
14:40:16.534582 IP 172.16.3.3 > 172.16.1.1: ICMP echo reply, id 3, seq 1, length 64
|
||||
14:40:21.665229 ARP, Request who-has 172.16.3.3 tell 172.16.1.1, length 28
|
||||
14:40:21.665295 ARP, Request who-has 172.16.1.1 tell 172.16.3.3, length 28
|
||||
14:40:21.665317 ARP, Reply 172.16.1.1 is-at 42:00:aa:00:00:03, length 28
|
||||
14:40:21.665376 ARP, Reply 172.16.3.3 is-at 42:00:aa:00:00:05, length 28
|
||||
14:41:28.225456 IP6 fe80::cfd:c6ff:fece:ca0c > ff02::2: ICMP6, router solicitation, length 16
|
||||
|
||||
|
||||
PC 2:
|
||||
|
||||
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
|
||||
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
|
||||
14:40:16.534541 IP 172.16.1.1 > 172.16.3.3: ICMP echo request, id 3, seq 1, length 64
|
||||
14:40:16.534566 IP 172.16.3.3 > 172.16.1.1: ICMP echo reply, id 3, seq 1, length 64
|
||||
14:40:21.665200 ARP, Request who-has 172.16.1.1 tell 172.16.3.3, length 28
|
||||
14:40:21.665300 ARP, Request who-has 172.16.3.3 tell 172.16.1.1, length 28
|
||||
14:40:21.665336 ARP, Reply 172.16.3.3 is-at 42:00:aa:00:00:05, length 28
|
||||
14:40:21.665371 ARP, Reply 172.16.1.1 is-at 42:00:aa:00:00:03, length 28
|
||||
|
||||
|
||||
|
||||
Terminal HOST :
|
||||
|
||||
[solar@salle229-06 TP20]$ sudo himage pc1 ping -c1 172.16.3.3
|
||||
PING 172.16.3.3 (172.16.3.3) 56(84) bytes of data.
|
||||
64 bytes from 172.16.3.3: icmp_seq=1 ttl=64 time=0.109 ms
|
||||
|
||||
--- 172.16.3.3 ping statistics ---
|
||||
1 packets transmitted, 1 received, 0% packet loss, time 0ms
|
||||
rtt min/avg/max/mdev = 0.109/0.109/0.109/0.000 ms
|
||||
BIN
SCR2.2/TP20/tp20.SCR.2.2.pdf
Normal file
BIN
SCR2.2/TP20/tp20.SCR.2.2.pdf
Normal file
Binary file not shown.
BIN
SCR2.2/TP21.tar
Normal file
BIN
SCR2.2/TP21.tar
Normal file
Binary file not shown.
638
SCR2.2/TP21/tp21.SCR.2.2.imn
Normal file
638
SCR2.2/TP21/tp21.SCR.2.2.imn
Normal file
File diff suppressed because it is too large
Load Diff
BIN
SCR2.2/TP21/tp21.SCR.2.2.pdf
Normal file
BIN
SCR2.2/TP21/tp21.SCR.2.2.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user