Can some one please share steps on how to add default gateway address route permanently to the route table on Ubuntu 16.04 LTS on Azure for the secondary nic?
As you know Azure DHCP only populate the default gateway address for the primary nic.
so basically, in my route table I want to have eth0 --> default gateway address pointing to the subnet gateway address (xx.1) that it is attached to (this is all fine since it's handled by the azure because it's a primary nic) and for the secondary nic i.e. eth1 --> i have to add a manual default gateway address for the subnet that this nic is attached. hoping this is clear and makes sense
Here is the document that I'm referring that provides the background.
Appreciate any help.