[Cialug] Bogus DHCP on Debian

L. V. Lammert lvl at omnitec.net
Wed Apr 27 16:15:49 CDT 2016


Trying to set a PBX application in Raspbian, .. given a network
configuration with external (eth0), internal (eth1), and a 3rd for
the phones themselves:

auto lo
        iface lo inet loopback

auto eth0
        iface eth0 inet static
        address 206.197.251.243
        netmask 255.255.255.0
        gateway 206.197.251.254

auto eth1
        iface eth1 inet static
        address 10.0.0.243
        netmask 255.255.255.0
        gateway 10.0.0.254

auto eth2
        iface eth2 inet static
        address 10.0.1.254
        netmask 10.0.1.0

Any idea why the system persists in grabbing a DHCP address for eth1?

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether b8:27:eb:d4:a1:5d brd ff:ff:ff:ff:ff:ff
    inet 206.197.251.243/24 brd 206.197.251.255 scope global eth0
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether 00:60:62:b1:58:86 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.243/24 brd 10.0.0.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet 10.0.0.55/24 brd 10.0.0.255 scope global secondary eth1
       valid_lft forever preferred_lft forever
4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:60:62:b1:48:41 brd ff:ff:ff:ff:ff:ff


	TIA!!

	Lee


More information about the Cialug mailing list