0

I'm looking into Linux VRFs i.e. support for virtual routing and forwarding.

The documentation mentions:

Applications that are to work within a VRF need to bind their socket to the VRF device:

setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, strlen(dev)+1);

or to specify the output device using cmsg and IP_PKTINFO.

Now in the case of postgres I'm not writing the C code that creates the sockets but postgres is configured using the listen_addresses to specify which interface to listen on... However it only mentions specifying ip addresses.

I'm wondering: can postgres be configured to listen on a VRF device?

Does anyone have any experience with this?

Is some patch required to be able to listen on a VRF device?

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.