Printer FriendlyEmail Article Link

Spirent TestCenter: How do I create simulated hosts behind emulated BGP routers and transmit traffic between the hosts?

  • Spirent TestCenter
  • BGP
  • Incoming / Outgoing Links
    • Incoming Link - connected to DUT
    • Outgoing Link - Device behind Device
  • The key is to make sure the networks where the simulated hosts are coming from are advertised to the DUT.  
  • This will allow the hosts to ARP successfully and the DUT to know which next hop to use to forward traffic to destination address.
  • For example (use 2 ports):
    • Sim_Host1====BGP_Rtr1====DUT====BGP_Rtr2====Sim_Host2
    • Sim_Host1 is
    • Sim_Host2 is
    • DUT nearside interface is
    • DUT farside interface is
    • BGP_Rtr1 is
    • BGP_Rtr2 is
    • Sim_Host1/BGP_Rtr1 are on STC port 1
    • Sim_Host2/BGP_Rtr2 are on STC port 2
  •  Steps to configure:
    1. setup the BGP emulated routers on Port 1 and 2
    2. add route and to BGP_Rtr1 and BGP_Rtr2, respectively
    3. bring up both BGP sessions and make sure the 2 routes are advertised to DUT
    4. on Port 1, create Sim_Host1 with IP address and gateway
      • add outgoing link to BGP_Rtr1
    5. on Port 2, create Sim_Host2 with IP address and gateway
      • add outgoing link to BGP_Rtr2
    6. ARP both hosts
      • this may not be needed and you may not see the actual host get resolved but the GUI will say all arps resolved
      • reason for this is because the only device that needs to be resolved is to the DUT
      • the devices behind the directly connected device will simply use the src and dst MAC of BGP_Rtr1 or 2 and the DUT
    7. create a bi-directional Stream Block and bound the simulated hosts as endpoints
    8. start traffic and should see Tx and Rx both sides going through


NOTE: The above configuration steps can also be used with other routing protocols or emulated hosts. If using emulated hosts instead of emulated routers, then static routes have to be configured on the DUT.




Product : Routing,L2-3,Windows GUI,BGP