Calico Network Policy using host endpoints
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 ![]()
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 ![]()
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
- All Categories
- 175 LFX Mentorship
- 175 LFX Mentorship: Linux Kernel
- 745 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 73 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- 2 Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 946 Programming and Development
- 310 Kernel Development
- 618 Software Development
- 981 Software
- 373 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)