Help with getting a client to receive a DHCP request

Toby Walsh walshtj at gmail.com
Mon Nov 7 13:54:01 CET 2016


Thanks for the reply Alan.

1) eth1 has 10.11.12.3 or something. I copied that mask-type IP from some
ancient mailing list post I think.

2) I'll have to read the doco again. So I'm guessing my src_ipaddr should
also be the DHCP server's address.

3) I'll reread doco and have another shot tomorrow. I've powered my
workstation off for the day.

Sorry for my networking ignorance.

On Mon, 7 Nov 2016 20:29 , <A.L.M.Buxey at lboro.ac.uk> wrote:

> Hi,
>
> > and nothing else, just lines of request in all of (1) - (4). Here's
> > the output from freeradius -X, so you can see how it's responding -
> > http://pastebin.com/raw/74ekNSNF. Any advice to what I've set up
> > wrong? Could it be the message:
> >
> > "DHCP: Reply will be unicast to your-ip-address"
> >
> > where your-ip-address is the address I actually want the test client
> > device to receive in the response, so therefore I need to broadcast to
> > the whole subnet, or at least (4) so that (5) can see it (and I can
> > see it in tcpdump throughout the network)?
>
> okay..if you are tcpdumping the DHCP traffic to/from your FreeRADIUS box
> you should see the outbound response....however, I note that
>
> 1) Listening on dhcp interface eth1 address 255.255.255.255 port 67 bound
> to server dhcp
>
> so the dhcp server is set to listen on eth1.
>
> what address does eth1 have?
>
>
> 2) I see this in your config "src_ipaddr = 127.0.0.1"  - umm, no. that
> address is LOCAL,
> any network device worth more than 0.01 will not switch that.
>
> 3) the result:
>
> Sent code 1026 Id -581776393 from 127.0.0.1:67 to 10.11.12.100:68 length 0
>
>
> "Id -581776393" concerns me - looks like some bug.....
>
> however, "from 127.0.0.1:67 to 10.11.12.100:68 length 0 " - I think
> you'll find no success
> because your linux box will not send that out.... even in some
> self-enclosed VM world, the basics
> of networking must still be adhered to.   use proper address that can be
> switched by the network.
>
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list