I installed Mininet as per the instructions over here. After starting the mininet VM, when I try to ping google.com, it gives the error:
Could anyone please help me figure out the problem?
The problem seems to be happening because DNS server is not configured correctly on the mininet VM. Please check the DNS configuration on the mininet VM. Open the file /etc/resolv.conf and configure the DNS server IP address (nameserver ).
If ping to google.com still doesn't work, check the default gateway configuration on the VM using "route -n" command.
You need to add "--nat" when start topology with "sudo mn .."
Related
My ubuntu machine name is machine. I am able to do successfully ping machine, but when I do ping machine.local, it doesn't resolve machine.local and gives message
ping: machine.local: Name or service not known
How should I fix this?
Thnaks.
Configure and start MDNS service or add appropriate records to your DNS server or add an antry to your /etc/hosts file
Apart from what #mikhail-zakharov said, I found out that apparently, avahi service was down and I needed to restart. Article at smallbusiness.chron.com/resolving-local-ubuntu-38861.html and https://access.redhat.com/discussions/3258021.
I am trying connect the IP with putty, which is generated in cent OS
But that IP is not connecting in putty.
Please someone help regarding that.
Thank you.
-Ensure you have the right port forwarding rules set up on your VM and connect to the correct port.
-Make sure ONBOOT=yes on /etc/sysconfig/network-scripts/enp0sX file.
In this case you'd connect to port 2222.
I have a three node installation of openstack, everything works fine before. But now i can't ping or ssh the instances in openstack.
I can ping the ip of the controler and the networker, also from my controller i can see that all nova agents are up and the same thing for neutron-agents
I can ping the gateway to the external net from router namspace. I can also ping the subnet interface from router but i can't ping the instance using the floating ip adress
Can someone help me fix this issue?
Thank you
Please restart Neutron services on controller, networking and Compute nodes.
Thank you Farhad it solved my problem.
I followed this tutorial to restart the services. Must restart nova and neutron services on both controller and compute nodes.
https://askubuntu.com/questions/438871/how-to-restart-openstack-services-after-restart-logout/1341668#1341668
We have an hyper-v machine in our DMZ with an Ubuntu machine on it. SonarQube is installed on the VM. When we try to access it from inside the network by IP there is nothing wrong and it works fine. We have setup a firewall route to forward all traffic from the internet to the VM. The forwarder as we setup is correct as we used it multiple times with other servers and works fine. The VM has 1 NIC with the internal IP on it. Is there something we are missing? If you need any more information please let me know. Thanks in advanced.
I have found the issue.
In the hosts file there was no local host setup.
From internal we connected by ip so there was no issue. The files were setup to connect to localhost so it did not know where to go. thanks for the support.
I have Windows 10 as host with a Manjaro installation as Guest on Virtualbox.
I have set a Debian server on another house with ssh installed. I have setup a dyndns on Debian's network so I can access it remotely.
For example..
From address 12.34.56.78 I ssh to foo.dyndns.org:1234. This port redirects me to 192.168.1.5:22 always as this is my Debian machine and the connection is established. I am able to do this from Windows 10 as well as my android and any other device in 12.34.56.78 or by 3G.
But..
When I try to do this
$ ssh foo.dyndns.org:1234
from the Manjaro Guest in Virtualbox I get the following error:
ssh: Could not resolve hostname foo.dyndns.org:1234: Name or service not known
So I did ifconfig and I saw my inet address was 10.0.2.15. I changed virtualbox's network adapter from NAT to Bridged so I can get a lan ip and I got the host's ip, 192.168.2.4. So I gave it another try and still didn't work.
Also, if i try to connect from vm to server while I'm in the same network
$ ssh user#192.168.2.5:22
it works. In this case virtualbox's network adapter was NAT.
This command works if I try from my android (connectbot).
I can connect the same way from PuTTY from Windows.
So my questions are:
Can it be done?
If so, how? (and why?)
Can a VBox Guest get lan ip that's not the same as the host's?
Is there any more information I should provide?
I have searched for a couple of days in here and on google and all I found where solutions on how someone can ssh INTO a vm. No one (from what I saw) asked the opposite.
Checking manual page for ssh reveals the format of command-line options:
ssh [...] [-p port] [...] [user#]hostnamessh
This simply describes, that you need to change
ssh foo.dyndns.org:1234
to
ssh -p 1234 foo.dyndns.org
if the domain resolves correctly to the ip address.