Skip to content

Commit

Permalink
Use multicast vxlan per default, keep the others for debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Nov 5, 2024
1 parent 52be413 commit 4e27ab9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions netlink.pl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

my @allifaces = qw(none bge bnxt em igc ix ixl re vio vmx);
my @allmodifymodes = qw(none jumbo nolro nopf notso);
my @allpseudos = qw(none bridge carp gif gif6 gre veb vlan vxlan vxlanmc wg);
my @allpseudos = qw(none bridge carp gif gif6 gre veb vlan vxlan wg);
my @alltestmodes = sort qw(all icmp tcp udp splice);

my %opts;
Expand Down Expand Up @@ -605,7 +605,7 @@ sub good {
printcmd('ssh', $ssh, 'ip', 'link', 'set', 'dev', $lnx_if, 'up');
}
$lnx_ipdev = $lnx_pdev;
} elsif ($pseudo eq 'vxlan') {
} elsif ($pseudo eq 'vxlan-pointtopoint') {
my $vxlan_l_vnetid = "3${line}1";
my $vxlan_r_vnetid = "3${line}2";

Expand Down Expand Up @@ -645,7 +645,7 @@ sub good {
}
$lnx_l_mtu = $lnx_r_mtu = 1600;
$lnx_ipdev = $lnx_pdev;
} elsif ($pseudo eq 'vxlanmc') {
} elsif ($pseudo eq 'vxlan-learning' || $pseudo eq 'vxlan') {
my $vxlan_l_vnetid = "4${line}1";
my $vxlan_r_vnetid = "4${line}2";

Expand Down Expand Up @@ -689,7 +689,6 @@ sub good {
}
$lnx_l_mtu = $lnx_r_mtu = 1600;
$lnx_ipdev = $lnx_pdev;

} elsif ($pseudo eq 'wg') {
my @lnx_pub;
foreach my $ssh ($lnx_l_ssh, $lnx_r_ssh) {
Expand Down

0 comments on commit 4e27ab9

Please sign in to comment.