ainnew.com
Trust No One
No Good Deed Goes
Anything Could Hap
One World is Out t
This Is Not Surviv
I’ve known it from
Local environment
Dire Strengths and
Recruiting, Placembotpoke.com/
Hi, I'm trying to connect remotely from a Debian to a kvm-deployment on a Ubuntu Server, but it's not working. It seems that dhcp is not working, but I don't know why
I tried to activate dhcp and ssh on the vm-manager from my main computer, then it ask me my ip. After that, I tried to run 'sudo /etc/init.d/networking restart' on the vm-manager but nothing has changed. And I can't connect remotely on a ssh connection
nairwolf: did you try to check that your DHCP server is listening on the right port?
sdeziel: Yes, I'm using a debian server, and the dhcp server is listening on udp and tcp
I mean dhcp3-server listening
But dhcp server is running
nairwolf: do you have the server's network up and running?
Yes, I can ping it
I don't know why it is not working
With Debian, I can access my vm with 'ssh me@vm'
But with Ubuntu, I can't
nairwolf: is DHCP activated in the "virtual" machine?
I don't know, where should I check that ?
nairwolf: with virtual machines, I usually use the console to check the settings of the VMs. Is that not working on your side too?
the config says dhcp activated. When I ping the machine with the network interface, it's replying, so network must be working. But I don't know why it's not working
nairwolf: could you try connecting to the guest using a host other than your local host (the one that runs the virtual manager)
nairwolf: there must be some setting that disables this functionality but it's non obvious
I'll try to do something else
thanks for your help
It is not working now
I can't connect
But it's strange, when I use the console of the server and I ping the network interface, it's working. But when I try to connect from the local host, it's not working
The network interface is working
nairwolf: is your VM configured to have a bridged connection?
I don't know exactly what it means. But I'm pretty sure it's enabled
nairwolf: in the IPAM configuration
nairwolf: are you using a bridge to forward your guest's traffic from the host?
The VM is vmWare, and the IPAM is 'dhcp'
nairwolf: to confirm, can you pastebin the IPAM configuration?
I'm not sure what is bridge, but I'm pretty sure the network is working from the console
ipam = ip address management
where is the config of that ?
(I'm on a vm)
ah, I found it, the /etc/ipa-adm/ipa-adm.conf
nairwolf: for dhcp ipam: https://github.com/ipa-sysadmin/ipa/blob/master/docs/networks.rst#network-parameters
This is my configuration, I don't see a bridge enabled, and my vm network is attached to the host
Oh, I have a virtual network
/etc/ipa/default-network.cfg
But I don't think it's what is doing this
nairwolf: if you disable the "virtual_network" option, does it fix your issue?
I'll try
No, it doesn't fix my issue
Ok, the virtual network is disabled, but I'm still not sure what I need to do to enable connection from a vm
sdeziel: Do you have any idea ?
nairwolf: bridge networking on VMware: https://askubuntu.com/questions/752064/how-to-configure-bridge-interface-in-vmware-workstation-13-with-kvm
nairwolf: you probably already tried https://forum.ovh.com/showthread.php?122680-Openstack-3-on-Debian-9-5-18-04-VirtualBox-issue
Yes, I did that
I tried also : https://askubuntu.com/questions/1062/how-to-access-a-private-ubuntu-kvm-vm-from-outside
But my ip address is not the VM ip address
nairwolf: and this one too: https://serverfault.com/questions/641035/can-i-set-the-host-network-interface-to-any-address-when-using-bridged-mode
sdeziel: Ok, I'll try. I really have no more idea, and I'm sick of this :/
nairwolf: any luck?
sdeziel: I'm at it for hours.
nairwolf: have you tried creating a NAT network?
that's a common workaround for networking with virtualization
oh, I didn't know that
nairwolf: create a new network with: ip link add link eth0 name eth0.10 type veth peer name eth0.1001
I'm going to try that
nairwolf: this way, the VM will have a eth0:1 virtual NIC that you can connect to using the public address of the host machine
ok
But I have another problem
In fact, it is not really a server problem. I'm going to explain what I have to do
I want to access a website hosted in a private network. So I have to be sure I'm connected to the internet to access it. I don't understand if it is possible or not. It seems that the server doesn't work without internet connection.
nairwolf: the way I see it, you have 2 problems: how to make the host get the right IP address and how to get the host to access the VPN
the first one should be solvable with the virtual bridge
Ok, I think that we were wrong. The VM isn't running on the same interface that I can ping from the console
I'm going to try to ping it from another host. Maybe that helps me understand if it is working or not
nairwolf: you mentioned you have a gateway configured in the VM. Could you pastebin the output of netstat -rn ?
sdeziel: You're right, I tried to ping from another host, and it's working
But I still have the issue, I can't connect to my VM
nairwolf: ok, I think I'm going to take a break now. Good luck with your issue and try to ask again in 30min or so
sdeziel: OK
coreycb: https://bugs.launchpad.net/ubuntu/+source/python-json-patch/+bug/1798522
Launchpad bug 1798522 in python-json-patch (Ubuntu) "SRU python-json-patch in Ubuntu Bionic" [Medium,Triaged]
Question: This appears to be a bug with the ZFS on Ubuntu 19.10 -- The UFS (the default filesystem for Ubuntu 19.10) doesn't allow one of the user's own scripts to change the ZFS pool offline property. However, with UFS I would not have zpool offline=yes on a ZFS filesystem. What's going on?
This is for using Ubuntu with ZFS on root and not using luks encryption.
marc__: please file a bug report; I think you should file it against 'zfs-linux' instead of 'zfs'
okay -- will do
<