1 |
On Friday 06 January 2006 19:33, Peter wrote: |
2 |
> On Fri, 06 Jan 2006 14:34:07 +0100, Sergio Polini wrote: |
3 |
> > (i.e., my gateway address, which is different ;-) to /etc/resolv.conf? My |
4 |
> > resolv.conf after a dhcp connession is: |
5 |
> > |
6 |
> > domain fastwebnet.it |
7 |
> > nameserver 213.156.54.80 |
8 |
> > nameserver 213.156.54.81 |
9 |
> > |
10 |
> > (Fastweb is my provider). |
11 |
> > |
12 |
> > What should my resolv.conf look like? Thanks. |
13 |
> > Sergio |
14 |
> |
15 |
> So, you do NOT have a router? Then keep dhcp. If your ISP has assigned you |
16 |
> a static IP, then you should ask them for specifics. Most do not assign |
17 |
> static IP though. Sorry I could not help more. I use a router and each PC |
18 |
> is assigned a specific IP within the local net. However, the ROUTER gets |
19 |
> the Dynamic IP from our ISP. |
20 |
> |
21 |
> Sorry I could not help more. dhcp is really great! |
22 |
|
23 |
for static generaly there is needed only 2 sections in /etc/conf.d/net |
24 |
config_eth0 with static ip, netmask and brodcast |
25 |
routes_eth0 with gateway ip |
26 |
|
27 |
no need for dhcp, see net.example |
28 |
|
29 |
|
30 |
m |
31 |
-- |
32 |
Linux 2.6.14-gentoo-r6 AMD Athlon(tm) 64 Processor 3200+ |
33 |
20:49:23 up 1 day, 0 min, 4 users, load average: 0.00, 0.10, 0.79 |