View previous topic :: View next topic |
Author |
Message |
bonfigleo n00b
Joined: 30 Jul 2002 Posts: 12
|
Posted: Tue Jul 30, 2002 3:09 am Post subject: Problems with my gateway |
|
|
Hello all,
I have successfully installed with both 1.2 and 1.3b. Everything is working fine in both cases but I have one problem. I cannot see outside my local network. If I execute the following after the machine starts up everything is fine:
route add -net default gw 192.168.1.1 netmask 0.0.0.0 metric 1
I have changed my /etc/conf.d/net file to include the line:
gateway=3D"eth0/192.168.1.1"
This does not seem to have helped.
Any ideas?
Thanks,
Matt |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jul 30, 2002 3:17 am Post subject: |
|
|
net.eth0 is in your default runlevel, right? That gateway line should work, but it will take: Code: | # /etc/init.d/net.eth0 stop
# /etc/init.d/net.eth0 start | before it takes effect (or a reboot). _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
bonfigleo n00b
Joined: 30 Jul 2002 Posts: 12
|
Posted: Tue Jul 30, 2002 12:36 pm Post subject: |
|
|
After editing the /etc/conf.d/net file I ran:
rc-update add net.eth0 default
and then I restarted.
I can see other machinces on my network so I assume all is well with the setup of the ethernet card.
Thanks,
Matt |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Jul 31, 2002 6:20 am Post subject: |
|
|
bonfigleo wrote: | I can see other machinces on my network so I assume all is well with the setup of the ethernet card. |
Hmm. What isn't working? ping? ssh? http? What is your gateway? Is it firewalling things? Are you using NAT? If you are able to do whatever you want on the local network, I would start to point the finger at the gateway machine. This is assuming you're using numerical IP addresses in your tests. If you're using hostnames, and IP addresses work, then I would suspect DNS. Have faith - it will work. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|