Eric at Lucii.org on 13 Oct 2010 14:48:04 -0700 |
-----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
|
|