diff --git a/ansible/roles/fanout/templates/arista_7060_deploy.j2 b/ansible/roles/fanout/templates/arista_7060_deploy.j2 index f1846d6c0e6..511cecb7bdf 100644 --- a/ansible/roles/fanout/templates/arista_7060_deploy.j2 +++ b/ansible/roles/fanout/templates/arista_7060_deploy.j2 @@ -87,7 +87,6 @@ interface {{ intf }} ! interface Management 1 description TO LAB MGMT SWITCH - vrf forwarding management ip address {{ device_info["ManagementIp"] }} no shutdown ! @@ -96,6 +95,7 @@ mac address-table reserved forward 0180.c200.0002 # LLDP packets pass through mac address-table reserved forward 0180.c200.000e ! +ip route 0.0.0.0/0 {{ device_info["ManagementGw"] }} ip route vrf management 0.0.0.0/0 {{ device_info["ManagementGw"] }} ! ip routing diff --git a/ansible/roles/fanout/templates/arista_7260_deploy.j2 b/ansible/roles/fanout/templates/arista_7260_deploy.j2 index 7e6e7df7bda..d016223b222 100644 --- a/ansible/roles/fanout/templates/arista_7260_deploy.j2 +++ b/ansible/roles/fanout/templates/arista_7260_deploy.j2 @@ -54,7 +54,6 @@ interface {{ intf }} ! interface Management 1 description TO LAB MGMT SWITCH - vrf forwarding management ip address {{ device_info["ManagementIp"] }} no shutdown ! @@ -63,6 +62,7 @@ mac address-table reserved forward 0180.c200.0002 # LLDP packets pass through mac address-table reserved forward 0180.c200.000e ! +ip route 0.0.0.0/0 {{ device_info["ManagementGw"] }} ip route vrf management 0.0.0.0/0 {{ device_info["ManagementGw"] }} ! ip routing