[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Safety while network install.



On Wed, Nov 23, 2011 at 06:30, Curt <curty@free.fr> wrote:
>
> I trust the server, I guess; it's my ISP, so I really have to trust
> them way above and beyond whatever dhclient can or cannot do.  I could
> set up a static address for the interface (if I knew how--I do have a
> static address).  Where does that go?  In /etc/network/interfaces?

Yes.
For DHCP you have something like this:

  auto eth0
  iface eth0 inet dhcp

For static you do something like this:

  iface eth0 inet static
  address 192.168.1.5
  netmask 255.255.255.0
  gateway 192.168.1.254

(use "ifconfig" and "ip route" to get your numbers if needed)

> Then there's also the question of the dns servers, which can change
> from time to time (or maybe they rarely do, I dunno).

It's pretty rare, really.
The only time I have seen a problem is if the network undergoes
a major change, e.g. one ISP acquires another.

Cheers,
Kelly Clowers


Reply to: