meilleur doc pour networking VRACK

This commit is contained in:
mtrossevin 2023-11-16 11:46:41 +01:00
parent 592319c1eb
commit 64ed5a29fe

View file

@ -242,11 +242,12 @@ iface br_lan inet static
auto br_wan
iface br_wan inet static
bridge_ports eth1
address IP_VRACK
netmask 255.255.255.240
address IP_VRACK/NETMASK_VRACK
## Need to work: echo 200 vrack >> /etc/iproute2/rt_tables
post-up ip rule add from IP_VRACK table vrack
post-up ip route add IP_VRACK/NETMASK_VRACK dev br_wan table vrack
post-up ip route add default via IP_GW_VRACK dev br_wan table vrack
post-up ip rule add from IP_VRACK/NETMASK_VRACK table vrack
post-up ip rule add to IP_VRACK/NETMASK_VRACK table vrack
```