Anders F Björklund
9479b9cd56
Detect ip6tables failure without full ipv6 support
...
Error when running with kernel from Kata Containers:
can't initialize ip6tables table `filter':
Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
This happens also in Apple Containers. Fallback to ipv4 only.
The alternative is building a custom kernel, with full support.
2025-09-29 18:31:53 +02:00
Benjamin Elder
ef0b4d02ab
fix missing space in ip6tables error matching
2024-10-15 15:17:40 -07:00
Benjamin Elder
43c99ea29c
detect ip6tables setup failure and fallback to ipv4 only
2024-10-04 13:12:50 -07:00
wanlerong
c08fb3aa45
fix: wrong comment
2022-01-26 18:18:42 +08:00
wanlerong
71cf4c8a03
fix: typo
2022-01-26 17:11:42 +08:00
Marcos Lilljedahl
55ef70a088
Fixes issue with overlapping ipv6 addresses when using Docker
...
This commit just adds a condition to let kind know to pick another ipv6
address in case docker reports that's ovelapping with any of the system
interfaces
Fixes 2496
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com >
2021-10-14 02:22:37 -03:00
Antonio Ojea
dd137a2d7d
use docke0 mtu for kind network
2021-03-23 22:40:45 +01:00
Josh Soref
d25a1fcb2b
spelling: embedded
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2021-01-19 19:31:58 -05:00
Benjamin Elder
0fc42296bf
fix minor parsing bug, add unit test for network sorting, minor cleanup and docs
2020-09-12 00:53:41 -07:00
Benjamin Elder
4a98c10e75
drop parsing / comparing created time
2020-09-11 01:09:37 -07:00
Benjamin Elder
37c741dc16
use inspect to sort networks
2020-09-11 00:52:43 -07:00
Benjamin Elder
4e41dc4bc2
improve handling of pool overlap and concurrent removal
...
also remove debug message
2020-09-10 23:27:02 -07:00
Benjamin Elder
c57f4c3360
ignore network already exists errors
2020-08-31 21:57:24 -07:00
Benjamin Elder
8756a9182b
add important TODO
2020-08-31 21:42:45 -07:00
Benjamin Elder
30d86bbd3e
remove duplicated networks
2020-08-31 21:40:21 -07:00
Amit Watve
6f52b98352
fix errcheck lints
2020-07-28 13:00:57 -07:00
Antonio Ojea
6cd3455190
masquerade docker network traffic
2020-05-14 16:53:04 +02:00
Antonio Ojea
0e8709e65a
Fix ipv6 network overlap error
2020-05-02 12:03:53 +02:00
Benjamin Elder
903ad95c0c
handle hosts that cannot create ipv6 networks by falling back to ipv4 only
2020-05-01 15:53:14 -07:00
Benjamin Elder
8cef04c429
experimentally allow custom networks
2020-04-30 18:48:06 -07:00
Benjamin Elder
407d42e42f
make subnet picking more robust
2020-04-29 23:45:20 -07:00
Antonio Ojea
7be97c1341
generate random network
2020-04-29 18:42:15 +02:00
Benjamin Elder
6f55f4bb16
always create network with ipv6
2020-04-29 02:04:08 -07:00
Benjamin Elder
31e8939590
ipv6 set subnet
2020-04-24 14:17:19 -07:00
Benjamin Elder
70362f21d4
make ipv6 network
2020-04-24 13:35:12 -07:00
Benjamin Elder
9a363241b9
use accurate regex for filtering network
2020-04-24 13:21:27 -07:00
Benjamin Elder
dfdf563901
fix typo
2020-04-24 13:19:52 -07:00
Benjamin Elder
282eec84a7
ensure network
2020-04-24 00:11:39 -07:00