I have a Linux multicast application that will send to multicast group IPv4 address and I want to know which local interface it will use by default. I believe the ip(1) utility should show me, but I've been unable to determine how (though not for lack of trying, however). If you know how, then please help.

1 Answer 1


Use the ip route command with the -d flag to display multicast routing information:

"ip route get to"

  • Thanks! Just FYI, the "to" appears to be unnecessary. Commented Oct 24, 2023 at 14:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .