GW 11 Multiple Default gateway on multihomed box unable to ssh to it
search cancel

GW 11 Multiple Default gateway on multihomed box unable to ssh to it

book

Article ID: 265897

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

We just created a new VM for Debian GW 11 and noticing an issue when setting up the gateway.

The gateway have 2 NIC, and the setup process is something we have done multiple times on RHEL and CENTOS for 8/9/10,

however something new we noticed is that the Debian 11 gateway keeps assigned 2 default routes as a result we are unable to ssh to it .  

Environment

Release : 11.0

Cause

The boxes not working shows with ncmli con show "interface name"  that there is a default gateway for both interfaces while on 10.x the secondary interface has no ipv4.gateway set.

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/11-0/reference/network-deployment-guide.html

Resolution

To remove the default gateway for the second interface do the following: 

  • Add the interface to the /etc/iftab as documented in the network deployment guide.
  • run nmcli con modify ssg_eth1 ipv4.gateway ""
  • run nmcli con reload ssg_eth1
  • reboot the appliance