I think the problem of Lee is just missing default route. His LAN is accessable because he doesn't need a gateway for it. Lee, please look at the page 142 of SuSE 6.4 manual, and make sure your /etc/route.conf file specifies your gateway machine (I believe it's 192.168.1.1) as a default route. HTH, Kastus On Thu, 21 Sep 2000, Bruce wrote:
There are several issues here. First, we need to know your routes
route -n
There should be a route to 192.168.x.0/255.255.255.0 There should be a route to 216.67.203.xxx/255/255/255/yyy whatever is your network (16 IP/32/64 etc)
If you are using aliases, do the primary route first followed by the aliases.
Finally, if you are using a dialup link, then by DEFAULT (the keyword) you will need to specify that the default route will probably be to the Internet interface.
route add default dev ppp0 (ignore the purists...)
The second issue is that of /etc/rsolv.conf /etc/hosts and DNS.
If the transaction is local to the linux box, then specify all local hosts in /etc/hosts along with their nicknames
If anyone else has to use your site then you should configure DNS/named/bind to provide a DNS service - on two servers.
Thirdly, for local transactions, they are resolved according to the order and servers specified in /etc/resolv.conf and no more.
Keep everything clean and consistent. Get the routes sorted first and tdy up your /etc/hosts file. Then reconfigure resolv.conf to go to bind,hosts if necessary.
Regards, Bruce.
Hello Kester,
Thanks for your reply. However resolv.conf only comes into play when you start using DNS rather than IPs, (although resolv.conf is set up as well). I have no trouble resolving names to IPs, as 192.168.1.1 (the gateway) runs a local caching nameserver. My trouble is even if I just use IP addresses, I can't access anything on the Internet.
ping 192.168.1.1 --> no problem at all } LAN IP ping 192.168.1.2 --> no problem at all } LAN IP (etc. etc.)
As soon as I try to reach an external (Internet) host:
ping 212.67.203.133 --> ping: sendto: Network is unreachable ping www.suse.com --> ping: sendto: Network is unreachable ping www.linux.org --> ping: sendto: Network is unreachable
I hope that clarifies what my problem is?
--Lee
Monday, August 21, 2000, 11:15:11 AM, you wrote:
KC> I could be wildy wrong, but doesn't /etc/resolv.conf need to have IP KC> addresses in it even if it accesses the net via another machine? Maybe you KC> forgot it? Just a hopeful guess...
KC> On Thursday, September 21, 2000 9:41 AM, Lee Smallbone KC> [SMTP:lee@smallbone.com] wrote:
Hi there,
Having bought SuSE 6.4 about 3 months ago I finally freed up the machine I have been waiting to install it on. The installation went relatively smoothly. I have got it to recognize my network card and traffic flows freely within the LAN.
However: As soon as I try to access the Internet with the machine, it complains Network Unreachable (if using ping for instance.) I've set the default gateway to 192.168.1.1, which is the other SuSE (6.0) machine that does the dialing and the NAT'ing. Every other machine (Win9x) can access the Internet ok, so I know it's a problem with the SuSE 6.4 machine. As I say I can ping and telnet (where applicable) any machine on the local network, just I can't seem to reach ANYWHERE on the Internet, even whilst using IP addresses.
What am I doing wrong?
Best regards, Lee Smallbone lee@smallbone.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
KC> -- KC> To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com KC> For additional commands send e-mail to suse-linux-e-help@suse.com KC> Also check the FAQ at http://www.suse.com/support/faq
Best regards, Lee mailto:lee@smallbone.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq