IP Broadcast address for Linux/AXP

Nigel Metheringham (Nigel.Metheringham@theplanet.net)
Mon, 18 Dec 1995 19:16:48 +0000


Hi,

I am trying to get Jon Peatfield's bootpc client working on the
alpha, so that we can bring up a system just using bootp to get the
network info.

Basically bootpc builds a packet and then sends it to the IP
broadcast address - 255.255.255.255 - and this should be picked up by
the bootp server. This works fine on an i386 architecture, but on
alpha it all goes wrong.

A check on whats being sent shows some very screwy results.
An i386 system sends a bootp packet to IP 255.255.255.255 using a MAC
broadcast address.
An alpha (with a preconfigured network which includes a default
route) arps for the MAC address of the default router, and then sends
to IP 255.255.255.255 with the MAC addr set to the of the default
router.

It appears that the Alpha does not recognise and correctly treat IP
broadcasts, which should cause a MAC broadcast.

The code *does* use setsockopt to set SO_BROADCAST

Can anyone help here?

Nigel.

-- 
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House     Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656       ]