NAT on ens1 (Zayo), not ens18 (routage)
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
fe454a8422
commit
9002b5f089
2 changed files with 1 additions and 15 deletions
|
@ -47,7 +47,7 @@ nat = [
|
|||
{
|
||||
'name' : 'AdminVlans',
|
||||
'extra_nat' : {
|
||||
'ens18': {
|
||||
'ens1': {
|
||||
'10.129.0.254/32' : '45.66.111.{{ router_hard_ip_suffix }}',
|
||||
'10.128.0.0/16' : '45.66.111.{{ router_hard_ip_suffix }}',
|
||||
'10.130.0.0/16' : '45.66.111.{{ router_hard_ip_suffix }}',
|
||||
|
|
|
@ -15,20 +15,6 @@ iface ens18 inet static
|
|||
iface ens18 inet6 static
|
||||
address 2a09:6840:129::0:{{ router_hard_ip_suffix }}/64
|
||||
|
||||
# Now managed by keepalived.
|
||||
#
|
||||
# post-up ip route add 2a09:6840:10::/64 via 2a09:6840:129::1:254 dev ens18
|
||||
# post-up ip route add 2a09:6840:11::/64 via 2a09:6840:129::1:254 dev ens18
|
||||
|
||||
# post-up ip route add 2a09:6840:20::/64 via 2a09:6840:129::2:254 dev ens18
|
||||
# post-up ip route add 2a09:6840:21::/64 via 2a09:6840:129::2:254 dev ens18
|
||||
|
||||
# post-up ip route add 2a09:6840:40::/64 via 2a09:6840:129::4:254 dev ens18
|
||||
# post-up ip route add 2a09:6840:41::/64 via 2a09:6840:129::4:254 dev ens18
|
||||
|
||||
# post-up ip route add 2a09:6840:50::/64 via 2a09:6840:129::5:254 dev ens18
|
||||
# post-up ip route add 2a09:6840:51::/64 via 2a09:6840:129::5:254 dev ens18
|
||||
|
||||
|
||||
# The primary network interface
|
||||
allow-hotplug ens19
|
||||
|
|
Loading…
Reference in a new issue