network info

Michael Havens bmike1 at gmail.com
Fri Aug 29 14:26:46 MST 2014


I am creating the file /etc/resolv.conf . To get the proper setting I
looked into my running system's /etc/resolv.conf . pico says:

   nameserver 127.0.1.1
   search domain.actdsltmp

I do not think that number is even in my network and it isn't the loopback
address. The book says:

    The IP address may also be a router on the local network.

which is 192.168.0.1 . So what would you advise I do; should I put in what
my host system says is the nameserver or my router/modem's ip address? I'm
thinking the modem/router's IP.

:-)~MIKE~(-:


On Fri, Aug 29, 2014 at 11:45 AM, Amit Nepal <amit at amitnepal.com> wrote:

>  That is correct !
>
>
>
>
>
> *Amit K Nepal Chief Information Officer (RHCE, CCENT, C|EH, C|HFI, GIAC
> ISO 27000 Specialist) omNovia Technologies Inc. *
> On 8/29/2014 11:34 AM, Michael Havens wrote:
>
>  wait! I just found the solution to my problem!
>
>     route -n
>
>  but it says that the gateway is my modem/router. Is that right?
>
> :-)~MIKE~(-:
>
>
> On Fri, Aug 29, 2014 at 11:26 AM, Michael Havens <bmike1 at gmail.com> wrote:
>
>> I am at linux from scratch section 7.2.2 . They want us to enter the
>> following lines:
>>
>> cd /etc/sysconfig/
>> cat > ifconfig.eth0 << "EOF"ONBOOT=yes
>> IFACE=eth0
>> SERVICE=ipv4-static
>> IP=192.168.1.1
>> GATEWAY=192.168.1.2
>> PREFIX=24
>> BROADCAST=192.168.1.255
>> EOF
>>
>> Now, I need to change the iP and gateway and broadcast numbers to
>> something that will be recognized on my network. I really am having
>> difficulties with 'GATEWAY' because I think it is a network-wide number
>> and I don't think that it is 192.168.1.2 . How can I figure out what it is?
>>  :-)~MIKE~(-:
>>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140829/9c013535/attachment.html>


More information about the PLUG-discuss mailing list