{"level":"DEBUG","ts":"2024-06-17T15:53:48.694+0800","logger":"coordinator.new1","caller":"gwconnection/connection.go:78","msg":"[RetryNum: 1]try to send arp request","Action":"ADD","ContainerID":"860b7454527609f2e67224571977d4a18f5c286fb365709fc353abd8ef9bec77","Netns":"/proc/2572117/ns/net","IfName":"eth0","PodName":"macvlan-160-c-848cf7bf6f-lwbcj","PodNamespace":"default"}
{"level":"DEBUG","ts":"2024-06-17T15:53:53.703+0800","logger":"coordinator.new1","caller":"gwconnection/connection.go:217","msg":"Detect gateway: found the response","Action":"ADD","ContainerID":"860b7454527609f2e67224571977d4a18f5c286fb365709fc353abd8ef9bec77","Netns":"/proc/2572117/ns/net","IfName":"eth0","PodName":"macvlan-160-c-848cf7bf6f-lwbcj","PodNamespace":"default","TargetAddress":"fd00:10:7::103"}
{"level":"INFO","ts":"2024-06-17T15:53:53.704+0800","logger":"coordinator.new1","caller":"gwconnection/connection.go:182","msg":"gateway fd00:10:7::103 is reachable, it's located at 00:50:56:b4:27:ca","Action":"ADD","ContainerID":"860b7454527609f2e67224571977d4a18f5c286fb365709fc353abd8ef9bec77","Netns":"/proc/2572117/ns/net","IfName":"eth0","PodName":"macvlan-160-c-848cf7bf6f-lwbcj","PodNamespace":"default"}
{"level":"ERROR","ts":"2024-06-17T15:53:53.705+0800","logger":"coordinator.new1","caller":"gwconnection/connection.go:100","msg":"[RetryNum: 1]failed to resolve: read packet 0a:3a:c7:44:2d:95: i/o timeout","Action":"ADD","ContainerID":"860b7454527609f2e67224571977d4a18f5c286fb365709fc353abd8ef9bec77","Netns":"/proc/2572117/ns/net","IfName":"eth0","PodName":"macvlan-160-c-848cf7bf6f-lwbcj","PodNamespace":"default"}
{"level":"DEBUG","ts":"2024-06-17T15:53:58.706+0800","logger":"coordinator.new1","caller":"gwconnection/connection.go:78","msg":"[RetryNum: 2]try to send arp request","Action":"ADD","ContainerID":"860b7454527609f2e67224571977d4a18f5c286fb365709fc353abd8ef9bec77","Netns":"/proc/2572117/ns/net","IfName":"eth0","PodName":"macvlan-160-c-848cf7bf6f-lwbcj","PodNamespace":"default"}
{"level":"ERROR","ts":"2024-06-17T15:54:03.711+0800","logger":"coordinator.new1","caller":"gwconnection/connection.go:100","msg":"[RetryNum: 2]failed to resolve: read packet 0a:3a:c7:44:2d:95: i/o timeout","Action":"ADD","ContainerID":"860b7454527609f2e67224571977d4a18f5c286fb365709fc353abd8ef9bec77","Netns":"/proc/2572117/ns/net","IfName":"eth0","PodName":"macvlan-160-c-848cf7bf6f-lwbcj","PodNamespace":"default"}
{"level":"DEBUG","ts":"2024-06-17T15:54:08.713+0800","logger":"coordinator.new1","caller":"gwconnection/connection.go:78","msg":"[RetryNum: 3]try to send arp request","Action":"ADD","ContainerID":"860b7454527609f2e67224571977d4a18f5c286fb365709fc353abd8ef9bec77","Netns":"/proc/2572117/ns/net","IfName":"eth0","PodName":"macvlan-160-c-848cf7bf6f-lwbcj","PodNamespace":"default"}
{"level":"INFO","ts":"2024-06-17T15:54:08.714+0800","logger":"coordinator.new1","caller":"gwconnection/connection.go:106","msg":"Gateway 10.7.0.2 is reachable, gateway is located at 00:50:56:b4:27:ca","Action":"ADD","ContainerID":"860b7454527609f2e67224571977d4a18f5c286fb365709fc353abd8ef9bec77","Netns":"/proc/2572117/ns/net","IfName":"eth0","PodName":"macvlan-160-c-848cf7bf6f-lwbcj","PodNamespace":"default"}
Thanks for contributing!
1 use arp to accelerate rather than icmp 2 some gateway forbid icmp
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes https://github.com/spidernet-io/spiderpool/issues/3535
Special notes for your reviewer: