[Voyage-linux] Static IP on Alix

Roberto Arena (spam-protected)
Sat Sep 3 18:22:24 HKT 2011


I realized that there is some service on eth0 is not working well just static
ip active.

2011/9/3 Roberto Arena <r.arena at gisat.net>

>
>
> 2011/9/3 John Schultz <jschultz0614 at gmail.com>
>
>> OK,...
>>
>> First, move the nameservers to the /etresolvconf/{correct file location
>> and name}
>>
> ok, i have put the nameserver in /resolvconf/run/resolv.conf
>
>
>> If you have both set to dynamic, what settings do you get (please paste a
>> full report)
>
>
> DDns?... no dynamic DNS
>
> Second, is the device your SSHing into on your network or elsewhere?
>>
>
> the device is on my local network. If i deactivate eth1 tne connection on
> eth0 return fast.
>
>
>> 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>>
>>
>
>
> --
> *Roberto Arena
> **technical Manager*
> *r.arena at gisat.net
> mobile: +39 3920827888*
>
> *
> www.gisat.it
> www.gisat.net
> Gisat di Michele Maccarrone
> Piazza Sant'Agostino n°4
> 95031 Adrano (CT)
> tel/fax +39 095 7602790*
>
>


-- 
*Roberto Arena
**technical Manager*
*r.arena at gisat.net
mobile: +39 3920827888*

*
www.gisat.it
www.gisat.net
Gisat di Michele Maccarrone
Piazza Sant'Agostino n°4
95031 Adrano (CT)
tel/fax +39 095 7602790*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110903/c5d7ae74/attachment.html>


More information about the Voyage-linux mailing list