summaryrefslogtreecommitdiffstats
path: root/doc/book-enea-nfv-access-example-usecases/doc/forti_vnf_examples.xml
blob: 6205cedd097c9455213fdb3df7b85009568a841b (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
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
<?xml version="1.0" encoding="ISO-8859-1"?>
<chapter id="vnf_fortigate">
  <title>FortiGate VNF Example Use-cases</title>

  <para>FortiGate virtual appliances feature all of the security and
  networking services common to traditional hardware-based FortiGate
  appliances. The virtual appliances can be integrated in Firewall or SD-WAN
  solution development.</para>

  <section id="forti_firewall_prereq">
    <title>Prerequisites</title>

    <para>System requirements for the uCPE device:</para>

    <itemizedlist>
      <listitem>
        <para>3 x Network Interfaces</para>
      </listitem>

      <listitem>
        <para>1 x vCPU</para>
      </listitem>

      <listitem>
        <para>1 GB of RAM memory</para>
      </listitem>
    </itemizedlist>

    <para>The following files are needed for this example use case:</para>

    <itemizedlist>
      <listitem>
        <para>FortiGate VNF image. This file is provided by the local Fortinet
        sales representatives in your region.</para>
      </listitem>

      <listitem>
        <para>FortiGate VNF license file. This file is provided by the local
        Fortinet sales representatives in your region.</para>
      </listitem>

      <listitem>
        <para>FortiGate specific documentation. This is provided by the local
        Fortinet sales representatives in your region.</para>
      </listitem>

      <listitem>
        <para>FortiGate configuration example files. These files are provided
        with your Enea NFV Access release.</para>
      </listitem>
    </itemizedlist>
  </section>

  <section id="fortigate_firewall_uc_1">
    <title>FortiGate VNF as a Firewall</title>

    <para>Enea provides an example of a simple base firewall configuration for
    the FortiGate VNF.</para>

    <table>
      <title>FortiGate VNF Example Configuration</title>

      <tgroup cols="2">
          <colspec align="center" colwidth="1*" />

          <colspec align="center" colwidth="4*" />

        <thead>
          <row>
            <entry align="center">Component</entry>

            <entry align="center">Setting/Description</entry>
          </row>
        </thead>

        <tbody>
          <row>
            <entry align="left">Firewall</entry>

            <entry align="left">"All pass" mode</entry>
          </row>

          <row>
            <entry align="left">WAN (Virtual Port1)</entry>

            <entry align="left"><para>DHCP Client, dynamically assigned IP
            address.</para><para>FortiGate In-Band
            Management<superscript>1</superscript>.</para></entry>
          </row>

          <row>
            <entry align="left">WAN (Virtual Port2)</entry>

            <entry align="left"><para>IP address:
            172.168.16.1</para><para>DHCP server (IP range 172.168.16.1 -
            172.168.16.255).</para></entry>
          </row>

          <row>
            <entry align="left">WAN (Virtual Port3)</entry>

            <entry align="left">Ignored</entry>
          </row>
        </tbody>
      </tgroup>
    </table>

    <para><superscript>1</superscript>FortiGate In-Band Management is a
    feature used for running FortiGate Management traffic over WAN.</para>

    <para>Instructions on how to alter the default configuration are provided in section
    <olink targetdoc="book_enea_nfv_access_example_usecases"
    targetptr="fortigate_webmg">FortiGate VNF Web Management in <xi:include
    href="../../s_docbuild/olinkdb/pardoc-names.xml"
    xmlns:xi="http://www.w3.org/2001/XInclude"
    xpointer="element(book_enea_nfv_access_example_usecases/1)" /></olink>.</para>

    <section id="lab_setup_fortfirewall">
      <title>Lab Setup</title>

      <para>Before starting the configuration of the FortiGate Firewall, a lab
      setup concerning hardware and software components has to be created. The
      following table illustrates the requirements for this setup.</para>

      <table>
        <title>Lab Setup Prerequisites</title>

        <tgroup cols="2">
          <colspec align="center" />

          <thead>
            <row>
              <entry align="center">Component</entry>

              <entry align="center">Description/Requirements</entry>
            </row>
          </thead>

          <tbody>
            <row>
              <entry align="left">Lab Network</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>DHCP enabled Lab Network.</entry>
                  </row>

                  <row>
                    <entry>Internet Connectivity.</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>

            <row>
              <entry align="left">Setup of an Intel Whitebox uCPE
              device</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>Minimum 4 Physical Network Devices.</entry>
                  </row>

                  <row>
                    <entry>4 GB RAM and 4 cores (C3000 or Xeon D).</entry>
                  </row>

                  <row>
                    <entry>Enea NFV Access Installed.</entry>
                  </row>

                  <row>
                    <entry>WAN Connected to the Lab Network.</entry>
                  </row>

                  <row>
                    <entry>LAN1 Connected to the Test Machine.</entry>
                  </row>

                  <row>
                    <entry>LAN2 Unconnected.</entry>
                  </row>

                  <row>
                    <entry>ETH0 connected to the Lab Network (for Enea uCPE
                    Manager communications).</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>

            <row>
              <entry align="left">Setup of a Lab Machine</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>Connected to the Lab Network.</entry>
                  </row>

                  <row>
                    <entry>Running either Windows or CentOS.</entry>
                  </row>

                  <row>
                    <entry>The Enea uCPE Manager installed.</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>

            <row>
              <entry align="left">Setup of a Test Machine</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>Connected to Whitebox LAN.</entry>
                  </row>

                  <row>
                    <entry>Internet Connectivity via LAN.</entry>
                  </row>

                  <row>
                    <entry>Configured as the DHCP client on LAN.</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>
          </tbody>
        </tgroup>
      </table>

      <figure>
        <title>Lab Setup Overview</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center" fileref="images/intel_whitebox.png"
                       contentwidth="600" />
          </imageobject>
        </mediaobject>
      </figure>
    </section>

    <section id="exam_setup_fortifirewall">
      <title>Use-case Setup</title>

      <para><emphasis role="bold">Network Configuration:</emphasis></para>

      <para>Since the firewall uses three External Network Interfaces, three
      bridges need to be configured. Each bridge provides the ability to
      connect a physical network interface to the virtual machines' virtual
      network interface.</para>

      <orderedlist>
        <listitem>
          <para>Select the uCPE device, access
          <literal>Configuration</literal> and bind the three physical network
          interfaces to DPDK.</para>
        </listitem>

        <listitem>
          <para>Create three OVS bridges, one for each DPDK network interface
          (WAN, LAN1 and LAN2).</para>
        </listitem>
      </orderedlist>

      <para>Alternatively, the firewall can be setup to use bridges as
      connection points for the FortiGate VNF, by replacing the OVS-DPDK
      bridges with SR-IOV connection points.</para>

      <para>Please note that while previously three physical interfaces were 
        presumed necessary for VNF connection, in the case of a firewall setup 
        only two physical interfaces are required for the data path 
        (one for WAN and one for LAN).</para>
      
      <para>Only two interfaces will be configured as DPDK, with two bridges 
        created, one for each type of connection.</para>

      <note><para>At VNF instantiation instead of assigning distinct bridges for 
        each LAN interface, only one will be used for both LAN1 and LAN2, 
        with no changes in WAN interface configuration.</para></note>
        
        <para>See the picture below for the final setup:</para>

      <figure>
        <title>Two-Interface Configuration</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center" fileref="images/two_inst_firewall.png"
                       contentwidth="600" />
          </imageobject>
        </mediaobject>
      </figure>

      <para><emphasis role="bold">Onboarding the VNF:</emphasis></para>

      <para>Onboard the FortiGate VNF by filling the required fields with the
      following values:</para>

      <itemizedlist spacing="compact">
        <listitem>
          <para><emphasis role="bold">VM Image File</emphasis>: Provide the
          path to the FortiGate VNF qcow2 image.</para>
        </listitem>

        <listitem>
          <para><emphasis role="bold">Memory in MB</emphasis>: 1024</para>
        </listitem>

        <listitem>
          <para><emphasis role="bold">Num of CPUs</emphasis>: 1</para>
        </listitem>

        <listitem>
          <para><emphasis role="bold">Storage in GB</emphasis>: 20</para>
        </listitem>

        <listitem>
          <para><emphasis role="bold">Interfaces</emphasis>: Add 3
          interfaces.</para>
        </listitem>

        <listitem>
          <para><emphasis role="bold">Cloud-init Datasource</emphasis>:
          ConfigDrive</para>
        </listitem>

        <listitem>
          <para><emphasis role="bold">Cloud-init Disk Type</emphasis>:
          cdrom</para>
        </listitem>

        <listitem>
          <para><emphasis role="bold">Cloud-init content file</emphasis>: Add
          a license file entry.</para>
        </listitem>
      </itemizedlist>

      <para><emphasis role="bold">Instantiating the VNF:</emphasis></para>

      <para>Instantiate the FortiGate VNF by filling the required fields with
      the following values:</para>

      <table>
        <title>Instantiation Requirements</title>

        <tgroup cols="2">
          <colspec align="center" colwidth="1*" />

          <colspec align="center" colwidth="4*" />

          <thead>
            <row>
              <entry align="center">Field</entry>

              <entry align="center">Description</entry>
            </row>
          </thead>

          <tbody>
            <row>
              <entry align="left">Name</entry>

              <entry align="left">Name of the VM which will be created on the
              uCPE device.</entry>
            </row>

            <row>
              <entry align="left">VNF Type</entry>

              <entry align="left">Name of the onboarded VNF.</entry>
            </row>

            <row>
              <entry align="left">uCPE Device</entry>

              <entry align="left">Select the uCPE device where the VNF will be
              instantiated.</entry>
            </row>

            <row>
              <entry align="left">License file</entry>

              <entry align="left">The FortiGate license file provided by
              Fortinet.</entry>
            </row>

            <row>
              <entry align="left">Configuration file</entry>

              <entry align="left">The Firewall example configuration file provided
              by Enea
              (<filename>FGVM080000136187_20180828_0353_basic_fw.conf</filename>).</entry>
            </row>

            <row>
              <entry align="left">Port1 - WAN</entry>

              <entry align="left">Set the <literal>External Interface</literal> type to 
                <literal>DPDK</literal> and connect it to the <literal>wanmgrbr</literal> ovs
              bridge.</entry>
            </row>

            <row>
              <entry align="left">Port2 - LAN1</entry>

              <entry align="left">Set the <literal>Incoming Interface</literal> type to 
                <literal>DPDK</literal> and connect it to the <literal>lan1</literal> ovs 
                bridge.</entry>
            </row>

            <row>
              <entry align="left">Port3 - LAN2</entry>

              <entry align="left">Set the <literal>Outgoing Interface</literal> type to 
                <literal>DPDK</literal> and connect it to the <literal>lan2</literal> ovs 
                bridge.</entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </section>

    <section id="testing_fortigate_uc_1">
      <title>Testing the Use-case</title>

      <para>Connect the Test Machine on the LAN interface and access the
      internet from the Test Machine to use the firewall on the uCPE
      device.</para>

      <note>
        <para>The connected Test Machine can be a laptop or a uCPE device. It
        must have one interface configured to get a dynamic IP from a DHCP
        server. The <literal>dhclient &lt;interface&gt;</literal> command can
        be used to request an IP address. The received IP must be in the
        172.16.1.2 - 172.16.1.255 range.</para>
      </note>

      <para>The FortiGate VNF management interface is accessible through the
      WAN interface. The WAN IP address can be used from a web browser on the
      Lab Machine to access the FortiGate VNF Management Web UI. Please check
      <olink targetdoc="book_enea_nfv_access_example_usecases"
      targetptr="fortigate_webmg">FortiGate VNF web management<xi:include
      href="../../s_docbuild/olinkdb/pardoc-names.xml"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xpointer="element(book_enea_nfv_access_example_usecases/1)" /></olink>
      for more information.</para>
    </section>
  </section>

  <section id="fortigate_sdwan_vpn">
    <title>FortiGate VNF as an SD-WAN VPN</title>

    <para>SD-WAN decouples the network from the management plane, detaching
    traffic management and monitoring functions from hardware. Most forms of
    SD-WAN technology create a virtual overlay that is transport-agnostic,
    i.e. it abstracts underlying private or public WAN connections.</para>

    <para>For deployment, the user plugs in WAN links into the device,
    which automatically configures itself with the network.</para>

    <para>Example SD-WAN configurations for the FortiGate VNF are provided by
    Enea.</para>

    <section id="prereq_forti_sdwan_vpn">
      <title>Prerequisites</title>

      <para>The following table illustrates the use-case prerequisites for the
      setup:</para>

      <table>
        <title>Prerequisites</title>

        <tgroup cols="2">
          <colspec align="center" />

          <thead>
            <row>
              <entry align="center">Component</entry>

              <entry align="center">Description</entry>
            </row>
          </thead>

          <tbody>
            <row>
              <entry align="left">Lab Network</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>DHCP enabled Lab Network.</entry>
                  </row>

                  <row>
                    <entry>Internet Connectivity.</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>

            <row>
              <entry align="left">Two Intel Whitebox uCPE devices</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>Minimum 4 Physical Network Devices.</entry>
                  </row>

                  <row>
                    <entry>4 GB RAM and 4 cores (C3000 or Xeon D).</entry>
                  </row>

                  <row>
                    <entry>Enea NFV Access Installed.</entry>
                  </row>

                  <row>
                    <entry>VNFMgr connected to the Lab Network for VNF management
                    access.</entry>
                  </row>

                  <row>
                    <entry>WAN interfaces directly connected through the Ethernet
                    cable.</entry>
                  </row>

                  <row>
                    <entry>LAN connected to the Test Machine.</entry>
                  </row>

                  <row>
                    <entry>ETH0 connected to the Lab Network (for Enea uCPE
                    Manager communications).</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>

            <row>
              <entry align="left">One Lab Machine</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>Connected to the Lab Network.</entry>
                  </row>

                  <row>
                    <entry>Running either Windows or CentOS.</entry>
                  </row>

                  <row>
                    <entry>The Enea uCPE Manager installed.</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>

            <row>
              <entry align="left">Two Test Machines</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>Connected to Whitebox LANs.</entry>
                  </row>

                  <row>
                    <entry>Internet Connectivity via LAN.</entry>
                  </row>

                  <row>
                    <entry>Configured as the DHCP client on LAN.</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>
          </tbody>
        </tgroup>
      </table>
    </section>

    <section id="forti_labsetup_uc2">
      <title>Lab Setup</title>

      <para>The following will detail an SD-WAN setup for a branch to branch
      connection using the FortiGate VNF. FortiGate provides native SD-WAN
      along with integrated advanced threat protection.</para>

      <table>
        <title>FortiGate VNF Example Configuration - SD-WAN uCPE device
        1</title>

        <tgroup cols="2">
          <colspec align="center" />

          <thead>
            <row>
              <entry align="center">Component</entry>

              <entry align="center">Description</entry>
            </row>
          </thead>

          <tbody>
            <row>
              <entry align="left">SD-WAN</entry>

              <entry>VPN connection between two branches (uCPE device 1 and
              uCPE device 2).</entry>
            </row>

            <row>
              <entry align="left">VNFMgr (Virtual Port1)</entry>

              <entry>DHCP Client, dynamically assigned IP address.</entry>
            </row>

            <row>
              <entry align="left">WAN (Virtual Port2)</entry>

              <entry>IP address: 10.0.0.1</entry>
            </row>

            <row>
              <entry align="left">LAN (Virtual Port3)</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>IP address: 172.16.1.1</entry>
                  </row>

                  <row>
                    <entry>DHCP server (IP range 172.16.1.2 -
                    172.16.1.254)</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>
          </tbody>
        </tgroup>
      </table>

      <table>
        <title>FortiGate VNF Example Configuration - SD-WAN uCPE device
        2</title>

        <tgroup cols="2">
          <colspec align="center" />

          <thead>
            <row>
              <entry align="center">Component</entry>

              <entry align="center">Description</entry>
            </row>
          </thead>

          <tbody>
            <row>
              <entry align="left">SD-WAN</entry>

              <entry>VPN connection between two branches (uCPE device 2 and
              uCPE device 1).</entry>
            </row>

            <row>
              <entry align="left">VNFMgr (Virtual Port1)</entry>

              <entry>DHCP Client, dynamically assigned IP address.</entry>
            </row>

            <row>
              <entry align="left">WAN (Virtual Port2)</entry>

              <entry>IP address: 10.0.0.2</entry>
            </row>

            <row>
              <entry align="left">LAN (Virtual Port3)</entry>

              <entrytbl cols="1">
                <tbody>
                  <row>
                    <entry>IP address: 172.16.2.1</entry>
                  </row>

                  <row>
                    <entry>DHCP server (IP range 172.16.2.2 -
                    172.16.2.254)</entry>
                  </row>
                </tbody>
              </entrytbl>
            </row>
          </tbody>
        </tgroup>
      </table>

      <figure>
        <title>SD-WAN: VPN Configuration</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center"
                       fileref="images/sdwan_vpn_overview_1.png" contentwidth="600" />
          </imageobject>
        </mediaobject>
      </figure>
    </section>

    <section id="forti_examsetup_uc2">
      <title>Use-case Setup</title>

      <para><emphasis role="bold">Network Configuration:</emphasis></para>

      <para>Since the SD-WAN VNF uses three External Network Interfaces, three
      bridges need to be configured. Each bridge provides the ability to
      connect a physical network interface to the VM's virtual network
        interface.</para>
      
      <para>Each VNF instance will have a virtual interface for VNF
      management, for the WAN network and for LAN communication.</para>

      <orderedlist>
        <listitem>
          <para>Select uCPE Device 1, access <literal>Configuration</literal>
          and bind the three physical network interfaces to the DPDK.</para>
        </listitem>

        <listitem>
          <para>Create three OVS bridges, one for each DPDK network interface
          (VNF management, WAN and LAN).</para>
        </listitem>

        <listitem>
          <para>Repeat the steps above for uCPE device 2.</para>
        </listitem>
      </orderedlist>

      <para><emphasis role="bold">Onboarding the FortiGate VNF</emphasis></para>

      <para>See the onboarding parameters detailed in the previous use-case above.</para>

      <para><emphasis role="bold">Instantiating the FortiGate VNF</emphasis></para>

      <para>Instantiate the FortiGate VNF by filling the required fields with
      the following values:</para>

      <table>
        <title>Instantiation Requirements</title>

        <tgroup cols="2">
          <colspec align="center" colwidth="1*" />

          <colspec align="center" colwidth="4*" />

          <thead>
            <row>
              <entry align="center">Field</entry>

              <entry align="center">Description</entry>
            </row>
          </thead>

          <tbody>
            <row>
              <entry align="left">Name</entry>

              <entry align="left">Name of the VM which will be created on the
              uCPE device.</entry>
            </row>

            <row>
              <entry align="left">VNF Type</entry>

              <entry align="left">Name of the onboarded VNF.</entry>
            </row>

            <row>
              <entry align="left">uCPE Device</entry>

              <entry align="left">Select the uCPE device where the VNF will be
              instantiated.</entry>
            </row>

            <row>
              <entry align="left">License file</entry>

              <entry align="left">The FortiGate license file provided by
              Fortinet.</entry>
            </row>

            <row>
              <entry align="left">Configuration files</entry>

              <entry align="left">The SD-WAN example configuration files provided
              by Enea:
              <literal>FGVM080000136187_20180215_0708_sdwan1.conf</literal>
              <literal>FGVM080000136188_20180215_0708_sdwan2.conf</literal></entry>
            </row>

            <row>
              <entry align="left">Port1 - VNFMgr</entry>

              <entry align="left">Set the type to <literal>DPDK</literal> and connect it to the
              <literal>vnfmgrbr</literal> bridge.</entry>
            </row>

            <row>
              <entry align="left">Port2 - WAN</entry>

              <entry align="left">Set the type to <literal>DPDK</literal> and connect it to the
              <literal>wanbr</literal> bridge.</entry>
            </row>

            <row>
              <entry align="left">Port3 - LAN</entry>

              <entry align="left">Set the type to <literal>DPDK</literal> and connect it to the
              <literal>lanbr</literal> bridge.</entry>
            </row>
          </tbody>
        </tgroup>
      </table>

      <orderedlist>
        <listitem>
          <para>Instantiate the FortiGate VNF on uCPE device 1 using the
          <literal>sdwan1</literal> example configuration file.</para>
        </listitem>

        <listitem>
          <para>To complete the branch-to-branch setup, configure <literal>uCPE device
          2</literal> in the same way as <literal>uCPE device 1</literal>. Make sure to
          use the <literal>sdwan2</literal> configuration file for the second VNF
          instantiation.</para>
        </listitem>
      </orderedlist>
    </section>

    <section id="forti_test_uc2">
      <title>Testing the Use-case</title>

      <para>Once the full SD-WAN setup is in place a VPN connection needs to
      be established between the two uCPE devices. The Test Machines can be
      connected to the LAN interface on each uCPE device.</para>

      <para>The connected Test Machine can be a laptop or a uCPE device that
      has one interface configured to get a dynamic IP from a DHCP server. The
      <command>dhclient &lt;interface&gt;</command> command can be used to
      request an IP address.</para>

      <note>
        <para>The received IP must be in the 172.16.1.2 - 172.16.1.255 range
        for Test Machine-1 and in the 172.16.2.2 - 172.16.2.255 range for Test
        Machine-2.</para>
      </note>

      <para><literal>uCPE device 1</literal> should be able to ping Test
      <literal>uCPE device 2</literal> in this setup over the WAN connection.
      The FortiGate VNF management interface can be accessed from a web
      browser on the Lab Machine. For more details please see <olink
      targetdoc="book_enea_nfv_access_example_usecases"
      targetptr="fortigate_webmg">FortiGate VNF Web Management, <xi:include
      href="../../s_docbuild/olinkdb/pardoc-names.xml"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xpointer="element(book_enea_nfv_access_example_usecases/1)" /></olink>.</para>

      <note>
        <para>In this SD-WAN VPN setup example, bridges were used as
        connection points for the FortiGate VNF. It is possible to replace
        OVS-DPDK bridges with SR-IOV connection points.</para>
      </note>
    </section>
  </section>

  <section id="fortigate_webmg">
    <title>FortiGate VNF Web Management</title>

    <para>In order to check the IP address assigned to the FortiGate VNF you
    need to connect to the FortiGate CLI.</para>

    <orderedlist>
      <listitem>
        <para>SSH to the uCPE Device (Username: root) and connect to the
        FortiGate VNF console:</para>

        <programlisting>virsh list
virsh console &lt;id of FortiGate VNF&gt;</programlisting>
      </listitem>

      <listitem>
        <para>To access the FortiGate CLI, use <literal>admin</literal> as the
        user, leaving the password blank/empty, and press enter.</para>

        <para>Use the CLI command <literal>get system interface</literal> to
        get the dynamic interfaces configuration.</para>
      </listitem>

      <listitem>
        <para>Use the IP address assigned for the management interface in the
        web browser (<literal>https://&lt;IP&gt;</literal>), to access the
        FortiGate VNF Web Management Interface. Use the same credentials as
        before to login.</para>
      </listitem>

      <listitem>
        <para>Browse through the configuration and perform changes
        according to your setup:</para>

        <figure>
          <title>The FortiGate VNF Web Management Interface</title>

          <mediaobject>
            <imageobject>
              <imagedata align="center"
                         fileref="images/fortinet_interface.png" contentwidth="600" />
            </imageobject>
          </mediaobject>
        </figure>
      </listitem>

      <listitem>
        <para>Optionally, alter the default FortiGate example configuration
        provided by Enea, through the following steps:</para>

        <orderedlist>
          <listitem>
            <para>Deploy the FortiGate Firewall in its default
            settings.</para>
          </listitem>

          <listitem>
            <para>Connect to the FortiGate VNF Web Management interface with a
            web browser.</para>
          </listitem>

          <listitem>
            <para>Modify the FortiGate configuration in the FortiGate VNF Web
            Management as needed.</para>
          </listitem>

          <listitem>
            <para>Store the updated configuration in a file, so it may be used
            at the next FortiGate VNF instantiation.</para>
          </listitem>
        </orderedlist>

        <note>
          <para>Editing the default configuration is only recommended for
          FortiGate configuration experts.</para>
        </note>
      </listitem>
    </orderedlist>
  </section>
</chapter>