Macbook DHCP issue.
Mike Bentzen
mike at bentzen.com.au
Wed Nov 28 10:13:50 CET 2012
If you want switch mode, all nodes need to be in switch mode.
If you're using switch mode, you don't need the subnet configuration variable.
The debug logs didn't come through on your email. Maybe resend? Maybe include ifconfig -a output too?
Mike
Please excuse my brevity. Sent from my iPhone.
On 28/11/2012, at 15:23, Matthew Tolle <matt at night.com> wrote:
>
> Hi Mike,
>
> Thanks for responding.
>
> Debug 5 output attached. I changed the remote IP address to 5.5.5.5 for privacy.
>
> <tinc>
>
> Tinc on the remote side has always been set to switch mode. I've tried it in many different forms on the laptop side. It's currently set to hub mode.
> I can rerun the debug for you in switch mode if you need that. From what I read it should be the same.
>
> I've tried setting the IP by hand with no luck. Can't ping the other side(the remote server or the gateway).
>
> I don't run or have access to the DHCP server on the remote side, but I'm fairly sure it has not changed. The laptop gets it's IP address just fine when it's local to the site.
>
> Running the exact same config linux(client) to linux(remote) it works just fine getting it's address. I tried changing the MAC address on my laptop to the MAC of the linux box to see if there was some oddball MAC filtering going on. No help I still can't get an address.
>
> my tinc.conf file reads:
>
> Name = laptop
> Mode = hub
> Device = /dev/tap0
>
> The host file for laptop has nothing but it's key in it.
>
> The remote server does the connecting. It's behind a firewall.
>
> The remote server's tinc.conf file:
>
> Name = remote
> ConnectTo = late
> ConnectTo = laptop
> ConnectTo = cranky
> Mode = switch
>
> servers hosts file:
>
> Subnet = 5.5.5.0/23
> Address = 5.5.5.5
>
> -----BEGIN RSA PUBLIC KEY-----
>
> What other info can I provide?
>
> Thank you for looking at this.
>
> -Matt
>
>
> On Nov 27, 2012, at 7:02 PM, Mike Bentzen <mike at bentzen.com.au> wrote:
>
>> Can you please provide tinc debug 5 output?
>>
>> Tinc should be set to switch mode.
>>
>> If you manually set an IP address, can you ping all the hosts on the tinc network?
>>
>> Have you restarted or upgraded your dhcp server?
>>
>> Mike
>>
>> Please excuse my brevity. Sent from my iPhone.
>>
>> On 28/11/2012, at 11:09, Matthew Tolle <matt at night.com> wrote:
>>
>>>
>>> Hi folks,
>>>
>>> A while ago I setup my macbook pro to run TINC to my linux box. It's worked just swell since April. The other day it just stopped working. The connection comes up and everything seems fine but I can't DHCP a correct address.
>>>
>>> I followed the old setup instructions that were located here: http://www.tinc-vpn.org/examples/macbook-install/ They seem to be gone now.
>>>
>>> When I try and DCHP an address now all I get is the 169.254.219.* address that is OSX's confusing way of telling you that you didn't get a real address.
>>>
>>> I've poked around at everything I can think of and can't figure it out. Running linux box to linux box works just fine and DHCPs an address just fine.
>>>
>>> I upgraded to the latest version of TINC. I've tried swaping my Mac tinc config to switch, hub, and none with no change.
>>>
>>> I've tried connecting and being connected to the main linux box.
>>>
>>> I've tried going over the TCP dump with no luck.
>>>
>>> Has anyone seen this before? Any resolution?
>>>
>>> Thanks for taking the time to read this and for any suggestions.
>>>
>>> -Matt
>>>
>>>
>>> _______________________________________________
>>> tinc mailing list
>>> tinc at tinc-vpn.org
>>> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>> _______________________________________________
>> tinc mailing list
>> tinc at tinc-vpn.org
>> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20121128/b503e330/attachment.html>
More information about the tinc
mailing list