|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] networking question
|
- From: "Kyle R. Burton" <kyle.burton@gmail.com>
- To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
- Subject: Re: [PLUG] networking question
- Date: Wed, 13 Oct 2010 17:58:16 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KnIxdJR4GsdyDTqvSDzuA/Uz+TIEMAlDQnD5ZEZMdQo=; b=ZIIUaJSIC/iIGoj6aF7aPSdGP/ITbSPiIKzjH7Er6EDN90q+qeBQced9vRdQ8z27fk SfKssfcUCfb/h3+p+2W7QQGHSrAbAw8DosOKtf0ZyMENyvQGwFJUcszXRVxxYqL5zcgs PlKND9Y9ER0mwF3H96ndHFod2gAOaR9MWM58s=
- Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
- Sender: plug-bounces@lists.phillylinux.org
Eric,
I think to get DNS you need to list your office or ISP's nameservers
in /etc/resolv.conf:
domain domain-name.com
search domain-name.com
nameserver <<primary-nameserver-ip-addr>
nameserver <<secondary-nameserver-ip-addr>
HTH
Kyle
On Wed, Oct 13, 2010 at 5:47 PM, Eric at Lucii.org <eric@lucii.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Randall, Wow, thanks - that's exactly what I needed.
>
> I added a file, /etc/sysconfig/network/routes with a single line:
> default 10.10.10.1 - -
>
> After some fiddling with config (turning off NetworkManager) and exercising some
> network commands:
> /sbin/rcnetwork
> ifdown eth0
> ifup eth0
>
> ...the default route is there!
>
> I can ping external addresses like 4.2.2.2 but I can't get DNS resolution:
> ping www.google.com
> ping: unknown host www.google.com
>
> I'm guessing that when I turned off NetworkManager it lost the DNS address,
> 10.10.10.1, that I had set in there.
>
> What else am I missing to get DNS?
>
> Thanks again,
> Eric
>
> On 10/13/2010 05:04 PM, Randall A Sindlinger wrote:
>> Yea! A question I feel authoritative on! (as opposed to all those
>> darned Ubuntu questions :-)
>>
>> # cat /etc/sysconfig/network/routes
>> default 10.10.10.1 - -
>>
>> If you don't have that file, you don't have a default route.
>> Yeah, I agree - OpenSuSE should have put that in when you installed it.
>> <shrug/>
>>
>> HTH,
>> -Randall
>> --
>> Randall Sindlinger
>> Systems Programmer, CETS
>> School of Engineering and Applied Science
>> University of Pennsylvania
>>
>>
>>
>> On Wed, Oct 13, 2010 at 01:26:02PM -0400, Eric at Lucii.org wrote:
>> Background:
>>
>> Installing OpenSuSE 11.3 guest in Virtualbox 3.2.8 on an Ubuntu 10.4 host.
>>
>> + Selected Gnome desktop
>> + Network configured in the setup process as:
>> static IP 10.10.10.179
>> netmask 255.255.255.0
>> gateway 10.10.10.1
>> + Install appeared to complete without a hitch.
>>
>> Now, I can see any address in the 10.10.10.0 space but cannot see anything on
>> the Internet. For example:
>>
>> # ping www.google.com
>> connect: Network is unreachable
>>
>> So, I look in more detail:
>>
>> # route
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use Iface
>> 10.10.10.0 * 255.255.255.0 U 0 0 0 eth0
>> link-local * 255.255.0.0 U 0 0 0 eth0
>> loopback * 255.0.0.0 U 0 0 0 lo
>>
>> Where is the default route?
>>
>> I can fix it by entering: route add default gw 10.10.10.1
>>
>> Apparently, the OpenSuSE installer just set up the static IP
>> and routing and somehow I missed how to tell it about a default route (right).
>>
>> I set NETWORKMANAGER="yes" in the config file, restarting the network, and
>> configuring AUTO eth0 in the GUI. There is still no default route.
>> The Network Manager route option does not seem to stick.
>>
>> Any idea how to permanently fix this?
>>
>> Thanks,
>>
>> Eric
> ___________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
>>>
>> ___________________________________________________________________________
>> Philadelphia Linux Users Group -- http://www.phillylinux.org
>> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
>> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
>
> - --
> # Eric Lucas
> #
> # "Oh, I have slipped the surly bond of earth
> # And danced the skies on laughter-silvered wings...
> # -- John Gillespie Magee Jr
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAky2KQQACgkQ2sGpvXQrZ/5a5QCfQe1HzLLpARj/+VOm61yeGFdL
> wHgAoJYf3Y9N3r/NHQCEohXKNxLssIGQ
> =yRoN
> -----END PGP SIGNATURE-----
> ___________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
>
--
Twitter: @kyleburton
Blog: http://asymmetrical-view.com/
Fun: http://snapclean.me/
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|