...
Najít net.ipv6.conf.all.forwarding
a nastavit 1
. (projeví se po rebootu)
Blok kódu |
---|
# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
net.ipv6.conf.all.forwarding=1 |
...
Poeditovat /etc/network/interfaces
před (pouze IPv4) | po (oboje IPv4 a IPv6) |
---|
Blok kódu |
---|
# The loopback network interface
auto lo
iface lo inet loopback
# Spoj -> PMV, uplink
auto |
|
enp0s3enp0s3enp0s8 inet static
address 10.107.99.130/30
# AP Example-DB8, tady jsou pripojenci
auto |
|
enp0s8enp0s8enp0s9 inet static
address 10.107.184.1/24 |
| Blok kódu |
---|
# The loopback network interface
auto lo
iface lo inet loopback
iface lo inet6 static
address 2a01:16d: |
|
b800b810::/64
# Spoj -> PMV, uplink
auto |
|
enp0s3enp0s3enp0s8 inet static
address 10.107.99.130/30
# tady nepotřebuješ inet6, stačí ti link-local adresa (fe80::)
# AP Example-DB8, tady jsou pripojenci
auto |
|
enp0s8enp0s8enp0s9 inet static
address 10.107.184.1/24 |
|
Shodit a nahodit interface (bacha na ostrý síti!)
Blok kódu |
---|
root@debian10a:~# ifdown enp0s8lo; ifup enp0s8lo |
Kontrola
Blok kódu |
---|
root@debian10a:~# ip address show |
...