Working on an assignment where I need to create a new network adaptor (Host only) in VMware an I need to enter the following
sudo ifconfig eth0 downsudo ifconfig eth1 192.168.150.129 netmask 255.255.255.0sudo route add default gw 192.168.150.242 eth1
However I get an error as the output
SIOCSIFADDR: No such deviceeth1: ERROR while getting interface flags: No such device255.255.255.: Host name lookup failure
What am I doing wrong?