mirror of https://codeberg.org/CRXN/docs.git
Update crxnv6.md
This commit is contained in:
parent
d032f6962a
commit
a03b230d73
|
@ -29,7 +29,9 @@ You can register a prefix here and find a list of all prefixes [here](https://cr
|
|||
If you recall the `on up` part to your fastd configuration then you can put this code in there if you want. A systemd unit will do as well.
|
||||
|
||||
```
|
||||
ip route add <subnet>/<prefix> proto static dev <interface>
|
||||
ip addr add <subnet>/<prefix> proto static dev <interface>
|
||||
```
|
||||
|
||||
You can make `<interface>` the interface the subnet belongs to, for example, `eth0`, if you intend to have your IPs within your subnet accessed from your router over the LAN it is conneted to on `eth0`.
|
||||
|
||||
This above code should add a route for you AND assign the IP to the given interface.
|
||||
|
|
Loading…
Reference in New Issue