[ifupdown] dhcp clients and zcip (zeroconf)
Paul Fox
pgf at brightstareng.com
Fri Apr 28 12:43:12 UTC 2006
> > In many situations, you may want the zcip configured address to be
>
> > > maintained in addition to the dhcp configured one.
> > >
>
> This is exactly how we use it on our device as well.
doh. sure wish i'd thought of this scheme a while ago.
> > > Typically we do this:
> > >
> > > Run dhcpc on eth0. If we get a leasefail, run zcip on eth0:1. If we
> > > eventaully get a dhcp address it is configured on eth0 and we have both
> > > eth0 and eth0:1 (from zcip) configured. New traffic is sent on the dhcp
> > > configured interface, but we maintain the zcip configured one so that
> > > existing connections are not dropped.
what's used as the source address for outbound traffic? i'd guess the dhcp
address if it exists, else the eth0:1 address? clearly you'd want to use
the routable dhcp address as often as possible.
> Correct. They are technically the same interface, but having the aliased
> makes everything play well together. In all actuality, having both on the
> same interfaces didn't cause any problems for me except with the Samba
> server on our device. This seemed like a nice way to segment things though.
what was the samba problem?
paul
=---------------------
paul fox, pgf at brightstareng.com
More information about the busybox
mailing list