Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with my gateway
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bonfigleo
n00b
n00b


Joined: 30 Jul 2002
Posts: 12

PostPosted: Tue Jul 30, 2002 3:09 am    Post subject: Problems with my gateway Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jul 30, 2002 3:17 am    Post subject: Reply with quote

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
View user's profile Send private message
bonfigleo
n00b
n00b


Joined: 30 Jul 2002
Posts: 12

PostPosted: Tue Jul 30, 2002 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Jul 31, 2002 6:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum