Help please I am new in all, and need help please.
I need access to internet from KVM with Centos 7
I need to know what is wrong in my configuration, I can’t have access to internet from my VM.
I have one node with one KVM and one LXC both with centos 7
the node has this configuration:
has 1 network device is this
has 1 linux bridge is this
For the KVM the network device is this
in the shell of the node I can do ping google.com and is ok
this to show me
but when I am goin to Console to my KVM with centos 7 I do the ping google.com but is not ok
this is to show me
but if I do ping 127.0.0.1 in Console to my KVM that is ok
this is to show me
I do not know how to configure the network of my KVM to have access to internet
Please anybody help me with this
Thanks
I need access to internet from KVM with Centos 7
I need to know what is wrong in my configuration, I can’t have access to internet from my VM.
I have one node with one KVM and one LXC both with centos 7
the node has this configuration:
has 1 network device is this
name | type | Active | Autostar | VLAN aware | Ports/Slave | IP Address | Subnet mask | CIDR | Gateway |
enp5s4 | network device | Yes | No | No |
has 1 linux bridge is this
name | type | Active | Autostar | VLAN aware | Ports/Slave | IP Address | Subnet mask | CIDR | Gateway |
vmbr0 | linux bridge | Yes | Yes | No | enp5s4 | 165.170.125.19 | 255.255.255.0 | 165.170.125.189/24 | 165.170.125.1 |
For the KVM the network device is this
network device(net0) | vmbr0= C*:6*:7*:C*:0*:B*, bridge= vmbr0 |
in the shell of the node I can do ping google.com and is ok
this to show me
# ping google.com
PING google.com (216.58.206.238) 56(84) bytes of data.
64 bytes from par10s34-in-f14.1e100.net (216.58.206.238): icmp_seq=1 ttl=120 time=0.953 ms
64 bytes from par10s34-in-f14.1e100.net (216.58.206.238): icmp_seq=2 ttl=120 time=1.14 ms
64 bytes from par10s34-in-f14.1e100.net (216.58.206.238): icmp_seq=3 ttl=120 time=1.22 ms
but when I am goin to Console to my KVM with centos 7 I do the ping google.com but is not ok
this is to show me
ping: google.com: Name or service not known
but if I do ping 127.0.0.1 in Console to my KVM that is ok
this is to show me
[root@SC-CT-Test etc]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.024 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.022 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.019 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.033 ms
I do not know how to configure the network of my KVM to have access to internet
Please anybody help me with this
Thanks
Last edited: