ifconfig gives unknown host error?
by heliostarfish from LinuxQuestions.org on (#6M032)
I'm not sure what I'm missing. I am getting the error unknown host when I try to use ifconfig to set an ip address.
sudo ifconfig eth0 add 192.168.300.1 netmask 255.255.255.0
returns
192.168.300.1: Unknown host
This seems to be the example command used online. Is there something I'm missing?
sudo ifconfig eth0 add 192.168.300.1 netmask 255.255.255.0
returns
192.168.300.1: Unknown host
This seems to be the example command used online. Is there something I'm missing?