Package: dhcp3-client
Version: 3.0.4-14
Severity: normal

I want to obtain two leases for a single interface and thus added
the following to the configuration, according to the manpage:


  interface "eth0" {
    send dhcp-client-identifier "0:00:02:8a:80:21:31";
    script "/etc/dhcp3/dhclient-script";
  }

  pseudo "secondary" "eth0" {
    send dhcp-client-identifier "1:00:02:8a:80:21:31";
    script "/tmp/dhcp-second";
  }

With this in place, the dhclient output only ever talks about the
secondary:

  Listening on LPF/eth0/00:02:8a:80:21:31
  Sending on   LPF/eth0/00:02:8a:80:21:31
  Sending on   Socket/fallback
  DHCPDISCOVER on secondary to 255.255.255.255 port 67 interval 4
  DHCPOFFER from 10.171.64.1
  DHCPREQUEST on secondary to 255.255.255.255 port 67
  DHCPACK from 10.171.64.1
  bound to 84.72.16.xxx -- renewal in 1595 seconds.

The primary interface is actually configured with the address
84.72.16.xxx, and /tmp/dhcp-second receives
$new_ip_address=84.72.16.xxx as well.

It looks like dhclient only obtains one address and feeds it to
both, the primary and pseudo interface.

If I release the lease, dhclient actually distinguishes between the
two:

  Listening on LPF/eth0/00:02:8a:80:21:31
  Sending on   LPF/eth0/00:02:8a:80:21:31
  Sending on   Socket/fallback
  DHCPRELEASE on eth0 to 10.171.64.1 port 67
  DHCPRELEASE on secondary to 10.171.64.1 port 67

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages dhcp3-client depends on:
ii  debconf [debconf-2.0]       1.5.13       Debian configuration management sy
ii  debianutils                 2.18         Miscellaneous utilities specific t
ii  dhcp3-common                3.0.4-14     Common files used by all the dhcp3
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries

dhcp3-client recommends no packages.

-- debconf information excluded

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to