New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
@kucingbelang4
Which eth is used? (eth0 or eth1?)
I am sure your Server/VPS is not using a eth0 or eth1, run a command and check which eth is used?
What is output of this command?
@DewlanceVPS He clearly said he is using eth0, is it that difficult to read?
I know but I want to see output of ifconfig command.
(I know how to fix it)
Any progress now?
It seems your router does not allow passing traffic, could u please check / do ping from your router?
eth0 Link encap:Ethernet HWaddr 00:0C:29:9E:9D:79
inet addr:192.168.19.20 Bcast:192.168.19.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe9e:9d79/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1127 errors:0 dropped:0 overruns:0 frame:0
TX packets:1747 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:189389 (184.9 KiB) TX bytes:170546 (166.5 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1023 errors:0 dropped:0 overruns:0 frame:0
TX packets:1023 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:262731 (256.5 KiB) TX bytes:262731 (256.5 KiB)
yes ,thx am turn off the iptables , now it can ping self, but i still cant ping google
Definitely need the output of 'ifconfig' to diagnose this. From trace route it doesn't look like anything is getting past your gateway.
ifconfig output*
eth0 Link encap:Ethernet HWaddr 00:0C:29:9E:9D:79
inet addr:192.168.19.20 Bcast:192.168.19.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe9e:9d79/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:626 errors:0 dropped:0 overruns:0 frame:0
TX packets:1271 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:126672 (123.7 KiB) TX bytes:113335 (110.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:815 errors:0 dropped:0 overruns:0 frame:0
TX packets:815 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:208957 (204.0 KiB) TX bytes:208957 (204.0 KiB)
When I'm playing with vmware a few years ago, I need to try one by one of the network interfaces, sometimes it's NAT, sometimes BRIDGE.
my vm network using NAT
I assume as you have no internet connectivity but are still able to see the command line that you have KVM-IP access? If so I would be inclined to suggest you reinstall via KVM with the graphical installation wizard - this will allow you to better setup the network interfaces as they should be.
You probably won't lose much as you're not connected to the internet and this means nothing generally will be installed.
Generally speaking from my experience (not extensive but enough), you of been given at least your IP and perhaps the gateway from your provider when you signed up for the VPS. Using this in the installation will allow for you to set it up correctly.
If you're stuck then let me know and I will be more than happy to try and help further.
@kucingbelang4, sudah bisa belum?
down "lo" device by running this command
then remove ifconfig-lo from /etc/sysconfig/network-scripts/ and restart your network.
Why do you need to shutdown lo ? lo has not caused me any issues till date.
This is a resolution, If OP shutdown lo then internet will start working.
(Note: Also need to remove lo file and restart network)