Package: iproute
Version: 20060323-1
Severity: normal

Problem Description:
Output packets to a multicast destination address are not routed properly if 
the matched route features a preferred source address "src" field: packets are 
output through the device corresponding to the "src" field, instead of the 
device that would normally be used.

Steps to reproduce:
(0. Assume eth0 is up and working.)
1. Set up another interface, for instance:
modprobe dummy
ip ad add 10.0.0.1 dummy0
ip link set dummy0 up
2. Set up a route with source address preference:
ip ro add 239.255.1.2 dev eth0 src 10.0.0.1
3. Send packets to multicast address, for instance:
vlc -Irc la_question.mp3 --sout '#std{access=udp,mux=ts,dst=239.255.1.2:1234}'

Packets will go out through dummy0 instead of expected eth0.

This behavior is clearly not what is expected according to the ip man page.
Though, it is the behavior expected in the kernel IP router. See
http://bugzilla.kernel.org/show_bug.cgi?id=7398 :

> This code and behavior has been there for 11 years.  It is very
> unlikely we can change this behavior and not break the kinds of
> applications being mentioned in the comment.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-grsec
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages iproute depends on:
ii  libatm1                      2.4.1-17    shared library for ATM (Asynchrono
ii  libc6                        2.3.6.ds1-6 GNU C Library: Shared libraries
ii  libdb4.3                     4.3.29-6    Berkeley v4.3 Database Libraries [

iproute recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to