[Voyage-linux] Static IP on Alix

Roberto Arena (spam-protected)
Sat Sep 3 18:00:47 HKT 2011


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....
>
> You 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/7006579d/attachment.html>


More information about the Voyage-linux mailing list