Ticket #288 (closed defect: wontfix)
Multiple IPs/Subnets on a single adapter not supported.
| Reported by: | bj0 | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | avahi-core | |
| Keywords: | Cc: | datallah@… |
Description
I have a setup on one of my network where two computers on a LAN are on the LAN's subnet (192.168.x.x), but they are also on a separate, smaller subnet (10.23.0.x).
Instead of creating virtual adapters, a second IP/Subnet was simply added to the eth0 device with:
Computer A:
ifconfig eth0:0 10.23.0.1 netmask 255.255.255.224
Computer B
ifconfig eth0:0 10.23.0.2 netmask 255.255.255.224
Avahi services, however, only seem to be able to have a single IP address per adapter. When I start a service from one machine (usually _presence or _daap) it shows up in avahi-discover in the other machine with one of the two IPs. This can be problem for applications like Pidgin or Empathy, when connections from one side are made from an IP the other side isn't expecting, which results in dropping messages.
This is easy to reproduce in linux using ifconfig and avahi-discover.
