ezgh compute route-tables routes set <table> <destination> --target <ngw_…|nat_…|eni_…> [flags]Create the route for a destination CIDR, or point it at a new target: the VPC’s Network Gateway (ngw_…), a NAT gateway (nat_…) or a private network interface (eni_…). Only this destination’s route is written; other routes are left as they are. A retry after a lost answer is answered as the first try.
Part of ezgh compute route-tables routes.
Examples
ezgh compute route-tables routes set private 0.0.0.0/0 --target nat_…
ezgh compute route-tables routes set private 10.8.0.0/16 --target eni_…
ezgh compute route-tables routes set rtb_… ::/0 --target ngw_…Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--target |
string | the target: a network gateway (ngw_…), NAT gateway (nat_…) or network interface (eni_…) ID (required) |
This command also takes the global flags.