network configuration (bridging) proxmox
Your network configuration is wrong. The host needs only it's own IP address, and you must configure the VM's network on its side, not on the host one.
vmbr0 is the host's bridge to eth0, so eth0 does not have any configuration. The host's ip address needs to be setted on the vmbr0 interface. If you want your virtual machine to be bridged, you need to bridge it to vmbr0.
Supposing that 84.200.50.187 is the VM's IP address, change the host's network configuration as follow:
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 84.200.50.186
netmask 255.255.255.248
bridge_ports eth0
bridge_stp off
bridge_fd 0
gateway 84.200.50.185
On the virtual machine side, configure the network as follow:
- IP Address: 84.200.50.187
- Netmask: 255.255.255.248
- Gateway: 84.200.50.185
It should work.
Related videos on Youtube
aquatic7
Updated on September 18, 2022Comments
-
aquatic7 almost 2 years
I have a script looking like this, with a username ending with a "." dot.
import urllib.request url = "https://likee.video/@evadecarle." response = urllib.request.urlopen(url) print(response)
The ending dot "." in the url seems to cause a problem. If I change the url to
url = "https://likee.video/@11Happyness07.12"
it works fine. How do I make it work with the ending dot "." ?