tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Howto use agr to aggregate VPN tunnels



Greg Troxel a écrit :
My second standard advice is to run "netstat -s" and save the output to
a file before and after each test, and diff them, to find changes in
counters that you do not expect, as well as to look for the expected
changes.

OK. I have done netstat -s on all interfaces before and after a ping on agr0 (outgoing packets).

	I don't know how interpret diff output :

einstein# diff -u tap0.orig tap0.final
einstein# diff -u tap1.orig tap1.final
einstein# diff -u agr0.orig agr0.final
--- agr0.orig   2016-12-15 11:11:11.273990884 +0100
+++ agr0.final  2016-12-15 11:11:30.261239755 +0100
@@ -1,3 +1,3 @@
-agr0 1500 <Link> f2:0b:a4:b7:7f:59 202 0 0 304 0 -agr0 1500 fe80::/64 fe80::f00b:a4ff:f 202 0 0 304 0 -agr0 1500 192.168.100/2 192.168.100.2 202 0 0 304 0 +agr0 1500 <Link> f2:0b:a4:b7:7f:59 202 0 0 313 0 +agr0 1500 fe80::/64 fe80::f00b:a4ff:f 202 0 0 313 0 +agr0 1500 192.168.100/2 192.168.100.2 202 0 0 313 0
einstein#

	On ingoing packets, result is :

einstein# diff -u agr0.orig agr0.final
--- agr0.orig   2016-12-15 11:15:17.420389033 +0100
+++ agr0.final  2016-12-15 11:16:53.044680951 +0100
@@ -1,3 +1,3 @@
-agr0 1500 <Link> f2:0b:a4:b7:7f:59 202 0 0 353 0 -agr0 1500 fe80::/64 fe80::f00b:a4ff:f 202 0 0 353 0 -agr0 1500 192.168.100/2 192.168.100.2 202 0 0 353 0 +agr0 1500 <Link> f2:0b:a4:b7:7f:59 232 0 0 383 0 +agr0 1500 fe80::/64 fe80::f00b:a4ff:f 232 0 0 383 0 +agr0 1500 192.168.100/2 192.168.100.2 232 0 0 383 0
einstein# diff -u tap0.orig tap0.final
--- tap0.orig   2016-12-15 11:15:06.726431924 +0100
+++ tap0.final  2016-12-15 11:17:00.154048113 +0100
@@ -1 +1 @@
-tap0 1500 <Link> f2:0b:a4:b7:7f:59 105 0 4 0 0 +tap0 1500 <Link> f2:0b:a4:b7:7f:59 120 0 4 0 0
einstein# diff -u tap1.orig tap1.final
--- tap1.orig   2016-12-15 11:15:11.109520868 +0100
+++ tap1.final  2016-12-15 11:17:04.193562407 +0100
@@ -1 +1 @@
-tap1 1500 <Link> f2:0b:a4:98:69:5d 104 0 4 0 0 +tap1 1500 <Link> f2:0b:a4:98:69:5d 119 0 4 0 0
einstein#

For me, ingoing packets revceived by tap0 and tap1 are sent to agr0, but not outgoing packets.

	Best regards,

	JKB


Home | Main Index | Thread Index | Old Index