Gentoo Archives: gentoo-user

From: Rafael Barrera Oro <borafael@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] static IP, gateway and netmask setting
Date: Fri, 23 Nov 2007 15:25:39
Message-Id: a964044f0711230720s1326f20fg642278cfcbfb0883@mail.gmail.com
1 Hello, i intend to do a basic static network set up. My goal is to set up
2 the following:
3
4 ip: 10.0.0.1
5 netmask: 255.255.255.0
6 gateway: 10.0.0.2
7
8 guiding myself with the gentoo handbook i clumsily edited the
9 /etc/conf.d/net file leaving it like this
10
11 config_eth0=( "10.0.0.1 netmask 255.255.255.0 brd 10.0.0.255" )
12 routes_eth0=( "default via 10.0.0.2" )
13
14 i have to admit i totally guessed the 10.0.0.255 value
15
16 should this work?
17 are all the values listed here correct and/or necessary?
18
19 thanks in advance people, as usual, your help is very appreciated
20
21 take care
22
23 Rafael

Replies

Subject Author
Re: [gentoo-user] static IP, gateway and netmask setting Alberto Avi <alberto.avi@×××××.com>
[gentoo-user] Re: static IP, gateway and netmask setting reader@×××××××.com