Welcome to the Linux Foundation Forum!

Calico Network Policy using host endpoints

esosnan
esosnan Posts: 1

In ubuntu VM i am not able to create the host endpoint and network policy is not working. please help me to find out the interface that is connected to the node with an example.
please confirm which interface should i need to use to create the host endpoint.

interfaces in my VM:

ubuntu@ubuntu-VirtualBox:~$ ifconfig
br-22d50e53e5cb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.18.0.1 netmask 255.255.0.0 broadcast 172.18.255.255
inet6 fc00:f853:ccd:e793::1 prefixlen 64 scopeid 0x0
inet6 fe80::42:58ff:fecb:8a70 prefixlen 64 scopeid 0x20
ether 02:42:58:cb:8a:70 txqueuelen 0 (Ethernet)
RX packets 84014 bytes 26850975 (26.8 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 463242 bytes 2409157604 (2.4 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:0a:79:ee:dc txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::3c5a:4e97:cc9f:e30a prefixlen 64 scopeid 0x20
ether 08:00:27:c2:fc:32 txqueuelen 1000 (Ethernet)
RX packets 1765562 bytes 2561690036 (2.5 GB)
RX errors 0 dropped 27533 overruns 0 frame 0
TX packets 96247 bytes 10597532 (10.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 14678 bytes 23524223 (23.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14678 bytes 23524223 (23.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth085ba54: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::684f:e7ff:fe96:9e02 prefixlen 64 scopeid 0x20
ether 6a:4f:e7:96:9e:02 txqueuelen 0 (Ethernet)
RX packets 261215 bytes 103780997 (103.7 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 347550 bytes 532570782 (532.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth70af99d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::3428:5aff:fe35:42ab prefixlen 64 scopeid 0x20
ether 36:28:5a:35:42:ab txqueuelen 0 (Ethernet)
RX packets 312619 bytes 167037714 (167.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 347356 bytes 330640235 (330.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

vethe0a9de7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

Categories

Upcoming Training