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


Groups > linux.debian.user > #185594

Re: Static IP not working ("connmand" problem)?

From Glenn English <ghe2001@gmail.com>
Newsgroups linux.debian.user
Subject Re: Static IP not working ("connmand" problem)?
Date 2017-08-20 20:30 +0200
Message-ID <ugD90-22z-13@gated-at.bofh.it> (permalink)
References <ugCFX-1BI-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Aug 20, 2017 at 5:55 PM, Steffen Dettmer  safe for DHCP failures).

> [1] https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually
> [2] /etc/network/interfaces:
> allow-hotplug eth0
> iface eth0 inet static
>   address 192.168.9.24
>   netmask 255.255.255.0
>   gateway 192.168.9.30

Mine for a 2 interface machine on 216.17.134.200/29 and a Comcast cable net:


auto lo eth0 eth1

# The loopback network interface
iface lo inet loopback
    allow-hotplug eth0

# The primary network interface
iface eth0 inet static
    address 216.17.134.205
    netmask 255.255.255.248
    broadcast 216.17.134.207
    network 216.17.134.200
    gateway 216.17.134.201

# Comcast
iface eth1 inet dhcp


(There may be some redundant info in there, but it works.)

Then reboot (or restart networking). Then look at 'ifconfig' or 'ip
addr' to verify that they're there.

--
Glenn English

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


Thread

Static IP not working ("connmand" problem)? Steffen Dettmer <steffen.dettmer@gmail.com> - 2017-08-20 20:00 +0200
  Re: Static IP not working ("connmand" problem)? Sven Hartge <sven@svenhartge.de> - 2017-08-20 20:20 +0200
    Re: Static IP not working ("connmand" problem)? Steffen Dettmer <steffen.dettmer@gmail.com> - 2017-08-20 21:00 +0200
    Re: Static IP not working ("connmand" problem)? Steffen Dettmer <steffen.dettmer@gmail.com> - 2017-08-22 15:10 +0200
      Re: Static IP not working ("connmand" problem)? Sven Hartge <sven@svenhartge.de> - 2017-08-22 17:10 +0200
  Re: Static IP not working ("connmand" problem)? Glenn English <ghe2001@gmail.com> - 2017-08-20 20:30 +0200

csiph-web