This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

DHCP over multiple interfaces


I can't seem to get DHCP work over multiple interfaces.

The problem is that packets sent to 255.255.255.255 always
come out on eth1.

According to "TCP/IP Illustrated Volume 1" (Stevens)
section 12.2:
"Most BSD systems treat 255.255.255.255 as an alias
for the broadcast address of the first interface that
was configured"
and
"The Host Requirements RFC takes no stand on the issue of
whether a multihomed host should send a limited broadcast
out all its interfaces"

Not that sending the packets out to both interfaces would
be a solution either, because you could accept a lease from
the wrong network.  Currently if I have a DHCP server on the
eth1 network then eth0 will obtain its address from there.

Is it possible to configure more than one interface to use
DHCP?  If not, then how can I specify which interface
broadcasts 255.255.255.255 packets?


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]