Destination Host Unreachable and unknown host ERRORS
by vic121212 from LinuxQuestions.org on (#6MK1F)
Hi, I have just made the reboot of my lfs v12 and everything seems fine but i am unable to do pings. All the comprovations that the system does after rebot but before login are marked as OK.
When i try ping google.com I recive ping: unknown host.
If I try the ping 8.8.8.8 I recive
PING 8.8.8.8 (8.8.8.8): 56 data bytes
92 bytes from lfsPorfa (192.168.119.159): Destination Host Unreachable (this last line in repeat)
My /etc/sysconfig/ifconfig.ens33 file has
ONBOOT=yes
IFACE=ens33
SERVICE=ipv4-static
IP=192.168.119.159
GATEWAY=192.168.119.33
PREFIX=24
BROADCAST=192.168.119.255
My /etc/udev/rules.d/70-persistent-net.rules file has
SUBSYSTEM=="net"
ACTION=="add"
DRIVES=="?*"
ATTR{address}=="00:0c:29:86:90:d7"
ATTR{dev_id}=="0x0"
ATTR{type}=="1"
NAME="ens33
My /etc/hosts file has
127.0.0.1 localhost
192.168.119.159 lfsPorfa
My /etc/resolv.conf file has
nameserver 8.8.8.8
nameserver 8.8.4.4
I am working in VMware, with Ubuntu and Bridged as my network adapter.
I don't know what to do and if someone could help me I would apreciated :)
When i try ping google.com I recive ping: unknown host.
If I try the ping 8.8.8.8 I recive
PING 8.8.8.8 (8.8.8.8): 56 data bytes
92 bytes from lfsPorfa (192.168.119.159): Destination Host Unreachable (this last line in repeat)
My /etc/sysconfig/ifconfig.ens33 file has
ONBOOT=yes
IFACE=ens33
SERVICE=ipv4-static
IP=192.168.119.159
GATEWAY=192.168.119.33
PREFIX=24
BROADCAST=192.168.119.255
My /etc/udev/rules.d/70-persistent-net.rules file has
SUBSYSTEM=="net"
ACTION=="add"
DRIVES=="?*"
ATTR{address}=="00:0c:29:86:90:d7"
ATTR{dev_id}=="0x0"
ATTR{type}=="1"
NAME="ens33
My /etc/hosts file has
127.0.0.1 localhost
192.168.119.159 lfsPorfa
My /etc/resolv.conf file has
nameserver 8.8.8.8
nameserver 8.8.4.4
I am working in VMware, with Ubuntu and Bridged as my network adapter.
I don't know what to do and if someone could help me I would apreciated :)