[Voyage-linux] Static IP on Alix

John Schultz (spam-protected)
Sat Sep 3 18:11:40 HKT 2011


OK,...

First, move the nameservers to the /etresolvconf/{correct file location and
name}

If you have both set to dynamic, what settings do you get (please paste a
full report)
Second, is the device your SSHing into on your network or elsewhere?

On Sat, Sep 3, 2011 at 04:00, Roberto Arena <r.arena at gisat.net> wrote:

> ok, if i activate a static IP on eth0 i haven't problem, but if i activate
> eth0 both eth1 i haven't connection to internet.
>
> * auto eth0
> iface eth0 inet static
>        address 192.168.1.127
>        netmask 255.255.255.0
>        broadcast 192.168.1.255
>        gateway 192.168.1.249
>        dns-nameservers 212.216.112.112*
> * auto eth1
> iface eth1 inet static
>        address 192.168.1.128
>
>        netmask 255.255.255.0
>        broadcast 192.168.1.255
>        gateway 192.168.1.249
>        dns-nameservers 212.216.112.112
> *
>
> With this configurationa i have also a slower connection at start of ssh
> session between login e password.
>
>
> Thanks
>
>
> 2011/9/3 John Schultz <jschultz0614 at gmail.com>
>
>> You are correct....
>>
>> I had this problem once before....
>> actually need to add the name server to the resolvconf program. NOT THE
>> RESOLVCONF FILE, as this gets overwritten. I believe you add the IP address
>> and hostname to /etc/resolvconf/resolv.conf.d/original or
>> /etc/resolvconf/resolv.conf.d/tail.
>>
>> To be 100% sure, google resolvconf and debian squeeze.
>>
>> On Sat, Sep 3, 2011 at 03:10, Roberto Arena <r.arena at gisat.net> wrote:
>>
>>> Thanks for the reply.
>>>
>>> If i configure static IP eth0, like this:
>>> *
>>>  auto eth0
>>> iface eth0 inet static
>>>        address 192.168.1.127
>>>        netmask 255.255.255.0
>>>        broadcast 192.168.1.255
>>>        gateway 192.168.1.249
>>>        dns-nameservers 212.216.112.112*
>>>
>>> it's impossibile connect to internet, i think is a problem of DNS.
>>>
>>> I understand that the DNS is managed by resolvconf.
>>>
>>> Thanks
>>>
>>>
>>> 2011/9/3 John Schultz <jschultz0614 at gmail.com>
>>>
>>>> What sort of problems?
>>>>
>>>>
>>>> 2011/9/3 Roberto Arena <r.arena at gisat.net>
>>>>
>>>>>  Hi,
>>>>>
>>>>> I have some problem witch a atatic IP configuration.
>>>>>
>>>>> In particular on Alix2D13, i have configured eth1 and eth2 with static
>>>>> IP without problem, but if i change eth0 from DHCP to static IP then i have
>>>>> problem with DNS.
>>>>>
>>>>> I improve to re-configure:
>>>>> resolvconf
>>>>> dnsmasq
>>>>>
>>>>> but nothing
>>>>>
>>>>> I improve to remove
>>>>> resolvconf
>>>>> dnsmasq
>>>>> dhcp
>>>>>
>>>>> but nothing
>>>>>
>>>>> Can someone help me?
>>>>> thanks
>>>>>
>>>>> --
>>>>> *Roberto Arena
>>>>> ***
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Voyage-linux mailing list
>>>>> Voyage-linux at list.voyage.hk
>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110903/b8faa915/attachment.html>


More information about the Voyage-linux mailing list