squat / kilo

Kilo is a multi-cloud network overlay built on WireGuard and designed for Kubernetes (k8s + wg = kg)

Home Page:https://kilo.squat.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: why ip of kilo not work ?

hhstu opened this issue · comments

Look at here, i have an ip 10.4.0.1 of kilo on node1, i ping the ip 10.4.0.1 on the other node named lc1

ping is ok, telnet is ok,but ssh and curl, i want curl and ssh ok

root@lc1:~#
root@lc1:~# ping  10.4.0.1
PING 10.4.0.1 (10.4.0.1) 56(84) bytes of data.
64 bytes from 10.4.0.1: icmp_seq=1 ttl=64 time=44.7 ms
^C
--- 10.4.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 44.699/44.699/44.699/0.000 ms
root@lc1:~#
root@lc1:~#
root@lc1:~# telnet  10.4.0.1  22
Trying 10.4.0.1...
Connected to 10.4.0.1.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.4
^C
Connection closed by foreign host.
root@lc1:~#
root@lc1:~#
root@lc1:~#
root@lc1:~# ssh  root@10.4.0.1




^C
root@lc1:~# curl  -k  https://10.4.0.1:10250
^C
root@lc1:~#
root@lc1:~#
root@lc1:~# telnet  10.4.0.1 10250
Trying 10.4.0.1...
Connected to 10.4.0.1.
Escape character is '^]'.
^CConnection closed by foreign host.

fix with give a smaller mtu

        lifecycle:
          postStart:
            exec:
              command:
              - sh
              - -c
              - |
                until ip link set kilo0 mtu 1300;
                do
                  echo "waiting for kilo0 interface"
                  sleep 1
                done