On Wed, Sep 29, 2021 at 11:18:16PM +0200, Stella Ashburne wrote: > Hi Dan > > > Sent: Thursday, September 30, 2021 at 3:09 AM > > From: "Dan Ritter" <d...@randomstring.org> > > To: "Stella Ashburne" <rewe...@gmx.com> > > Cc: "debian-user mailing list" <debian-user@lists.debian.org> > > Subject: Re: iwd: Using iwd to connect to a wireless network (Part 1 - > > Connection status show OK but unable to surf the net) > > > > Stella Ashburne wrote: > > > Hi Dan > > > > > > Setting static IP address in network configuration > > > Add the following section to /var/lib/iwd/network.type file. For example: > > > > > > /var/lib/iwd/spaceship.psk > > > [IPv4] > > > Address=192.168.1.10 > > > Netmask=255.255.255.0 > > > Gateway=192.168.1.1 > > > Broadcast=192.168.1.255 > > > DNS=192.168.1.1 > > > > > > In the above example the broadcast IP is 192.168.1.255. > > > > > > Question: Does the fourth octet have to be 255? > > > > Technically, no. In practice, you are unlikely to see anything > > else unless you are configuring point-to-point router links. > > > Just to confirm that I understood your statement correctly: can I omit the > line Broadcast=192.168.1.255 in the file spaceship.psk?
I don't know about iwd specifically, but given address and netmask it should be able to reasonably infer a default broadcast. So I'd say "yes, but ask iwd" ;-) Cheers - t
signature.asc
Description: Digital signature