tech-kern archive

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

Re: Howto use agr to aggregate VPN tunnels



	Hello,

	I have tried to make tap0 and tap1 up. This seems to fix half of issue...


tap0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ec_capabilities=5<VLAN_MTU,JUMBO_MTU>
        ec_enabled=0
        address: f2:0b:a4:b7:7f:59
        media: Ethernet autoselect
tap1: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ec_capabilities=5<VLAN_MTU,JUMBO_MTU>
        ec_enabled=0
        address: f2:0b:a4:98:69:5d
        media: Ethernet autoselect
agr0: flags=0xb843<UP,BROADCAST,RUNNING,SIMPLEX,LINK0,LINK1,MULTICAST> mtu 1500
        agrport: tap0, flags=0x3<COLLECTING,DISTRIBUTING>
        agrport: tap1, flags=0x3<COLLECTING,DISTRIBUTING>
        address: f2:0b:a4:b7:7f:59
        inet 192.168.100.2/24 broadcast 192.168.100.255 flags 0x0
        inet6 fe80::f00b:a4ff:feb7:7f59%agr0/64 flags 0x0 scopeid 0x6

	When I ping 192.168.100.2 from Linux host, I see on interfaces :
einstein# tcpdump -i tap0 -p

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tap0, link-type EN10MB (Ethernet), capture size 262144 bytes
16:13:06.652688 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28 16:13:08.700795 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28 16:13:10.748774 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28
^C
einstein# tcpdump -i tap1 -p
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tap1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:13:19.964721 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28 16:13:22.012887 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28 16:13:24.060809 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28
^C
einstein# tcpdump -i agr0 -p
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on agr0, link-type EN10MB (Ethernet), capture size 262144 bytes
16:13:35.324820 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28 16:13:35.324908 ARP, Reply 192.168.100.2 is-at f2:0b:a4:b7:7f:59 (oui Unknown), length 28 16:13:36.403632 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28 16:13:36.403705 ARP, Reply 192.168.100.2 is-at f2:0b:a4:b7:7f:59 (oui Unknown), length 28 16:13:38.374085 ARP, Request who-has 192.168.100.2 tell 192.168.100.1, length 28 16:13:38.374171 ARP, Reply 192.168.100.2 is-at f2:0b:a4:b7:7f:59 (oui Unknown), length 28
^C

Now, incoming packets are received by agr0 and kernel sends answers. But outgoing packets are not sent over tap0 and tap1.

	Best regards,

	JKB



Home | Main Index | Thread Index | Old Index