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

Reply via email to