What's new

ifconfig bad address

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

rdy2

Regular Contributor
I am getting a bad address error
Code:
# ifconfig wl0.1 192.168.51.1/24
ifconfig: bad address '192.168.51.1/24'

Is there a limitation as to what the address can be, related to the router IP address/netmask, which is 192.168.50.1 with 255.255.255.0 ?

Just in case wondering what I am doing, I am trying to test this
Code:
ifconfig wl0.1 192.168.51.1/24

###/jffs/configs/dnsmasq.conf.add

interface=wl0.1
dhcp-range=wl0.1,192.168.51.2,192.168.51.254,255.255.255.0,86400s
dhcp-option=wl0.1,3,192.168.50.1
dhcp-option=wl0.1,15,athome
dhcp-option=wl0.1,252,"\n"
 
I am getting a bad address error
Code:
# ifconfig wl0.1 192.168.51.1/24
ifconfig: bad address '192.168.51.1/24'
That is syntactically incorrect. The correct format is:
Code:
ifconfig wl0.1 192.168.51.1 netmask 255.255.255.0
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top