-
Notifications
You must be signed in to change notification settings - Fork 0
/
topologia.imn
1061 lines (1002 loc) · 22.4 KB
/
topologia.imn
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
node n1 {
type router
model router
network-config {
hostname n1
!
interface eth2
ip address 192.168.1.2/24
ipv6 address 2001:10::2/64
!
interface eth3
ip address 10.0.17.1/24
ipv6 address 2001:17::1/64
!
interface eth1
ip address 10.0.5.2/24
ipv6 address 2001:5::2/64
!
interface eth0
ip address 10.0.0.1/24
ipv6 address 2001:0::1/64
!
}
canvas c1
iconcoords {595.0 238.0}
labelcoords {595.0 270.0}
interface-peer {eth0 n2}
interface-peer {eth1 n6}
interface-peer {eth3 n18}
interface-peer {eth2 n13}
}
node n2 {
type router
model router
network-config {
hostname n2
!
interface eth2
ip address 10.0.21.1/24
ipv6 address 2001:21::1/64
!
interface eth3
ip address 10.0.18.1/24
ipv6 address 2001:18::1/64
!
interface eth1
ip address 10.0.1.1/24
ipv6 address 2001:1::1/64
!
interface eth0
ip address 10.0.0.2/24
ipv6 address 2001:0::2/64
!
}
canvas c1
iconcoords {432.0 418.0}
labelcoords {432.0 450.0}
interface-peer {eth0 n1}
interface-peer {eth1 n3}
interface-peer {eth3 n19}
interface-peer {eth2 n22}
}
node n3 {
type router
model router
network-config {
hostname n3
!
interface eth2
ip address 132.50.0.2/24
ipv6 address 2001:6::2/64
!
interface eth4
ip address 10.0.25.2/24
ipv6 address 2001:25::2/64
!
interface eth3
ip address 10.0.22.1/24
ipv6 address 2001:22::1/64
!
interface eth1
ip address 10.0.2.1/24
ipv6 address 2001:2::1/64
!
interface eth0
ip address 10.0.1.2/24
ipv6 address 2001:1::2/64
!
}
canvas c1
iconcoords {539.0 616.0}
labelcoords {539.0 648.0}
interface-peer {eth0 n2}
interface-peer {eth1 n4}
interface-peer {eth3 n25}
interface-peer {eth4 n22}
interface-peer {eth2 n7}
}
node n4 {
type router
model router
network-config {
hostname n4
!
interface eth2
ip address 192.168.0.2/24
ipv6 address 2001:9::2/64
!
interface eth3
ip address 10.0.19.1/24
ipv6 address 2001:19::1/64
!
interface eth1
ip address 10.0.3.1/24
ipv6 address 2001:3::1/64
!
interface eth0
ip address 10.0.2.2/24
ipv6 address 2001:2::2/64
!
}
canvas c1
iconcoords {906.0 616.0}
labelcoords {906.0 648.0}
interface-peer {eth0 n3}
interface-peer {eth1 n5}
interface-peer {eth3 n20}
interface-peer {eth2 n14}
}
node n5 {
type router
model router
network-config {
hostname n5
!
interface eth3
ip address 10.0.20.1/24
ipv6 address 2001:20::1/64
!
interface eth1
ip address 10.0.4.1/24
ipv6 address 2001:4::1/64
!
interface eth0
ip address 10.0.3.2/24
ipv6 address 2001:3::2/64
!
}
canvas c1
iconcoords {1017.0 411.0}
labelcoords {1017.0 443.0}
interface-peer {eth0 n4}
interface-peer {eth1 n6}
interface-peer {eth3 n21}
}
node n6 {
type router
model router
network-config {
hostname n6
!
interface eth2
ip address 172.16.0.2/24
ipv6 address 2001:14::2/64
!
interface eth3
ip address 10.0.26.2/24
ipv6 address 2001:26::2/64
!
interface eth1
ip address 10.0.5.1/24
ipv6 address 2001:5::1/64
!
interface eth0
ip address 10.0.4.2/24
ipv6 address 2001:4::2/64
!
}
canvas c1
iconcoords {883.0 239.0}
labelcoords {883.0 271.0}
interface-peer {eth0 n5}
interface-peer {eth1 n1}
interface-peer {eth3 n25}
interface-peer {eth2 n15}
}
node n18 {
type router
model host
network-config {
hostname ns1com
!
interface eth0
ip address 10.0.17.10/24
ipv6 address 2001:17::10/64
!
}
canvas c1
iconcoords {651.0 84.0}
labelcoords {651.0 116.0}
interface-peer {eth0 n1}
services {DefaultRoute SSH UserDefined}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp -r /home/core/Desktop/Projeto/bind/com/ /etc/bind', '/usr/sbin/named -f -c /etc/bind/com/named.conf -4', )
cmddown=('rm -r /etc/bind/com', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.20.10" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
}
node n19 {
type router
model host
network-config {
hostname ns2net
!
interface eth0
ip address 10.0.18.10/24
ipv6 address 2001:18::10/64
!
}
canvas c1
iconcoords {203.0 293.0}
labelcoords {203.0 325.0}
interface-peer {eth0 n2}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp -r /home/core/Desktop/Projeto/bind/net2 /etc/bind/', '/usr/sbin/named -f -c /etc/bind/net2/named.conf -4', )
cmddown=('rm -r /etc/bind/net2', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.20.10" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute SSH UserDefined}
}
node n20 {
type router
model host
network-config {
hostname ns2com
!
interface eth0
ip address 10.0.19.10/24
ipv6 address 2001:19::10/64
!
}
canvas c1
iconcoords {728.0 798.0}
labelcoords {728.0 830.0}
interface-peer {eth0 n4}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp -r /home/core/Desktop/Projeto/bind/com2/ /etc/bind', '/usr/sbin/named -f -c /etc/bind/com2/named.conf -4', )
cmddown=('rm -r /etc/bind/com2', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.20.10" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute SSH UserDefined}
}
node n21 {
type router
model host
network-config {
hostname ns1pt
!
interface eth0
ip address 10.0.20.10/24
ipv6 address 2001:20::10/64
!
}
canvas c1
iconcoords {1320.0 430.0}
labelcoords {1320.0 462.0}
interface-peer {eth0 n5}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp -r /home/core/Desktop/Projeto/bind/pt /etc/bind/', '/usr/sbin/named -f -c /etc/bind/pt/named.conf -4', )
cmddown=('rm -r /etc/bind/pt', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.20.10" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute SSH UserDefined}
}
node n22 {
type router
model router
network-config {
hostname n22
!
interface eth2
ip address 10.0.25.1/24
ipv6 address 2001:25::1/64
!
interface eth1
ip address 10.0.24.1/24
ipv6 address 2001:24::1/64
!
interface eth0
ip address 10.0.21.2/24
ipv6 address 2001:21::2/64
!
}
canvas c1
iconcoords {202.0 494.0}
labelcoords {202.0 526.0}
interface-peer {eth0 n2}
interface-peer {eth1 n23}
interface-peer {eth2 n3}
}
node n23 {
type router
model host
network-config {
hostname ns2pt
!
interface eth0
ip address 10.0.24.10/24
ipv6 address 2001:24::10/64
!
}
canvas c1
iconcoords {128.0 605.0}
labelcoords {128.0 637.0}
interface-peer {eth0 n22}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp -r /home/core/Desktop/Projeto/bind/pt2/ /etc/bind', '/usr/sbin/named -f -c /etc/bind/pt2/named.conf -4', )
cmddown=('rm -r /etc/bind/pt2', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.20.10" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute SSH UserDefined}
}
node n24 {
type router
model host
network-config {
hostname ns1net
!
interface eth0
ip address 10.0.23.10/24
ipv6 address 2001:23::10/64
!
}
canvas c1
iconcoords {654.0 339.0}
labelcoords {654.0 371.0}
interface-peer {eth0 n25}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp -r /home/core/Desktop/Projeto/bind/net /etc/bind/', '/usr/sbin/named -f -c /etc/bind/net/named.conf -4', )
cmddown=('rm -r /etc/bind/net', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.20.10" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute SSH UserDefined}
}
node n25 {
type router
model router
network-config {
hostname n25
!
interface eth2
ip address 10.0.26.1/24
ipv6 address 2001:26::1/64
!
interface eth1
ip address 10.0.23.1/24
ipv6 address 2001:23::1/64
!
interface eth0
ip address 10.0.22.2/24
ipv6 address 2001:22::2/64
!
}
canvas c1
iconcoords {770.0 479.0}
labelcoords {770.0 511.0}
interface-peer {eth0 n3}
interface-peer {eth1 n24}
interface-peer {eth2 n6}
}
node n7 {
type router
model router
network-config {
hostname n7
!
interface eth2
ip address 132.50.2.1/24
ipv6 address 2001:8::1/64
!
interface eth1
ip address 132.50.1.1/24
ipv6 address 2001:7::1/64
!
interface eth0
ip address 132.50.0.1/24
ipv6 address 2001:6::1/64
!
}
canvas c1
iconcoords {379.0 789.0}
labelcoords {379.0 821.0}
interface-peer {eth0 n3}
interface-peer {eth1 n8}
interface-peer {eth2 n9}
}
node n8 {
type router
model PC
network-config {
hostname node1pt
!
interface eth0
ip address 132.50.1.20/24
ipv6 address 2001:7::20/64
!
}
canvas c1
iconcoords {205.0 859.0}
labelcoords {205.0 891.0}
interface-peer {eth0 n7}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp /home/core/Desktop/Projeto/FS_Node.jar ./', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.20.10" >> /etc/resolv.conf
echo "nameserver 10.0.24.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute UserDefined}
}
node n9 {
type router
model PC
network-config {
hostname node2pt
!
interface eth0
ip address 132.50.2.20/24
ipv6 address 2001:8::20/64
!
}
canvas c1
iconcoords {367.0 936.0}
labelcoords {367.0 968.0}
interface-peer {eth0 n7}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp /home/core/Desktop/Projeto/FS_Node.jar ./', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.20.10" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute UserDefined}
}
node n10 {
type router
model PC
network-config {
hostname node1com
!
interface eth0
ip address 192.168.2.20/24
ipv6 address 2001:11::20/64
!
}
canvas c1
iconcoords {1221.0 923.0}
labelcoords {1221.0 955.0}
interface-peer {eth0 n14}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp /home/core/Desktop/Projeto/FS_Node.jar ./', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.19.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute UserDefined}
}
node n11 {
type router
model PC
network-config {
hostname node2com
!
interface eth0
ip address 192.168.3.20/24
ipv6 address 2001:12::20/64
!
}
canvas c1
iconcoords {1390.0 838.0}
labelcoords {1390.0 870.0}
interface-peer {eth0 n14}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp /home/core/Desktop/Projeto/FS_Node.jar ./', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.19.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute UserDefined}
}
node n12 {
type router
model host
network-config {
hostname fstracker
!
interface eth0
ip address 192.168.4.10/24
ipv6 address 2001:13::10/64
!
}
canvas c1
iconcoords {86.0 82.0}
labelcoords {86.0 114.0}
interface-peer {eth0 n13}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp /home/core/Desktop/Projeto/FS_Tracker.jar ./', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.17.10" >> /etc/resolv.conf
echo "nameserver 10.0.19.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute SSH UserDefined}
}
node n13 {
type router
model router
network-config {
hostname n13
!
interface eth1
ip address 192.168.4.1/24
ipv6 address 2001:13::1/64
!
interface eth0
ip address 192.168.1.1/24
ipv6 address 2001:10::1/64
!
}
canvas c1
iconcoords {244.0 148.0}
labelcoords {244.0 180.0}
interface-peer {eth0 n1}
interface-peer {eth1 n12}
}
node n14 {
type router
model router
network-config {
hostname n14
!
interface eth2
ip address 192.168.3.1/24
ipv6 address 2001:12::1/64
!
interface eth1
ip address 192.168.2.1/24
ipv6 address 2001:11::1/64
!
interface eth0
ip address 192.168.0.1/24
ipv6 address 2001:9::1/64
!
}
canvas c1
iconcoords {1162.0 782.0}
labelcoords {1162.0 814.0}
interface-peer {eth0 n4}
interface-peer {eth1 n10}
interface-peer {eth2 n11}
}
node n15 {
type router
model router
network-config {
hostname n15
!
interface eth2
ip address 172.16.2.1/24
ipv6 address 2001:16::1/64
!
interface eth1
ip address 172.16.1.1/24
ipv6 address 2001:15::1/64
!
interface eth0
ip address 172.16.0.1/24
ipv6 address 2001:14::1/64
!
}
canvas c1
iconcoords {1192.0 241.0}
labelcoords {1192.0 273.0}
interface-peer {eth0 n6}
interface-peer {eth1 n16}
interface-peer {eth2 n17}
}
node n16 {
type router
model PC
network-config {
hostname node1net
!
interface eth0
ip address 172.16.1.20/24
ipv6 address 2001:15::20/64
!
}
canvas c1
iconcoords {1152.0 94.0}
labelcoords {1152.0 126.0}
interface-peer {eth0 n15}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp /home/core/Desktop/Projeto/FS_Node.jar ./', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "nameserver 10.0.18.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute UserDefined}
}
node n17 {
type router
model PC
network-config {
hostname node2net
!
interface eth0
ip address 172.16.2.20/24
ipv6 address 2001:16::20/64
!
}
canvas c1
iconcoords {1333.0 140.0}
labelcoords {1333.0 172.0}
interface-peer {eth0 n15}
custom-config {
custom-config-id service:UserDefined
custom-command UserDefined
config {
files=('preenche_resolvconf.sh', )
cmdup=('mkdir -p /run/systemd/resolve', 'touch /run/systemd/resolve/stub-resolv.conf', 'sh preenche_resolvconf.sh', 'cp /home/core/Desktop/Projeto/FS_Node.jar ./', )
}
}
custom-config {
custom-config-id service:UserDefined:preenche_resolvconf.sh
custom-command preenche_resolvconf.sh
config {
echo "# -- gerado pela script de arranque..." >> /etc/resolv.conf
echo "search cc.pt cc.com cc.net" >> /etc/resolv.conf
echo "nameserver 10.0.23.10" >> /etc/resolv.conf
echo "nameserver 10.0.18.10" >> /etc/resolv.conf
echo "" >> /etc/resolv.conf
}
}
services {DefaultRoute UserDefined}
}
link l1 {
nodes {n1 n2}
bandwidth 0
}
link l2 {
nodes {n2 n3}
bandwidth 0
}
link l3 {
nodes {n3 n4}
bandwidth 0
}
link l4 {
nodes {n4 n5}
bandwidth 0
}
link l5 {
nodes {n5 n6}
bandwidth 0
}
link l6 {
nodes {n6 n1}
bandwidth 0
}
link l19 {
nodes {n2 n19}
bandwidth 0
}
link l21 {
nodes {n5 n21}
bandwidth 0
}
link l18 {
nodes {n1 n18}
bandwidth 0
}
link l20 {
nodes {n20 n4}
bandwidth 0
}
link l22 {
nodes {n2 n22}
bandwidth 0
}
link l23 {
nodes {n3 n25}
bandwidth 0
}
link l24 {
nodes {n24 n25}
bandwidth 0
}
link l25 {
nodes {n22 n23}
bandwidth 0
}
link l26 {
nodes {n22 n3}
bandwidth 0
}
link l27 {
nodes {n25 n6}
bandwidth 0
}
link l7 {
nodes {n7 n3}
bandwidth 0
}
link l8 {
nodes {n7 n8}
bandwidth 0
}
link l9 {
nodes {n7 n9}
bandwidth 0
}
link l10 {
ber 10
color Magenta
nodes {n14 n4}
bandwidth 0
}
link l11 {
nodes {n13 n1}
bandwidth 0
}
link l12 {
nodes {n14 n10}
bandwidth 0
}
link l13 {
nodes {n14 n11}
bandwidth 0
}
link l14 {
nodes {n13 n12}
bandwidth 0
}
link l15 {
color Yellow
duplicate 15
nodes {n15 n6}
bandwidth 0
}
link l16 {
nodes {n15 n16}
bandwidth 0
}
link l17 {
nodes {n15 n17}
bandwidth 0
}
annotation a1 {
iconcoords {1015.0 11.0 1431.0 336.0}
type oval
label {.net}
labelcolor #000000
fontfamily {Arial}
fontsize {24}
color #3663ab
width 0
border #000000
effects {bold}
canvas c1
}
annotation a2 {
iconcoords {137 707 540 980}
type oval
label {.pt}