Score:0

The packet goes through the other router

lc flag
rei

I want to connect two hosts in parallel with two different models of virtual routers. These are made redundant by VRRP.

Originally, packets are sent through only one of the routers. However, when the packet is sent, it goes through two routers. This results in duplicate ping packets.The traceroute now looks like this.
host1:$ traceroute -I 192.168.1.1

  1. 192.168.0.2
  2. 192.168.1.3
  3. 192.168.1.1

Why do the packets go through the other router?

The network configuration is shown below.

  • Host1(Ubuntu20.04)

    • IP Address:192.168.0.1
    • gateway:192.168.0.5
  • Host2(Ubuntu20.04)

    • IP Address:192.168.1.1
    • gateway:192.168.1.5
  • Physical Router(Ubuntu20.04)
    There are two virtual routers created by vagrant and Virtualbox inside.

  • Virtual Router(Vyos)

    • Use vagrant box "kun432/vyos"
    • eth1:192.168.0.2
    • eth2:192.168.1.2
  • Virtual Router(vSRX)

    • Use vagrant box "juniper/ffp-12.1X47-D15.4-packetmode"
    • ge-0/0/1:192.168.0.3
    • ge-0/0/2:192.168.1.3
  • 192.168.0.0/24 network Virtual IP Address: 192.168.0.5

  • 192.168.1.0/24 network Virtual IP Address: 192.168.1.5

  • NetworkBridge: bridge-utils

◆VRRP

Networking:Image

Nikita Kipriyanov avatar
za flag
This doesn't seem the way VRRP works. Normally it doesn't get packet duplicated. Please, provide the details: a network diagram, what software you use to build your virtual routers and its configuration; you may mask sensitive information like public names or public IP addresses.
Nikita Kipriyanov avatar
za flag
Sorry, I hadn't noticed a picture because of bad formatting. Thanks to @Rob who fixed it.
rei avatar
lc flag
rei
@NikitaKipriyanov Thank you for your comment. Detailed network settings are shown. The image is in bad format because it has no more than 10 reputations. Our apologies.
vidarlo avatar
ar flag
What is the vrrp configuration? What does logs show? Do they indicate that VRRP is functioning? Or does both routers assume the other router is down?
rei avatar
lc flag
rei
@vidarlo Thank you for your comment. In this network configuration, we are dynamically changing the VRRP priority value to verify that the router through which host 1 switches to host 2. To perform VRRP switching, we have configured a common Virtual IP address of 192.168.0.5 for eth1 on Vyos and ge-0/0/1 on vSRX, and 192.168.1.5 for eth2 on Vyos and ge-0/0/2 on vSRX. Both routers are up and running, one acting as master and the other as backup.
vidarlo avatar
ar flag
Have you actually verified that they can see each other and have the correct status for the other router?
rei avatar
lc flag
rei
@vidarlo Yes, I have checked the communication between arp -a and ping on vyos and vsrx. However, ping packets from vsrx to vyos seem to be duplicated. Also, when vsrx is the master, ping packets from host1 to host2 are not duplicated.
djdomi avatar
za flag
for me it looks like a homework assignment... could this be?
rei avatar
lc flag
rei
@djdomi Sorry, does that mean that the network configuration shown in the attached image is not feasible?
djdomi avatar
za flag
we help businesses administrators to fix the real network. And not trainees that want to cheat and shortcut on there home works from school ;)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.