Thursday, 29 December 2016

Re: Using the dummy0 interface for a local-only service to be broadcasted by Avahi

On 12/29/2016 02:37 PM, Stéphane Graber wrote:
>> How can I assign a different name to a dummy interface? Can I freely choose
>> a name somehow, for example "ippusbxd"? Or have I to use "dummy1", "dummy2",
>> ... (loading the dummy kernel module with an option to support more than one
>> interface)?
> root@castiana:~# ip link add ippusbxd type dummy
> root@castiana:~# ip link set ippusbxd up
> root@castiana:~# ifconfig ippusbxd
> ippusbxd: flags=195<UP,BROADCAST,RUNNING,NOARP> mtu 1500
> inet6 fe80::3004:2dff:feb6:b5c7 prefixlen 64 scopeid 0x20<link>
> ether 32:04:2d:b6:b5:c7 txqueuelen 1000 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 2 bytes 140 (140.0 B)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Another thing which I have seen is that it has no netmask and no
broadcast address (does this exist in IPv6?) and there is also MULTICAST
under the flags.

Is this the problem why I cannot bind to port 60000 of this interface?

How can I make this a Bonjour-broadcastable interface?


ubuntu-devel mailing list
Modify settings or unsubscribe at: