Re: network info

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: James Mcphee
Date:  
To: Main PLUG discussion list
Subject: Re: network info
127.0.1.1 is probably dnsmasq. do an nmcli dev list iface <interface> to
see what nameservers are behind it.


On Fri, Aug 29, 2014 at 2:26 PM, Michael Havens <> wrote:

> 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 <> 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 <>
>> 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 -
>> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>




--
James McPhee

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss