Silly problem to connect to the Internet repeating

From: Charles (nothing_at_nothing.com)
Date: 01/29/04


Date: Thu, 29 Jan 2004 08:59:03 -0200

Hi,

I read the doc on gentoo.org and googled around to get connected to the Internet, however, I found
it appropriate only for static IP addresses.
I have a dynamic IP address.

What I did is:

ifconfig eth0 200.138.55.199 broadcast 192.168.0.255 netmask 255.255.255.0 up
route add default gw 192.168.0.1
nano -w /etc/resolv.conf (and added the DNS provided by my ISP)

This works because the static IP address in ifconfig is the curent one that I figured out. But after
doing an adsl-start, the resolv.conf content changes to another pair of DNS. Also, if I get
connected the day after, the static IP obviously isn't the same, and I can't connect anymore.
Any advice would be greatly appreciated. Thanks,

--
Charles.


Relevant Pages

  • Re: Urgent! New router and big disaster
    ... Both NICs should point to his internal IP for DNS. ... forward ports to it reliably in the router. ... I should have been more clear about internet connection.. ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... Both NICs should point to his internal IP for DNS. ... You should give your SBS a fixed external address so you can forward ports to it reliably in the router. ... I should have been more clear about internet connection.. ...
    (microsoft.public.windows.server.sbs)
  • Re: How do my server 2003 (DNS) know the Internet?
    ... The Multihomed function is not for Internet access. ... has an ip of 156.40.10.10 for that network. ... It is due to a number of reasons, mainly DNS registration of both NICs, whereas you do not want that. ... It's highly recommended to single home all DCs and use a non-DC for the multihoming purposes. ...
    (microsoft.public.windows.server.dns)
  • Re: Non-domain connection problem
    ... For some reason the DNS is persistent. ... connect new PC to the internet from the non-domain network: ... In server 2000 gpoedit.msc showed them but in SBS it is different. ...
    (microsoft.public.windows.server.sbs)
  • Re: How to use sub-domain
    ... The administrator maintains entirely separate DNS implementations (no zone ... server, or VPN server) must also be changed manually in the internal AD/DNS ... Company users accessing the network from the Internet ...
    (microsoft.public.windows.server.general)