Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #166061

Re: restarting network

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: restarting network
Date 2016-03-29 16:00 +0200
Message-ID <ri2lz-72M-1@gated-at.bofh.it> (permalink)
References (1 earlier) <rhYUF-4CQ-5@gated-at.bofh.it> <ri0ts-5GO-11@gated-at.bofh.it> <ri16a-6dv-13@gated-at.bofh.it> <ri1zc-6Hc-11@gated-at.bofh.it> <ri1IT-6LW-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 29, 2016 at 02:10:08PM +0100, Tony van der Hoff wrote:
> On 29/03/16 14:00, Brian wrote:
> >On Tue 29 Mar 2016 at 13:37:19 +0100, Tony van der Hoff wrote:
> >
> >>On 29/03/16 12:58, pedantsunited wrote:
> >>>On Tue 29 Mar 2016 at 11:14:56 +0100, Tony van der Hoff wrote:
> >>>
> >>>Any chance of seeing /e/n/i?
> >>>
> >>Not until you explain what you're talking about
> >
> >/etc/network/interfaces
> >
> 
> Ah, OK:
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> #allow-hotplug eth0
> auto eth0
> iface eth0 inet static
> 	address 192.168.1.7
> 	netmask 255.255.255.0
> 	network 192.168.1.0
> 	broadcast 192.168.1.255
> 	gateway 192.168.1.1
> ##	up ip addr add dev eth0 2001:8b0:ff60:6a91::7
> ##	up ip route add default via fe80::1 dev eth0

You probably want to do the IPv6 part this way:

iface eth0 inet6 static
  address 2001:8b0:ff60:6a91::7
  gateway fe80::1
## but note that you need to establish reachability to fe80::1
## first.


> auto eth1
> iface eth1 inet static
> 	address 192.168.2.8
> 	netmask 255.255.255.0
> 	network 192.168.2.0
> 	broadcast 192.168.2.255
> 	gateway 192.168.1.1
> 	up ip addr add dev eth1 2001:8b0:ff60:6a91::8
> 	up ip route add default via fe80::1 dev eth0
> 
> # dns-* options are implemented by the resolvconf package, if installed
> 	dns-nameservers 192.168.1.1
> 	dns-search magpieway.net

You could consolidate your dns control statements here, or just
put them all into /etc/resolv.conf and not make them dynamic, if
that's suitable.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-28 11:50 +0200
  Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-28 15:40 +0200
    Re: restarting network Joe <joe@jretrading.com> - 2016-03-28 20:50 +0200
      Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-28 21:10 +0200
        Re: restarting network Joe <joe@jretrading.com> - 2016-03-28 21:50 +0200
    Re: restarting network Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-03-28 23:30 +0200
      Re: restarting network "Andrew M.A. Cater" <amacater@galactic.demon.co.uk> - 2016-03-29 00:10 +0200
        Re: restarting network Joe <joe@jretrading.com> - 2016-03-29 09:30 +0200
          Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 09:50 +0200
  Re: restarting network Jörg-Volker Peetz <jvpeetz@web.de> - 2016-03-29 11:10 +0200
  Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 12:20 +0200
    Re: restarting network pedantsunited <ad44@cityscape.co.uk> - 2016-03-29 14:00 +0200
      Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 14:40 +0200
        Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-29 15:10 +0200
          Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 15:20 +0200
            Re: restarting network Dan Ritter <dsr@randomstring.org> - 2016-03-29 16:00 +0200
            Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 16:40 +0200
              Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 16:50 +0200
                Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 17:30 +0200
                Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 18:10 +0200
                Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 18:30 +0200
                Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 18:40 +0200
                Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 19:20 +0200
                Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-30 14:20 +0200
                Re: restarting network Nemeth Gyorgy <friczy@freemail.hu> - 2016-03-29 18:50 +0200
            Re: restarting network Darac Marjal <mailinglist@darac.org.uk> - 2016-03-30 18:40 +0200
              Re: restarting network [SOLVED] Tony van der Hoff <tony@vanderhoff.org> - 2016-04-04 16:20 +0200
                RE: restarting network [SOLVED] Bonno Bloksma <b.bloksma@tio.nl> - 2016-04-05 13:30 +0200
  RE: restarting network Bonno Bloksma <b.bloksma@tio.nl> - 2016-03-29 13:20 +0200

csiph-web