Networking

Netconf's BROADCAST_ADDRESS Value

 
Ray Terrell
Occasional Contributor

Netconf's BROADCAST_ADDRESS Value

For the BROADCAST_ADDRESS variable in the /etc/rc.config.d/netconf, what happens when the value is null, like BROADCAST_ADDRESS="". When do you want to put in an IP address and when it is ok to leave is as a null value (BROADCAST_ADDRESS="")?
3 REPLIES 3
Ramesh S
Esteemed Contributor

Re: Netconf's BROADCAST_ADDRESS Value

Hi

You can leave it as null value BROADCAST_ADDRESS[0]="" . It will take thebroadcast address by default ( by haveing all 1 in host address part )

Best Regards,
Ramesh
Yogeeraj_1
Honored Contributor

Re: Netconf's BROADCAST_ADDRESS Value

hi Ray,

if you read that file, you will observe that it says:

BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if different from default

In fact, you do not put IP address there! A normal address have the same as the IP address of the interface being configured followed by .255
e.g.
BROADCAST_ADDRESS[1]="192.168.20.255"

hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
whiteknight
Honored Contributor

Re: Netconf's BROADCAST_ADDRESS Value

Ray

You can leave it blank, or you do ifconfig lan0

# ifconfig lan0
lan0: flags=1843
inet 16.151.160.153 netmask ff000000 broadcast 16.255.255.255
^^^^^^^^^^^^^^^

WK


Problem never ends, you must know how to fix it