<p>I have installed <code>Kubernetes cluster</code>(<code>one Master and one Worker- Node</code>) on <code>CentOS-8 OS</code> stand-alone server separately as per the below link instructions.</p>
<p><a href="https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/" rel="nofollow noreferrer">https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/</a></p>
<p><code>Weave-Net - CNI plugin installed</code> as per above link.  Now I can see below new network adapter in our K8s Master &amp; Worker-Node server.</p>
<pre><code>weave: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt; mtu 1376
inet 10.32.0.1 netmask 255.240.0.0 broadcast 10.47.255.255
inet6 fe80::a07d:21ff:fef1:4656 prefixlen 64 scopeid 0x20&lt;link&gt;
ether a2:7d:21:f1:46:56 txqueuelen 1000 (Ethernet)
RX packets 141 bytes 13322 (13.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 48 bytes 4896 (4.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
</code></pre>
<p>But the problem is from host server unable to <code>ping (Or) access any of our remote site/location IPs</code> (ping response given below). whereas <code>Local IPs are pinging &amp; accessible</code>.</p>
<pre><code>ping -c 4 120.121.5.48
PING 120.121.5.48 (120.121.5.48) 56(84) bytes of data.
From 10.32.0.1 icmp_seq=1 Destination Host Unreachable
From 10.32.0.1 icmp_seq=2 Destination Host Unreachable
From 10.32.0.1 icmp_seq=3 Destination Host Unreachable
From 10.32.0.1 icmp_seq=4 Destination Host Unreachable

--- 120.121.5.48 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2999ms
pipe 4 
</code></pre>
<p>Also from host server tried to connect our remote <code>LDAP server through telnet</code> it shows below error message.</p>
<pre><code># telnet 120.121.5.48 389
Trying 120.121.5.48...
telnet: connect to address 120.121.5.48: No route to host
</code></pre>
<p>In our <code>K8s Master</code> &amp; <code>Worker-Node server</code> have <code>23 network adapters</code>, <code>Statically network IP</code> have configured, So any additional configuration need to be configured for K8s CNI reachable in default routing?</p>
<p><code>ip route show</code> &amp; <code>route -n</code> output as follows.</p>
<pre><code># ip route show
default via 45.46.47.1 dev ens1f0 proto static metric 100
10.32.0.0/12 dev weave proto kernel scope link src 10.32.0.1
45.46.47.0/24 dev ens1f0 proto kernel scope link src 45.46.47.48 metric 100
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         45.46.47.1      0.0.0.0         UG    100    0        0 ens1f0
10.32.0.0       0.0.0.0         255.255.255.0   U     10     0        0 ens1f0
10.32.0.0       0.0.0.0         255.240.0.0     U     0      0        0 weave
45.46.47.0      0.0.0.0         255.255.255.0   U     100    0        0 ens1f0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
</code></pre>
<p>Tried to change the weave route to default with below command. it executed successfully, But still same problem.</p>
<pre><code>ip route add 10.32.0.0/24 via 45.46.47.1 dev ens1f0 metric 100
</code></pre>
<p>Suppose if i run <code>ifconfig weave down</code> everything is working fine. But to use Kubernetes cluster i need <code>Weave-net network adapter</code>. So please help me to add IP route(s) So that my Kubernetes cluster addresses go via through appropriate adapter, So that i will be able to access both our local &amp; remote location server.</p>

user4948798
<p>I have changed the <code>CNI-Weave-Net</code> plugin to <code>Flannel</code>, now it is working as excepted.</p>
