Ubuntu as router for MAC ? Avahi vs Dhcp

Derek Broughton derek at pointerstop.ca
Thu Sep 24 01:06:56 UTC 2009


Bill Marcum wrote:

> On 2009-09-18, ktt <kestutis98 at yahoo.com> wrote:
>> Hello,
>>
>> I would like my Ubuntu machine to share files with MAC and to act as
>> a router. I established Ubuntu+MAC OSX connection for file sharing
>> and available services advertising as it was described
>> http://www.kremalicious.com/2008/06/...achine-volume/
>> It works nicely.
>> I would like to make my Ubuntu machine as internet router for my MAC
>> as well, but here curiosities begin: eth0 has no IP address,
>> dhcp3-server conflicts with Avahi. I have Flash media server on my
>> Ubuntu machine, so it's important to have it. I can use static IP
>> adress, but Avahi will not work.
>>
> eth0 has an IP address, but it's listed under eth0:avahi. 

Generally speaking avahi is only used when you can't get an address any 
other way...

> It might be
> possible for other machines to use that address as a default gateway.
> Or perhaps you can create another alias like eth0:1 with a static address.
> The avahi address might not always stay the same.

Of course not - that's _why_ you have avahi - to give your machine a name 
that can be looked up without needing to know the address.
-- 
derek





More information about the ubuntu-users mailing list