(Ted Harding) wrote:
On 19-Aug-07 18:17:50, CDW (Linux) wrote:
(Ted Harding) wrote:
There's a lot of possibilities for this!
One thing to look at is whether you have a default gateway set up in Linux. If (as root) you enter the command
route
you should see somthing like
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
where the "192.168.1.1" should be replaced by the IP address of your actual router. If you don't get a "default" line in the output from "route" then nothing for outside will get to the router.
I get the following :- Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 10 0 0 eth0 169.254.0.0 * 255.255.0.0 U 10 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 192.168.1.51 0.0.0.0 UG 10 0 0 eth0
Ah. I've just noticed that there's a 169.254.0.0 address in my list. That would appear to come from a DHCP config but I purposely didn't set that so would that be stopping it working? If so, how do I remove it?
I don't think it matters. I get the same too (on a Red Hat 9 system) without any DHCP going on. It's supposed, I think, to represent some alternative network numbering, and as far as I know is simply a dummy.
Thanks for that info.