Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
specifying the default 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
pavera
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 84

PostPosted: Wed Jun 05, 2002 5:57 pm    Post subject: specifying the default Gateway? Reply with quote

Small issue really, I have a dhcp server on my network, and I have Gentoo set up to get an address from that, but I'd really like to configure it statically so I can turn off dhcp on my server (this is the only machine getting ip's from the server). The reason I have it set up this way is because when I try to configure the static IP as per the instructions, I can't get outside of my local network (ping/nfs/ssh/telnet all work fine inside, but nothing gets out, web browsing, ssh, nothing). I think its because I don't know where to tell gentoo what the default gateway is, how do you do that? where do I put the default gateway?
Back to top
View user's profile Send private message
leej
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 280

PostPosted: Wed Jun 05, 2002 6:57 pm    Post subject: Reply with quote

If you're going to launch the network at boot time (rc-update add net.eth0 default), just customize the /etc/conf.d/net script.

In fact, I'd ensure iface_eth0="dhcp" is uncommented, then uncomment the gateway field, ensuring it's set to the correct IP.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Wed Jun 05, 2002 7:52 pm    Post subject: Reply with quote

also make sure you have your resolv.conf working :)
Back to top
View user's profile Send private message
pavera
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 84

PostPosted: Wed Jun 05, 2002 10:15 pm    Post subject: Reply with quote

yeah, resolv.conf is fine.
(it really isn't that because I can't ping straight IP's), furthermore, names do resolve, if I try to ping something, the name resolves (I have DNS server inside my network). it just can't get out at the IP level...
I don't see a "gateway" field in the /etc/conf.d/net script..
where is it? or, what is the sintax to add it?
Back to top
View user's profile Send private message
pavera
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 84

PostPosted: Wed Jun 05, 2002 10:16 pm    Post subject: Reply with quote

so, I'm blind, fine!
figured it out thanks!
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