meilleur doc pour networking VRACK
This commit is contained in:
parent
592319c1eb
commit
64ed5a29fe
|
@ -242,11 +242,12 @@ iface br_lan inet static
|
||||||
auto br_wan
|
auto br_wan
|
||||||
iface br_wan inet static
|
iface br_wan inet static
|
||||||
bridge_ports eth1
|
bridge_ports eth1
|
||||||
address IP_VRACK
|
address IP_VRACK/NETMASK_VRACK
|
||||||
netmask 255.255.255.240
|
|
||||||
## Need to work: echo 200 vrack >> /etc/iproute2/rt_tables
|
## 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 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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue