| 1 |
Long: interface |
| 2 |
Arg: <name> |
| 3 |
Help: Use network INTERFACE (or address) |
| 4 |
See-also: dns-interface |
| 5 |
--- |
| 6 |
|
| 7 |
Perform an operation using a specified interface. You can enter interface |
| 8 |
name, IP address or host name. An example could look like: |
| 9 |
|
| 10 |
curl --interface eth0:1 https://www.example.com/ |
| 11 |
|
| 12 |
If this option is used several times, the last one will be used. |
| 13 |
|
| 14 |
On Linux it can be used to specify a VRF, but the binary needs to either |
| 15 |
have CAP_NET_RAW or to be run as root. More information about Linux VRF: |
| 16 |
https://www.kernel.org/doc/Documentation/networking/vrf.txt |