<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vignesh M on Medium]]></title>
        <description><![CDATA[Stories by Vignesh M on Medium]]></description>
        <link>https://medium.com/@vigneshmnandu?source=rss-50dc3e362984------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*H9IhE48uZnLj0Fp1E9HIYQ.jpeg</url>
            <title>Stories by Vignesh M on Medium</title>
            <link>https://medium.com/@vigneshmnandu?source=rss-50dc3e362984------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 01:03:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vigneshmnandu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a Small and Medium Enterprise Network in EVE-NG: Cisco, FortiGate, OSPF, VPN & Zabbix]]></title>
            <link>https://medium.com/@vigneshmnandu/building-a-small-medium-enterprise-network-in-eve-ng-with-cisco-switching-fortigate-firewalls-040c4e1e738d?source=rss-50dc3e362984------2</link>
            <guid isPermaLink="false">https://medium.com/p/040c4e1e738d</guid>
            <dc:creator><![CDATA[Vignesh M]]></dc:creator>
            <pubDate>Thu, 10 Sep 2026 15:47:57 GMT</pubDate>
            <atom:updated>2026-10-02T10:26:04.510Z</atom:updated>
            <content:encoded><![CDATA[<h4>A practical walkthrough of designing, deploying, securing, and monitoring a multi-site SME network in EVE-NG.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iQFqY_oc5SFym6ANUpwW2Q.png" /><figcaption>SME Network</figcaption></figure><h3>Introduction</h3><p>Building an enterprise network in EVE-NG is much more valuable when the lab is treated like a real infrastructure project rather than simply connecting devices until pings work.</p><p>For this project, I built a <strong>Small-to-Medium Enterprise network</strong> with simulated ISP connecting two logical sites:</p><ul><li><strong>HQ / Head Office</strong></li><li><strong>BR1 / Branch Office</strong></li></ul><p>The design combines:</p><ul><li>Cisco routers and multilayer/distribution switches</li><li>Cisco Layer-2 access switches</li><li>FortiGate firewalls</li><li>OSPF for dynamic routing</li><li>HSRP for first-hop redundancy</li><li>Rapid-PVST for Layer-2 resiliency</li><li>EtherChannel/LACP</li><li>VLAN segmentation</li><li>DHCP and DNS services</li><li>Site-to-site IPsec VPN between HQ and BR1</li><li>SSL VPN</li><li>Zabbix Server at HQ</li><li>Zabbix Proxy at the branch</li><li>SNMP-based infrastructure monitoring</li><li>Linux NIC active-backup bonding</li></ul><p>The interesting part of the project is not any individual technology. It is how the technologies work together: the switching layer provides resilient local connectivity, OSPF carries the routed infrastructure, FortiGate controls Internet and inter-site traffic, and Zabbix gives the network an operational monitoring layer.</p><h3>Understanding the topology before configuring anything</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oOeJcgYy5_MkUHsSAcd-FA.png" /></figure><p>The first major architectural decision was choosing a <strong>two-tier collapsed-core model</strong>.</p><p>In a traditional three-tier enterprise design, the network is divided into:</p><ol><li>Access</li><li>Distribution</li><li>Core</li></ol><p>For this SME lab, I combined the core and distribution responsibilities.</p><p>At both HQ and BR1, a pair of Cisco distribution switches became the Layer 3 boundary for the site. They handled:</p><ul><li>Inter-VLAN routing</li><li>HSRP</li><li>OSPF</li><li>STP root placement</li><li>Trunking</li><li>Connectivity toward the FortiGate firewalls</li></ul><p>Here I treated the topology as a collection of functional layers instead of configuring every device randomly.</p><p>At HQ, the diagram contains the following components:</p><ul><li>ISP edge</li><li>Management network</li><li>WAN switch</li><li>FortiGate firewall HA pair</li><li>Two distribution switches</li><li>Three access switches</li><li>DDI/DNS/DHCP server</li><li>Zabbix server</li><li>Three desktop endpoints</li></ul><p>At BR1, the design contains the following components:</p><ul><li>Single FortiGate firewall</li><li>Two distribution switches</li><li>Three access switches</li><li>Zabbix proxy</li><li>Three desktop endpoints</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qZoblMMAYIc4hvmDtWRlcw.png" /><figcaption>Device Interface Mapping</figcaption></figure><p><strong>Cabling &amp; Interface Standards<br></strong>Establishing structured cabling standards during EVE-NG deployment is critical to avoiding configuration drift. The topology strictly adheres to the following port-allocation policy:</p><ul><li><strong>Downlink Interfaces:</strong> <em>Ethernet1/0 through Ethernet1/3 </em>on core switches connect to downstream access layer switches.</li><li><strong>Uplink Interfaces:</strong> <em>Ethernet0/0 through Ethernet0/3</em> on access and core switches terminate on upstream distribution or security layers.</li></ul><p><strong>Devices and its Key Features</strong></p><pre>Device &amp; Role                           Key Configured Features<br>---------------------------------------------------------------------------------------------------<br>ISP Router (ISP)                        - Connects HQ and Branch via /30 point-to-point links.<br>Simulated Internet Provider<br><br>HQ WAN Transit Switch (HQ-WAN-SW-01)    - Pure Layer 2 WAN Edge (HQ) using VLAN 100.<br>                                        - Bridges ISP connection to FortiGate HA cluster.<br>                                        - Implements Spanning Tree PVST, BPDU Guard &amp; BPDU Filter.<br><br>HQ Edge Firewalls (HQ-FW-01 &amp; 02)       - Active-Passive HA cluster with session-pickup.<br>                                        - Virtual IPs (VIPs) for inbound NAT mapping to DDI server.<br>                                        - SSL VPN portal &amp; IP pool (10.212.134.x) for admins.<br>                                        - Site-to-Site IPsec VPN tunnel (VPN-BR1) to Branch.<br>                                        - Participates in internal OSPF Area 0 routing.<br><br>Branch Firewall (BR1-FW-01)             - Enterprise Security edge for Branch.<br>                                        - Localized DHCP and DNS server for branch VLANs.<br><br>Collapsed Core Switches                 - Multi-Layer switching &amp; Inter-VLAN routing via SVIs.<br>(HQ-DSW-01/02, BR1-DSW-01/02)           - First-Hop Redundancy via HSRPv2 (Priority 105 active).<br>                                        - Rapid-PVST+ with root priorities (0 primary, 4096 sec).<br>                                        - Interconnected via Layer 2 EtherChannel (Port-channel 1).<br>                                        - Advertises local subnets &amp; Loopbacks into OSPF.<br><br>Centralized DDI Server (HQ-DDI-01)      - Primary DHCP server for HQ with reserved exclusions.<br>                                        - Internal DNS server with static host records.<br><br>Access Switches                         - Pure Layer 2 edge switches.<br>(HQ-ASW-01..03, BR1-ASW-01..03)         - Edge port security via Spanning Tree, PortFast &amp; BPDU Guard.</pre><h3>The addressing strategy</h3><p>The network is easier to understand once the addressing scheme is grouped by purpose.</p><pre>Function                           HQ                     BR1<br>----------------------------------------------------------------------------<br>WAN transit to ISP                 203.0.113.0/30         203.0.113.4/30<br><br>Firewall-to-distribution           10.1.1.0/30            10.3.1.0/30<br>transit                            10.1.1.4/30            10.3.1.4/30<br><br>User VLAN 10                       10.1.10.0/24           10.3.10.0/24<br><br>Servers VLAN 50                    10.1.50.0/24           10.3.50.0/24<br><br>Management VLAN 99                 10.1.99.0/24           10.3.99.0/24<br><br>DDI                                10.1.100.0/24          Configured in BR1 firewall<br><br>Firewall loopback                  10.1.255.1/32          10.3.255.1/32<br><br>DSW-01 loopback                    10.1.255.11/32         10.3.255.11/32<br><br>DSW-02 loopback                    10.1.255.12/32         10.3.255.12/32</pre><p>The ISP uses <em>203.0.113.1/30</em> toward HQ and <em>203.0.113.5/30</em> toward the branch. The FortiGate WAN addresses are <em>203.0.113.2 </em>and <em>203.0.113.6</em> respectively.<br>At HQ, the configuration identifies the internal networks as:</p><ul><li>10.1.10.0/24 — HQ users</li><li>10.1.99.0/24 — HQ management</li><li>10.1.50.0/24 — HQ Servers</li></ul><p>The VPN local and remote network objects are <em>10.1.0.0/16</em> and <em>10.3.0.0/16</em>. The same firewall configuration explicitly defines the Zabbix Server as <em>10.1.50.10/32</em> and the Zabbix Proxy as<em> 10.3.50.10/32</em>.</p><p>That separation is important because I did not want user VLANs, infrastructure transit links and WAN networks mixed together.</p><p>The below image shows the detailed Addressing of the network:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ziGWmWl1EHTcOVLr8-c55w.png" /><figcaption>IPv4 Address Mapping</figcaption></figure><h3><strong>Project Scope and Future Expansion</strong></h3><p>Although this project covers a wide range of enterprise networking technologies, I would not consider it a complete SME enterprise environment. My main focus was on building and integrating the network infrastructure layer — including VLAN segmentation, HSRP, Rapid-PVST+, EtherChannel, OSPF, FortiGate HA, NAT/PAT, IPsec and SSL VPN, DHCP/DNS, and centralized monitoring with Zabbix Server and Proxy.</p><p>There are still several areas that can be added to take the lab closer to a complete enterprise setup. Some of the major additions would be Active Directory and Windows infrastructure, storage/NAS, virtualization, enterprise wireless, NAC/802.1X, SD-WAN with multiple WAN links, IPAM, centralized logging/SIEM, IDS/IPS, backup and disaster recovery, cloud connectivity, network automation, application/database servers, IPv6, QoS, and voice services.</p><p>I see the current implementation as a solid network infrastructure foundation that can be expanded incrementally. The next phases would be less about adding more devices for the sake of it, and more about integrating these additional services with the existing routing, security, and monitoring architecture to create a more complete enterprise environment.</p><h3>Build the WAN/ISP side first</h3><p>I started with the simplest part of the topology: the simulated ISP.<br>The ISP router has two active point-to-point links:</p><pre>FastEthernet0/0 = 203.0.113.1/30<br>FastEthernet1/0 = 203.0.113.5/30</pre><p>The other Fast Ethernet interface is shut down.<br>The idea is straightforward:</p><pre>                ISP<br>        +----------------+<br>        |                |<br> 203.0.113.1/30    203.0.113.5/30<br>        |                |<br>   203.0.113.2      203.0.113.6<br>      HQ-FW            BR1-FW</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8-pmYE8MYdjeMo3VU-9uwQ.png" /><figcaption>Created using Google NotebookML</figcaption></figure><p>This creates two independent Internet-facing transit networks that can later support:</p><ol><li>HQ Internet access</li><li>BR1 Internet access</li><li>The public endpoints of the site-to-site VPN</li></ol><p>The important lesson here is to get the WAN underlay working before troubleshooting the VPN. If the firewalls cannot reliably reach each other over the simulated Internet, the IPsec layer will never become stable.</p><h3>Build the HQ WAN/management switch</h3><p>The device HQ-WAN-SW-01 acts as the small Layer-2 aggregation point around the management/WAN side.</p><p>Its access interfaces are placed into <strong>VLAN 100</strong>, with DTP disabled using switchport <em>nonegotiate</em>. <em>PortFast </em>and <em>BPDU Guard </em>are also used on the edge-facing access ports. One additional interface is configured as <strong>VLAN 100</strong> with BPDU filtering.</p><p>The pattern is:</p><pre>nterface Ethernet0/0<br> switchport access vlan 100<br> switchport mode access<br> switchport nonegotiate<br> spanning-tree portfast edge<br> spanning-tree bpduguard enable</pre><p>This configuration is useful because it clearly separates the management/WAN-side Layer-2 segment from the internal production VLANs.</p><h3>Configure the HQ FortiGate</h3><p>The HQ firewall HQ-FW-01 is one of the most important parts of the design.<br>The exported configuration identifies the main interfaces as:</p><pre>Port      IP Address          Description<br>-----------------------------------------<br>Port 1    192.168.2.135/24    MGMT<br>Port 2    203.0.113.2/30      WAN<br>Port 3    10.1.1.1/30         LAN1<br>Port 4    10.1.1.5/30         LAN2</pre><p>There is also: Loopback0 = <em>10.1.255.1/32</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*vM6EfHEw1MXu-0MH1uB7dg.png" /><figcaption>HQ-FW-01 Interfaces</figcaption></figure><h3>Management interface</h3><p>The management interface is deliberately separate from the WAN and LAN transit interfaces:</p><pre>port1<br>IP: 192.168.2.135/24<br>Alias: MGMT</pre><p><em>HTTPS, SSH, SNMP</em> and related management access are enabled there.</p><p>This follows a useful enterprise principle: management traffic should have a predictable and dedicated path.</p><h3>WAN interface</h3><p>The WAN interface is:</p><pre>port2<br>IP: 203.0.113.2/30<br>Alias: WAN</pre><p>This connects the HQ firewall to the simulated ISP at 203.0.113.1.</p><p>FortiGate’s default route uses that ISP gateway. The configuration contains a static route with gateway 203.0.113.1, distance 1, via port2.</p><h3>Add HA to the HQ firewall design</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b9RN05g7C6COU06S0OCP5g.png" /></figure><p>The HQ firewall configuration contains an active-passive HA cluster:</p><pre>group-name: HQ-HA-Cluster<br>mode: a-p<br>session-pickup: enable<br>override: enable<br>priority: 200<br>monitor: port2 port3 port4</pre><p>Heartbeat interfaces are port5 and port6, with different heartbeat weights.<br>This gives the HQ firewall layer a resilient design:</p><pre>                 +----------------+<br>                 |   ISP / WAN    |<br>                 +--------+-------+<br>                          |<br>                    +-----+-----+<br>                    | HQ FW HA  |<br>                    | Active/   |<br>                    | Passive   |<br>                    +-----+-----+<br>                          |<br>                +---------+---------+<br>                |                   |<br>              LAN1                 LAN2</pre><p>The important part is that the firewall cluster is not simply an HA checkbox. The configuration also specifies the interfaces that should be monitored and enables session pickup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rv7uJMbg9_i5LR15C6tVoA.png" /></figure><h3>Connect the HQ firewall to the routing domain</h3><p>The FortiGate does not perform all internal routing itself. Instead, I used OSPF between the firewall and the Layer-3 distribution layer.</p><p>The HQ FortiGate has:<br>LAN1 = <em>10.1.1.1/30</em><br>LAN2 = <em>10.1.1.5/30</em></p><p>Uses OSPF router ID: <em>10.1.255.1</em></p><p>The OSPF interfaces are explicitly configured as point-to-point interfaces, with 10-second hello and 40-second dead intervals.</p><p>The two advertised transit networks are:<br><em>10.1.1.0/30<br>10.1.1.4/30</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yrNMVerVur-zujyEra5s3g.png" /><figcaption>HQ-FW-01 OSPF Settings</figcaption></figure><p>Here one of the most important setting to turn on while configuring OSPF is to set <em>default-information-originate always .</em></p><p>The Cisco distribution switches should not need to know every individual Internet destination. Their job is to know:<br>Internal networks → internal routes<br>Everything else → FortiGate</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hh96U4HLCvULDyOikP8lUw.png" /></figure><p>The FortiGate therefore advertises a default route into OSPF.<br>With <em>always </em>is set, the router unconditionally advertises the default route to the rest of the OSPF domain. It does not check if an active path or entry exists locally. So while <em>always </em>keeps the advertisement stable, traffic may still drop at that router if it lacks a real path to the internet or external network.</p><p>The high level routing architecture from HQ users to ISP:</p><pre>  HQ users<br>     |<br>  HQ DSWs<br>     |<br>   OSPF<br>     |<br>HQ FortiGate<br>     |<br>Default route<br>     |<br>    ISP</pre><h3>Build the HQ distribution layer</h3><p>The two HQ distribution switches are:</p><ul><li>HQ-DSW-01</li><li>HQ-DSW-02</li></ul><p>Both use Rapid-PVST and act as the Layer-3 gateway pair for the internal VLANs. The device names are confirmed in the configuration export.<br>The distribution layer is where most of the resiliency comes together.</p><h3>Configure HSRP on HQ-DSW-01</h3><p>A client should never depend on the physical IP address of one distribution switch as its default gateway. Instead, the hosts use an HSRP virtual IP.</p><p>HQ-DSW-01 uses:</p><pre>VLAN 10 = 10.1.10.2/24<br>HSRP VIP = 10.1.10.1<br><br>VLAN 50 = 10.1.50.2/24<br>HSRP VIP = 10.1.50.1<br><br>VLAN 99 = 10.1.99.11/24<br>HSRP VIP = 10.1.99.1</pre><p>BR1-DSW-01 was configured with higher HSRP priority for selected VLANs, while BR1-DSW-02 provided the standby function</p><p>For VLAN 10 and VLAN 99, the switch uses priority 105 with preemption.<br>VLAN 10 and VLAN 99 also use DHCP helper configuration pointing at 10.1.100.10.</p><p>The virtual gateway is therefore independent of the physical distribution switch:</p><pre>            HSRP VIP<br>           10.1.10.1<br>               |<br>        +------+------+<br>        |             |<br>      DSW-01        DSW-02<br>    10.1.10.2      10.1.10.3</pre><p>Hosts only need to know the HSRP virtual IP.</p><h3>Configure the second HQ distribution switch</h3><p>HQ-DSW-02 uses the companion addresses:</p><pre>VLAN 10 = 10.1.10.3<br>VLAN 50 = 10.1.50.3<br>VLAN 99 = 10.1.99.12</pre><p>Shares the same HSRP virtual addresses such as <em>10.1.10.1, 10.1.50.1</em> and <em>10.1.99.1</em>. <em>Its transit SVI is 10.1.1.6/30.</em></p><p>This gives the site first-hop redundancy and allows either distribution switch to provide the default gateway if the other fails.</p><h3>Use STP deliberately instead of letting it choose everything</h3><p>One of the nicest details of this lab is that I did not make one switch the root bridge for every VLAN.</p><p>HSRP alone was not enough. Because the network still contained Layer 2 trunks and redundant paths, STP needed to be intentionally designed. I implemented Rapid-PVST</p><p><em>The switch that is active for a VLAN at Layer 3 should also be the preferred STP root for that VLAN.</em></p><p>HQ-DSW-01 is configured with:</p><pre>VLAN 10,99 priority 0<br>VLAN 50 priority 4096</pre><p>while HQ-DSW-02 uses:</p><pre>VLAN 10,99 priority 4096<br>VLAN 50 priority 0</pre><p>This effectively distributes the STP root role across the two distribution switches.</p><p>The result is more balanced than simply forcing DSW-01 to be root for everything.</p><p>The same concept appears at the branch, where BR1-DSW-01 and BR1-DSW-02 use opposite priorities for VLANs 10/99 and VLAN 50.<br>This is a good example of a design detail that is easy to overlook in a lab but matters in a resilient Layer-2 network.</p><h3>Build the distribution-switch EtherChannel trunks</h3><p>The distribution switches also use Port-channel interfaces as Layer-2 trunks.</p><p>For example, HQ-DSW-01 uses:</p><pre>interface Port-channel1<br>switchport trunk allowed vlan 10,50,99<br>switchport trunk encapsulation dot1q<br>switchport trunk native vlan 1000<br>switchport mode trunk<br>switchport nonegotiate</pre><p>The physical interfaces are associated with the port-channel.</p><p>The important design details are:</p><ul><li>802.1Q trunking</li><li>Explicit VLAN allow-list</li><li>Native VLAN 1000</li><li>DTP disabled</li><li>Aggregated links</li></ul><p>At BR1, the same idea is used with LACP <em>channel-group 1 mode active</em> on the physical trunk members.</p><h3>Run OSPF on the distribution layer</h3><p>The HQ distribution switches participate in OSPF area 0.</p><p>HQ-DSW-01 uses router ID: <em>10.1.255.11 </em>and advertises the routed infrastructure links as well as its SVI addresses. User-facing VLANs are made passive where appropriate.</p><p>HQ-DSW-02 uses router ID: <em>10.1.255.12 </em>with the corresponding transit network and SVI configuration.</p><p>For example, HQ-DSW-02 included:</p><pre>router ospf 1<br> router-id 10.1.255.12<br> passive-interface Vlan10<br> passive-interface Vlan50<br> network 10.1.1.6 0.0.0.0 area 0<br> network 10.1.1.13 0.0.0.0 area 0<br> network 10.1.10.3 0.0.0.0 area 0<br> network 10.1.50.3 0.0.0.0 area 0<br> network 10.1.99.12 0.0.0.0 area 0<br> network 10.1.255.12 0.0.0.0 area 0</pre><p>The loopbacks are useful as stable identifiers, while the /30 transit links form the actual routing adjacencies.</p><p>That separation makes the design easier to troubleshoot:</p><pre>Loopback0  = stable identity<br>/30 link   = routing adjacency<br>SVI        = user gateway</pre><h3>Configure the HQ access-switch layer</h3><p>The three HQ access switches are:</p><ul><li>HQ-ASW-01</li><li>HQ-ASW-02</li><li>HQ-ASW-03</li></ul><p>The access switches are configured as Layer-2 devices with:</p><p><em>no ip routing</em> and <em>Rapid-PVST</em>.</p><p>Their uplinks are trunks carrying: 10,50,99<br>with following commands:</p><pre>switchport trunk native vlan 1000<br>switchport mode trunk<br>switchport nonegotiate</pre><p>That means the access layer does not participate in Layer-3 routing. It simply transports the VLANs toward the distribution layer.</p><h3>Edge-port security</h3><p>User-facing interfaces are configured with:</p><pre>switchport mode access<br>spanning-tree portfast edge<br>spanning-tree bpduguard enable</pre><p>For example, HQ-ASW-02 places Ethernet1/0 into VLAN 10 with PortFast and BPDU Guard.</p><p>This is a small configuration choice with a useful security and stability benefit an end-host interface is treated as an edge port instead of being allowed to participate normally in STP convergence.</p><h3>Configure management IPs on the access switches</h3><p>The access switches use VLAN 99 for management for both HQ and Branch.<br>For example, for HQ-ASW-01</p><pre>interface Vlan99<br> ip address 10.1.99.13 255.255.255.0<br>ip default-gateway 10.1.99.1</pre><p>Like this configure management IPs for all the access switches and this creates a predictable addressing pattern across the two sites.</p><h3><strong>Configure DDI server in HQ</strong></h3><p>I named this device <strong>HQ-DDI-01</strong> because its primary role in the design is to provide centralized <strong>DNS and DHCP</strong> services.</p><p>It has two routed /30 connections into the HQ distribution layer, plus a Loopback0 address used as its stable service address. This gives the server two routed paths into the distribution layer. The design keeps HQ-DDI-01 outside the normal user-access switching hierarchy. Instead of depending on a single access-switch port and VLAN, the server participates directly in the routed infrastructure. This also gives the DDI server connectivity through both distribution switches. The configuration itself shows both routed links and OSPF participation, so the server becomes part of the dynamic routing domain rather than being reached through a manually configured static path.</p><p>It has Layer-3 point-to-point connections rather than normal access ports. The distribution switches also explicitly configure their corresponding interfaces as routed ports and use OSPF point-to-point networking.</p><p>for example on DDI server</p><pre>interface FastEthernet0/0<br> ip address 10.1.1.10 255.255.255.252<br> ip ospf network point-to-point<br> speed 100<br> full-duplex</pre><p>The DDI server needs to be reachable from multiple HQ VLANs because DHCP requests originate in different broadcast domains.</p><p>The OSPF configuration allows the server to advertise its connected networks into the HQ routing domain:</p><pre>router ospf 1<br> router-id 10.1.100.10<br> log-adjacency-changes<br> network 10.1.1.10 0.0.0.0 area 0<br> network 10.1.1.14 0.0.0.0 area 0<br> network 10.1.100.10 0.0.0.0 area 0</pre><p>On the distribution side, the routed interfaces are also in OSPF area 0. HQ-DSW-01 uses 10.1.1.9/30, while HQ-DSW-02 uses 10.1.1.13/30.</p><p>Now configure DHCP on the server, for now the configuration contains two HQ DHCP scopes:</p><pre>DHCP Pool    Network        Default     Gateway DNS<br>HQ-PCs       10.1.10.0/24   10.1.10.1   10.1.100.10<br>HQ-Mgmt      10.1.99.0/24   10.1.99.1   10.1.100.10</pre><p>Example command for HQ-Mgmt:</p><pre>ip dhcp pool HQ-Mgmt<br> network 10.1.99.0 255.255.255.0<br> default-router 10.1.99.1<br> dns-server 10.1.100.10</pre><p>Make sure to configure DHCP Relay <em>ip helper-address 10.1.100.10</em> on the Distribution Switches.<br>Example:</p><pre>interface Vlan10<br> ip helper-address 10.1.100.10<br>!<br>interface Vlan99<br> ip helper-address 10.1.100.10</pre><h3>Configure DNS</h3><p>In HQ, HQ-DDI-01 also provide the DNS service.<br>I am taking few example here, the configuration template is someting like this:</p><pre>ip domain name network.com<br><br>ip host google.com 172.253.62.100<br>ip host youtube.com 152.250.31.93<br>ip host mytestdns.com 172.134.12.3<br>ip host testvignesh.com 203.0.113.7<br><br>ip name-server 8.8.8.8<br>ip name-server 4.4.4.4<br><br>ip dns server</pre><p>The saved configuration confirms the domain, static host records, external name servers, and the DNS-server function.<br>So HQ-DDI-OI is doing two related jobs:</p><pre>                 HQ-DDI-01<br>                     |<br>       +-------------+-------------+<br>       |                           |<br>      DHCP                        DNS<br>       |                           |<br>10.1.10.0/24                Static records + external DNS<br>10.1.99.0/24              </pre><p>After configuring this DDI server the new Pcs will when requesting ip address will getting something like this:</p><pre>IP Address:       10.1.10.11<br>Subnet Mask:      255.255.255.0<br>Default Gateway:  10.1.10.1<br>DNS Server:       10.1.100.10</pre><h3>HQ FortiGate Advanced Configuration</h3><p>Once the HQ distribution layer and HQ-DDI-01 were operational, the next step was to complete the security and edge-routing functions on HQ-FW-01. In this section we are going to configure firewall policies, Static/Default routing and NAT/PAT.</p><p>At this point, the FortiGate is no longer just acting as the physical boundary between the internal network and the ISP. It becomes the point where several different functions meet.</p><p>The firewall configuration uses <em>port2</em> as the WAN interface and <em>port3/port4</em> as the two internal routed connections toward the distribution switches. The firewall also has <em>Loopback0</em> at <em>10.1.255.1/32</em>.</p><p>The important architectural idea is that <strong>Cisco distribution switches handle internal Layer-3 routing, while FortiGate controls the edge, security policies, NAT, VPN, and default Internet path</strong>.</p><h3>Configuring FortiGate Firewall Policies</h3><p>FortiGate policies determine what traffic is allowed to move between security domains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZAHUNqMIXu7IRvV7pzvsYg.png" /></figure><p>The Different policies used in this project:</p><ul><li>Two VPN policies created by the VPN wizard</li><li>An inbound policy for the DDI server VIP</li><li>An outbound to Internet policy</li><li>An SSL-VPN policy</li><li>Dedicated Loopback policy which allows Zabbix for monitoring Firewall.</li></ul><p>Most of the standard enterprise firewalls like Fortinet, Palo Alto etc <strong><em>evaluate firewall policies from top to bottom using a first match approach</em></strong>, the processing stops the exact moment a packet matches the criteria of a rule. So one thing to note here is that traffic intended for the VPN could match the broad Internet rule before reaching the VPN policy. This will affect the IPsec tunnel and can be a reason for the IPsec tunnel to remain inactive or not working properly. <br><em>So make sure you arrange your firewall policies in the correct order, Most Specific to Least Specific</em>.</p><p>Now for creating firewall policy in Fortinet you can either using GUI or CLI option.<br>I will show you one example, lets consider Outbound to Internet policy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M0uiWpUKubQgGJY21NiWvQ.png" /></figure><pre>edit 2<br>    set name &quot;Outbound-To-Internet&quot;<br>    set srcintf &quot;LAN-Zone&quot;<br>    set dstintf &quot;port2&quot;<br>    set action accept<br>    set srcaddr &quot;all&quot;<br>    set dstaddr &quot;all&quot;<br>    set schedule &quot;always&quot;<br>    set service &quot;ALL&quot;<br>    set logtraffic all<br>    set nat enable<br>    set ippool enable<br>    set poolname &quot;POOL1&quot;<br>next</pre><p>Now this rule also using NAT so we need to also configure the NAT pool.<br>Here we use <strong>pool-based PAT</strong> rather than simply translating everything to the WAN interface address</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*oXwyxDO38nWtNScP8Y5W6g.png" /></figure><p>Configure remaning policies.</p><h3>Configure Static Routes on Firewall</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0JKFuDosTf3pADDdIcoDUg.png" /></figure><p>Here in this project we have 3 Static Route:</p><ul><li>Internet Default Route, the FortiGate needs a default path toward the ISP. (<em>destination 0.0.0.0/0</em>)</li><li>Active route for sending traffic into VPN-BR1 (IPsec VPN tunnel)</li><li>Blackhole route for droping traffic if IPsec VPN route disappeares. <br>The blackhole route prevents the firewall from falling back to the normal Internet default route and accidentally sending branch traffic outside the encrypted tunnel if the VPN is unavailable.</li></ul><p>Example command for creating internet default route</p><pre>edit 1<br>    set gateway 203.0.113.1<br>    set distance 1<br>    set device &quot;port2&quot;<br>next</pre><h3>Configure SSL VPN on HQ for remote access</h3><p>To provide secure remote administrative access to the internal network, I deployed an SSL VPN on the Headquarters firewall. The deployment began by configuring the SSL VPN portal to grant full access, customizing it to support the specific operational needs of remote engineers. I then configured the global SSL VPN settings to listen on the designated external-facing interface. While a traditional production deployment typically utilizes the primary WAN link, I adapted this architecture for the emulation environment by binding the listening service to the management interface (port1) and assigning a custom port to prevent service conflicts.</p><p>With the portal established, I secured the authentication and IP address management framework. I created a dedicated local user group for network administrators and explicitly mapped it to the new SSL VPN portal. To integrate remote users into the enterprise routing domain without causing overlap with existing subnets, I defined a dedicated SSL VPN IP pool. Upon successful authentication, the firewall dynamically provides an IP address from this isolated subnet to the remote client, establishing a secure, trackable virtual tunnel into the network.</p><p>The final integration required bridging the virtual tunnel with the internal network through strict security policies. Operating on a default-deny stance, the firewall requires explicit permission to pass this traffic. I authored a dedicated IPv4 policy defining the <em>ssl.root</em> tunnel as the incoming interface and the internal headquarters infrastructure as the outgoing interface. By restricting the source exclusively to the authenticated administrator group and the designated IP pool, I created a tightly controlled gateway that securely routes remote administrative traffic directly into the core data and voice VLANs.</p><h3>Configure SNMP for network monitoring</h3><p>Once the network was functioning, the next major task was making the infrastructure observable.</p><p>I have used SNMP 2 instead of SNMP 3.</p><p>The Cisco devices use: <em>snmp-server community Zabbix-Lab RO </em>… and the access is protected with an ACL restricting the NMS source.</p><p>For HQ devices, the ACL allows: 10.1.50.10</p><p>For example, HQ access switches use:</p><pre>ip access-list standard ACL-NMS-SERVER<br>permit 10.1.50.10<br><br>snmp-server community Zabbix-Lab RO ACL-NMS-SERVER</pre><p>At BR1 the same pattern is used, but the ACL permits: <em>10.3.50.10</em> and identifies the site as BR1-Office.</p><p>This is much better than enabling SNMP from every possible source.</p><p>Also you need to create a firewall policy to allow zabbix to communicate with the loopback address of the firewall.</p><p>What Services to allow in the firewall policy: <em>SNMP, HTTPS/HTTP, ICMP</em></p><p>Select the specific management or monitoring services you use for the Zabbix integration:</p><ul><li><strong>SNMP</strong>: Choose SNMP (UDP ports 161/162) if Zabbix polls the FortiGate via SNMP.</li><li><strong>HTTPS / HTTP</strong>: Choose HTTPS (TCP port 443 or your custom admin port) if Zabbix queries the FortiGate via REST API or web monitoring.</li><li><strong>PING</strong>: Choose PING (ICMP) if you want Zabbix to run ICMP availability checks on the loopback IP.</li></ul><h3>Linux NIC Bonding for Zabbix Server</h3><p>One of the more advanced Linux parts of the project was implementing active-backup NIC bonding.</p><p>The idea was:</p><pre> Zabbix Server<br>       |<br>     bond0<br>    /    \<br>  NIC1   NIC2<br>   |       |<br> DSW-01  DSW-02</pre><p>The branch proxy used the same concept.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*tdr8EwocIWAUU-5yHmo14w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*X_74_N9sa2mQWN20TDuY9Q.png" /><figcaption>Zabbix server Bond0 interface and ethernet1 interface config files</figcaption></figure><p>This meant one physical link was active while the second remained available as a failover link. The purpose was not higher bandwidth, it was <strong>availability</strong>. If one distribution switch or one virtual link failed, the monitoring server could continue using the surviving interface.</p><h3>Add HQ Devices to Zabbix</h3><p>Now after configuring SNMP on the monitoring devices, lets add these devices in the Zabbix.<br>For that in Zabbix UI go to , <br><em>Data Collection &gt; Hosts &gt; Create Host</em><br>Then fill the details like the Name, Host Groups, intrefaces selecte type SNMP, IP addresss of the device, here we use management IP of the specific device. <br>Then select monitored by, here in HQ we use Zabbix server and in BR1 we use proxy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QLu1C75awPX6_LUghZ5BmA.png" /></figure><p>Here devices will not properly get connect, as it’s a Virtual Machine some of the monitoring features like temperature sensor, CPU fan etc are will not work , so we have to manually disable these features and then execute these items, now the devices will connect successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9yMYBdRao7KiDsCalVaQKQ.png" /></figure><p>After all the devices of HQ are added and connected successfully, the SNMP will turn green.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Euztg89Ge8rGW2Dy4f4xhw.png" /></figure><p>Now most of the configuration for the HQ devices are done, we have configure an IPsec VPN between HQ and BR1 Firewall which we will do after configuring the BR1 Devices.</p><h3><strong>Recreate the same architecture at BR1</strong></h3><p>The BR1 configuration follows the same overall architecture and configuration approach as HQ. The ISP/WAN connectivity, FortiGate, Core/Distribution switches, Access switches, VLANs, routing, and firewall policies were configured using the same design principles. To avoid repeating the same configuration details, I have kept this section brief. The exact IP addresses, VLANs, transit networks, and management addressing for BR1 can be found in the ‘The Addressing Strategy’ section at the beginning of this article.</p><p>There are, however, a few important design differences at BR1.</p><ul><li><strong>Single FortiGate without HA:</strong> Unlike HQ, BR1 uses a single FortiGate since this branch was designed as a smaller SME site.</li><li><strong>Local DHCP/DNS:</strong> BR1 does not have a separate DDI server; instead, DHCP and DNS services are provided directly by FortiGate.</li><li><strong>Zabbix Proxy Monitoring:</strong> BR1 uses a Zabbix Proxy to collect monitoring data from branch devices and communicate with the Zabbix Server at HQ.</li></ul><p>Apart from these site-specific differences, the BR1 switching, routing, and firewall configuration follows the same operational model as HQ. This keeps both sites consistent while allowing BR1 to remain simpler and more resource-efficient.</p><h3>BR1 FortiGate DHCP Configuration, The Split Brain Design</h3><p>At BR1 , I configured DHCP on the FortiGate for both the port3 and port4 paths. I used a split-brain DHCP design so that both interfaces could provide DHCP service for the local VLANs, giving the lab an additional level of availability during interface path failures.</p><p>The configuration contains separate DHCP scopes for the user VLAN (VLAN 10) and management VLAN (VLAN 99), with separate entries associated with port3 and port4.</p><pre>config system dhcp server<br>    edit 1<br>        set ntp-service local<br>        set default-gateway 10.255.1.1<br>        set netmask 255.255.255.0<br>        set interface &quot;fortilink&quot;<br>        config ip-range<br>            edit 1<br>                set start-ip 10.255.1.2<br>                set end-ip 10.255.1.254<br>            next<br>        end<br>        set vci-match enable<br>        set vci-string &quot;FortiSwitch&quot; &quot;FortiExtender&quot;<br>    next<br>    edit 10<br>        set default-gateway 10.3.10.1<br>        set netmask 255.255.255.0<br>        set interface &quot;port3&quot;<br>        config ip-range<br>            edit 1<br>                set start-ip 10.3.10.11<br>                set end-ip 10.3.10.254<br>            next<br>        end<br>        set dns-server1 10.3.1.1<br>    next<br>    edit 99<br>        set default-gateway 10.3.99.1<br>        set netmask 255.255.255.0<br>        set interface &quot;port3&quot;<br>        config ip-range<br>            edit 1<br>                set start-ip 10.3.99.11<br>                set end-ip 10.3.99.254<br>            next<br>        end<br>        set dns-server1 10.3.255.1<br>    next<br>    edit 110<br>        set default-gateway 10.3.10.1<br>        set netmask 255.255.255.0<br>        set interface &quot;port4&quot;<br>        config ip-range<br>            edit 1<br>                set start-ip 10.3.10.11<br>                set end-ip 10.3.10.254<br>            next<br>        end<br>        set dns-server1 10.3.1.5<br>    next<br>    edit 199<br>        set default-gateway 10.3.99.1<br>        set netmask 255.255.255.0<br>        set interface &quot;port4&quot;<br>        config ip-range<br>            edit 1<br>                set start-ip 10.3.99.11<br>                set end-ip 10.3.99.254<br>            next<br>        end<br>        set dns-server1 10.3.255.1<br>    next<br>end</pre><h3><strong>Build the site-to-site IPsec VPN</strong></h3><p>Securing communication between the Headquarters (HQ) and Branch (BR1) across the simulated ISP required deploying a robust Site-to-Site IPsec VPN. To streamline the initial deployment, I utilized the FortiGate IPsec VPN Wizard. The wizard handles the heavy lifting by automatically generating the Phase 1 and Phase 2 proposals, establishing the pre-shared keys (PSK), and creating the virtual tunnel interfaces. This route-based approach is crucial for enterprise architectures, as it treats the VPN as a standard logical interface, allowing it to be seamlessly integrated into the SD-WAN traffic steering rules later in the build.</p><p>While the wizard provides a solid baseline, true enterprise environments demand granular control over the cryptographic parameters. After the initial setup, I converted the configuration to a custom tunnel to unlock the advanced IPsec settings. This allowed me to strictly enforce AES-256 encryption and SHA-256 authentication hashes to ensure perfect mirror imaging between the HQ and BR1 gateways. Additionally, I enabled the “Auto-negotiate” feature within the Phase 2 selectors. Rather than relying on standard “Bring Up on Traffic” defaults, this ensures the tunnel automatically establishes the moment the firewalls boot, providing continuous uptime for our SLA health checks.</p><p>Bringing the tunnel online is only half the battle; the traffic must be intelligently routed and securely permitted. On both the HQ and BR1 firewalls, I configured static routes pointing the opposing site’s internal subnets directly into the newly created VPN tunnel interfaces. To complete the architecture, I deployed symmetric inbound and outbound firewall policies on both ends. This explicitly permitted corporate traffic to flow between the local LAN zones and the encrypted tunnel, ensuring seamless and secure end-to-end reachability without leaking private traffic to the public routing table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a4Flr5oE_XMbgZn09Eo8QQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TEvg3YByhgFCR0TW9olD3g.png" /></figure><h3>Verify End-to-End Inter-Site Routing</h3><p>Verify the end to end connection between HQ and BR1<br>Lets ping from HQ-DT-003 PC on HQ to BR1-DT-001 PC on BR1, also lets check traceroute from BR1 to HQ .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*owzlCpAYFj3b2QIZjwPAGA.png" /></figure><h3>Deploying the BR1 Monitoring Proxy</h3><p>Linux Installation &amp; NIC Bonding The base Linux deployment for the branch monitoring server mirrors the Headquarters (HQ) environment perfectly. I utilized the same lightweight OS template and identical Active-Backup NIC bonding strategy, establishing redundant connections to the local BR1 distribution switches (BR1-DSW-01 and BR1-DSW-02). Because the physical and logical topology matches HQ, the only localizeld changes required were inside the <em>/etc/sysconfig/network-scripts/</em> directory.</p><p>The <em>ifcfg-bond0</em> and routing files were simply updated with BR1’s specific management IP addressing and default gateway, ensuring local Layer 3 reachability.</p><p><strong>Zabbix Proxy Configuration:<br></strong>This is where the branch architecture fundamentally diverges from HQ. Instead of deploying another full Zabbix Server or polling branch devices directly from HQ across the IPsec VPN (which consumes unnecessary tunnel bandwidth and risks false alerts during temporary WAN drops), I deployed a <strong>Zabbix Proxy</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*TcFlLE2GW4EliywdBer4tw.png" /></figure><p>The proxy acts as a localized data collector. Once the proxy packages were installed, the configuration required editing the zabbix config file. The most critical differences from the HQ server setup include:</p><ul><li><strong>Server Directive:</strong> Pointing the proxy explicitly to the HQ Zabbix Server’s internal IP address so it knows where to push the collected metrics over the VPN tunnel.</li><li><strong>Hostname Alignment:</strong> Defining a unique proxy Hostname that perfectly matches the proxy name configured in the centralized HQ Zabbix frontend.</li><li><strong>Local Database:</strong> Configuring a localized, lightweight SQLite or MySQL database strictly for temporary metric caching in case the VPN tunnel goes down, ensuring zero data loss.</li></ul><h3>Branch office SNMP Configuration</h3><p>The SNMP design is essentially the same as HQ, using SNMPv2c with the Zabbix- Lab community.<br>The difference is that <strong>BR1 devices must allow SNMP polling from the local BR1 Zabbix Proxy</strong> (10.3.50.10).</p><p>Instead of configuring the branch networking hardware to accept SNMP requests from the distant HQ Zabbix Server IP, the SNMP server host commands and protective Access Control Lists (ACLs) were modified to point exclusively to the new <strong>local BR1 Zabbix Proxy IP</strong>. This ensures all heavy SNMP polling remains completely localized to the branch LAN, with only compressed, batched metric data traversing the IPsec tunnel back to HQ. So basically, this keeps SNMP polling local to the branch while the proxy sends the collected monitoring data back to the HQ Zabbix Server.</p><pre>ip access-list standard SNMP-RO-NMS-SERVER<br> permit 10.3.50.10<br><br>snmp-server community Zabbix-Lab RO SNMP-RO-NMS-SERVER<br>snmp-server location BR1-Office</pre><h3>Connect Zabbix Server and Zabbix Proxy</h3><p>After installing the Zabbix Proxy at BR1 , I configured it in<strong><em> Active Proxy mode</em></strong>. In this design, the BR1 Proxy initiates the connection to the central Zabbix Server at HQ rather than the HQ server connecting directly to the branch. The proxy was identified as <em>BR1-Proxy </em>and configured to communicate with the HQ Zabbix Server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*kENhfDnv5EnyobQ0-Hwp5A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*kB_eAnqKuhC2EDrq9Cqhvg.png" /></figure><p>The communication between the two sites takes place through the existing IPsec VPN tunnel. Therefore, I did not create a separate Internet-facing firewall rule specifically for Zabbix Proxy traffic. The established VPN policies already allow the required communication between the BR1 and HQ networks, while the <strong>proxy sends its monitoring data to the Zabbix Server over TCP port <em>10051</em></strong>.</p><p>Once the Proxy-to-Server communication was working, I added the BR1 network devices to the central Zabbix Server. The important difference from HQ is that the BR1 devices were assigned to <strong>BR1 -Proxy</strong>, so monitoring is performed locally at the branch rather than directly by the HQ Zabbix Server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMCLkQMY5waQjLe7LKRVpQ.png" /></figure><h3>Conclusion</h3><p>Building this lab was not about simply connecting routers, switches, and firewalls in EVE-NG. I designed it as a small multi-site enterprise network, where each component has a clear operational purpose and where routing, security, services, VPN connectivity, and monitoring work together as one system. The architecture uses familiar enterprise practices such as OSPF, HSRP, Rapid-PVST+, EtherChannel, FortiGate security policies, IPsec VPN, SSL VPN, SNMP, and centralized Zabbix monitoring.</p><p>When building a project like this, I recommend focusing on the design and dependency between components, not just the CLI commands. Start with the addressing plan and topology, build the network in production order, validate connectivity at every layer, and only then move to services such as DHCP, DNS, VPN, and monitoring. This approach also makes troubleshooting much easier because you can identify exactly where communication is failing instead of changing multiple configurations at the same time.</p><p>This lab is intentionally designed as a foundation that can be expanded. The next logical steps could include Active Directory, additional server infrastructure, SD-WAN, stronger security controls, and other enterprise services. Rather than trying to build everything at once, I prefer to build the network in layers and add complexity only when the underlying architecture is stable.</p><p>My goal with this article was to document that approach so that someone else can take the same methodology, build the environment in EVE-NG, understand what each component is doing, and gradually turn a basic networking lab into a much more realistic SME/enterprise-style network environment.</p><p>I have intentionally not included every single configuration command or every device level detail in this article. Instead, I have focused on the important configurations, design decisions, dependencies, and practical steps needed to build and troubleshoot the environment. I hope this provides a useful starting point and a practical guide that others can follow, modify, and improve as they build their own labs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=040c4e1e738d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>