Skip to content

Commit 7beb5f8

Browse files
committed
cilium nat464 post refactor
1 parent f15408e commit 7beb5f8

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

content/posts/cilium-nat64.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -81,27 +81,26 @@ root@nat64gw:~# docker exec -it cilium-lb cilium status --verbose | awk "/NAT46\
8181
A good test to check if our NAT46x64Gateway is performing the 4to6 translation correctly, we can try connecting to an application that is accessible only via IPv4. So let's provision another Ubuntu VM on our IPv6 only network with the following netplan config as shown below.
8282

8383
```yaml
84-
root@testvm# cat /etc/netplan/00-installer-config.yaml
8584
network:
86-
version: 2
87-
renderer: networkd
88-
ethernets:
89-
ens18:
90-
set-name: eth0
91-
match:
92-
macaddress: bc:24:11:55:02:a5
93-
accept-ra: false
85+
version: 2
86+
renderer: networkd
87+
ethernets:
88+
ens18:
89+
set-name: eth0
90+
match:
91+
macaddress: bc:24:11:55:02:a5
92+
accept-ra: false
93+
addresses:
94+
- 2001:db8:dead:beef::2/64
95+
nameservers:
9496
addresses:
95-
- 2001:db8:dead:beef::2/64
96-
nameservers:
97-
addresses:
98-
- 2606:4700:4700::64
99-
- 2001:4860:4860::64
100-
routes:
101-
- to: default
102-
via: 2001:db8:dead:beef::1
103-
- to: 64:ff9b::/96
104-
via: 2001:db8:abcd::2
97+
- 2606:4700:4700::64
98+
- 2001:4860:4860::64
99+
routes:
100+
- to: default
101+
via: 2001:db8:dead:beef::1
102+
- to: 64:ff9b::/96
103+
via: 2001:db8:abcd::2
105104
```
106105

107106
Few noteworthy points:

0 commit comments

Comments
 (0)