[Server-devel] Server configuration for static IP instead of DHCP

tkkang at nurturingasia.com tkkang at nurturingasia.com
Mon Jun 15 11:24:59 EDT 2009


I tried your config - thanks. No luck. 

I get a fixed IP of 192.168.1.230 and could ping 192.168.1.1, etc and even the designated public IP of my router given by my ISP. However I can't ping any external network outside.

Have you go this working with a XS server with a static IP? 

>-----Original Message-----
>From: Rodolfo D. Arce S. [mailto:rodolfoarce at eyuhoo.com]
>Sent: Monday, June 15, 2009 09:25 PM
>To: tkkang at nurturingasia.com, 'XS Devel'
>Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP
>
>Sorry, made a mistake in the conf file.. here's the real example
>
>#IFCFG-ETH0-LOCAL
>DEVICE=eth0
>ONBOOT=on
>IPADDR=192.168.1.230
>NETMASK=255.255.255.0
>BROADCAST=192.168.1.255
>NETWORK=192.168.1.0
>GATEWAY=192.168.1.1
>DNS1=192.168.1.1
>
>cheers.. R
>
>On Mon, Jun 15, 2009 at 9:18 AM, Rodolfo D. Arce
>S.<rodolfoarce at eyuhoo.com> wrote:
>> Could you ping hosts in your internal network? perhaps you didn't set
>> you gateway
>>
>> Instead of changing the /etc/resolv.conf maybe you could try to add
>> the option in the interface configuration
>> Example:
>>
>> #IFCFG-ETH0-LOCAL
>> DEVICE=eth0
>> ONBOOT=on
>> IPADDR=192.168.1.230
>> NETWORK=255.255.255.0
>> BROADCAST=192.168.1.255
>> GATEWAY=192.168.1.1
>> DNS1=192.168.1.1
>>
>> Could you send your ifcfg-eth0-local file?
>>
>> cheers.. R
>>
>> On Fri, Jun 12, 2009 at 7:32 PM, <tkkang at nurturingasia.com> wrote:
>>> Yes, I followed the instruction and created a ifcfg-eth0-local and change the /etc/resolv.conf with the original nameserver 172.18.0.1 to 192.168.1.1
>>>
>>> It boot and set my ip to 192.168.1.230. I could not ping an external IP not resolve domain names. The orignal dhcp setting just works well. I hope setting a static IP would be as easy.
>>>
>>> I want a static ip as I want to play around with external web access to the Xs-server loaded with other elearning application.
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Rodolfo D. Arce S. [mailto:rodolfoarce at eyuhoo.com]
>>>>Sent: Saturday, June 13, 2009 01:58 AM
>>>>To: tkkang at nurturingasia.com, 'XS Devel'
>>>>Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP
>>>>
>>>>You have to create a file
>>>>/etc/sysconfig/network-sripts/ifcfg-eth0-local and configue in it your
>>>> static IP like any other fedora machine
>>>>
>>>>hope that works.. cheers.. R
>>>>
>>>>On 6/12/09, tkkang at nurturingasia.com <tkkang at nurturingasia.com> wrote:
>>>>> Everything works well with DHCP on eth0. However I want have a fixed ip
>>>>> instead. I followed the instruction Configuring a Static IP address. Each
>>>>> time I reboot I have assign a satic IP of 192.168.1.130. However not able to
>>>>> resolve when I ping mail.google.com.
>>>>>
>>>>> Read the thread below. What else do I need to do to get it functioning as
>>>>> before?
>>>>>
>>>>> Cheers
>>>>>
>>>>>>-----Original Message-----
>>>>>>From: Martin Langhoff [mailto:martin.langhoff at gmail.com]
>>>>>>Sent: Tuesday, June 2, 2009 07:27 PM
>>>>>>To: info at grapeprojects.com
>>>>>>Cc: server-devel at lists.laptop.org
>>>>>>Subject: Re: [Server-devel] Server configuration
>>>>>>
>>>>>>On Tue, Jun 2, 2009 at 12:40 PM, Neo Masilo <info at grapeprojects.com> wrote:
>>>>>>> Active antenna plugged in on the usb port and the XO's do connect to the
>>>>>>> server, but not the internet (DNS)>>Reuben Will the XS act as a gateway
>>>>>>> to
>>>>>>
>>>>> >From what you are saying, you are right in setting up the static
>>>>>>address. Your ISP is blocking direct DNS queries -- so  for the
>>>>>>correct DNS settings you need to instead set the 'forwarders' properly
>>>>>>in /etc/named/named-xs.conf
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>m
>>>>>>--
>>>>>> martin.langhoff at gmail.com
>>>>>> martin at laptop.org -- School Server Architect
>>>>>> - ask interesting questions
>>>>>> - don't get distracted with shiny stuff  - working code first
>>>>>> - http://wiki.laptop.org/go/User:Martinlanghoff
>>>>>>_______________________________________________
>>>>>>Server-devel mailing list
>>>>>>Server-devel at lists.laptop.org
>>>>>>http://lists.laptop.org/listinfo/server-devel
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Server-devel mailing list
>>>>> Server-devel at lists.laptop.org
>>>>> http://lists.laptop.org/listinfo/server-devel
>>>>>
>>>>
>>>
>>>
>>>
>>
>




More information about the Server-devel mailing list