Hello,
I allow myself to add a new demand, to try to find a solution to my problem.
Many topics are similar to mine but I can't find a solution.
Thank you in advance to those who will help me.
I installed Proxmox on a server at home (test lab environment).
Here is its network configuration of Proxmox :
Here is its network config of my VM :
On my laptop, i'm set on the network with static IP 192.168.1.110 with the gateway 192.168.1.1.
I would like access to my VM on proxmox (10.10.10.201) from my laptop.
I added route :
But can't access to the VM.
Ping the virtual interface works good :
But can't ping the VM doesn't work :
Does anyone have an idea where this could be stuck?
If you need more information I am available.
Thanks to you.
I allow myself to add a new demand, to try to find a solution to my problem.
Many topics are similar to mine but I can't find a solution.
Thank you in advance to those who will help me.
I installed Proxmox on a server at home (test lab environment).
Here is its network configuration of Proxmox :
Code:
auto lo
iface lo inet loopback
auto enp0s31f6
iface enp0s31f6 inet static
address 192.168.1.100/24
gateway 192.168.1.1
auto vmbr1
iface vmbr1 inet static
address 10.10.10.200/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o enp0s31f6 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o enp0s31f6 -j MASQUERADE
Here is its network config of my VM :
Code:
auto ens18
iface ens18 inet static
address 10.10.10.201
netmask 255.255.255.0
gateway 10.10.10.200
bridge-ports none
bridge-stp off
bridge-fd 0
On my laptop, i'm set on the network with static IP 192.168.1.110 with the gateway 192.168.1.1.
I would like access to my VM on proxmox (10.10.10.201) from my laptop.
I added route :
Bash:
~# ip route
default via 192.168.1.1 dev enp0s25 proto dhcp metric 100
10.10.10.0/24 via 192.168.1.110 dev enp0s25
192.168.1.0/24 dev enp0s25 proto kernel scope link src 192.168.1.110 metric 100
But can't access to the VM.
Ping the virtual interface works good :
Bash:
cyrille@homepc:~$ ping 10.10.10.200
PING 10.10.10.200 (10.10.10.200) 56(84) bytes of data.
64 bytes from 10.10.10.200: icmp_seq=1 ttl=64 time=0.761 ms
64 bytes from 10.10.10.200: icmp_seq=2 ttl=64 time=0.889 ms
But can't ping the VM doesn't work :
Bash:
cyrille@homepc:~$ ping 10.10.10.201
PING 10.10.10.201 (10.10.10.101) 56(84) bytes of data.
From 192.168.1.110 icmp_seq=1 Destination Host Unreachable
From 192.168.1.110 icmp_seq=2 Destination Host Unreachable
From 192.168.1.110 icmp_seq=3 Destination Host Unreachable
Does anyone have an idea where this could be stuck?
If you need more information I am available.
Thanks to you.