Skip to content

Binding to selected network interface #45

@ksadura

Description

@ksadura

Hi,
On my Ubuntu machine I have two network interfaces opened (let's call them X and Y). Is it possbile to specify outbound interface for UDP unicast traffic? In iperf3 we can force it using -B flag e.g.

iperf3 -c <server_addr> -p <server_port> -B <outbound_interface_addr>

Now, in mgen server logs we can read that X interface address is always source address of received packets (I want it to be Y address).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions