netdev
[Top] [All Lists]

Re: netfilter NAT vs. pump

To: netdev@xxxxxxxxxxx
Subject: Re: netfilter NAT vs. pump
From: Michael Richardson <mcr@xxxxxxxxxxx>
Date: Tue, 13 Jun 2000 23:29:37 -0400
In-reply-to: Your message of "Tue, 13 Jun 2000 22:58:55 +0200." <200006132058.WAA27846@xxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
>>>>> "Werner" == Werner Almesberger <almesber@xxxxxxxxxxx> writes:
    Werner> re-routing, the interface is eth1, as expected, destination IP is
    Werner> 255.255.255.255 (okay), and source IP is 10.0.0.1 (not nice, but
    Werner> probably doesn't really matter to DHCP) - AFTER re-routing, the

  Yes, it does. When doing a request, you must use address 0.0.0.0 according
to the spec.

    Werner> interface becomes eth0, because the source IP was used to
    Werner> determine the interface. Very bad.  - pump doesn't explicitly set
    Werner> the interface (it binds to { 0.0.0.0,68}), but eth1 gets picked

  So, we found the culprit. Why not use ISC dhclient? Frankly, I can't
see any reason why anyone would want anything else...

  Your other comments about problems are beyond my knowledge to comment on.

   :!mcr!:            |  Solidum Systems Corporation, http://www.solidum.com
   Michael Richardson |For a better connected world,where data flows faster<tm>
 Personal: http://www.sandelman.ottawa.on.ca/People/Michael_Richardson/Bio.html
        mailto:mcr@xxxxxxxxxxxxxxxxxxxxxx       mailto:mcr@xxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>