Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fixed ip adress
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
msh
n00b
n00b


Joined: 17 Jun 2002
Posts: 39
Location: Denmark

PostPosted: Fri Feb 21, 2003 11:39 am    Post subject: fixed ip adress Reply with quote

Hi

Where would I tell my gentoo box to use a fixed ip adresse, gateway and DNS servers? Right now I am using DHCP but I want to stop doing that.

Martin
Back to top
View user's profile Send private message
Vxster
n00b
n00b


Joined: 16 Jan 2003
Posts: 66
Location: London, UK

PostPosted: Fri Feb 21, 2003 11:46 am    Post subject: Reply with quote

It is pretty well documented in the install guide. You can use that to show you where to set up the IPs.
Back to top
View user's profile Send private message
msh
n00b
n00b


Joined: 17 Jun 2002
Posts: 39
Location: Denmark

PostPosted: Fri Feb 21, 2003 11:51 am    Post subject: reboot? Reply with quote

Vxster wrote:
It is pretty well documented in the install guide. You can use that to show you where to set up the IPs.




Thanks but where do I put :
ifconfig $IFACE $IPNUM broadcast $BCAST netmask $NMASK
/sbin/route add -net default gw $GTWAY netmask 0.0.0.0 metric 1

so that my system keeps the configuration when I reboot it?
Back to top
View user's profile Send private message
Vxster
n00b
n00b


Joined: 16 Jan 2003
Posts: 66
Location: London, UK

PostPosted: Fri Feb 21, 2003 11:54 am    Post subject: Reply with quote

Thats for manual configuration on the command line.

Take a look at part 23.2...you need to edit your /etc/conf.d/net script and enter your details there.

DNS entries go in /etc/resolv.conf
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