Cannot access cockpit when using a sdn in vm

creative_dragon

New Member
Jul 18, 2024
16
0
1
Hi i recently installed proxmox to manage my vms and managed to set a fedora server vm, i can visit cockpit when using the default bridge vimbr0 and everything works fine but when i use a sdn which i have configured properly after install dnsmasq and following along a few youtube tutorials, my cockpit panel does not show up. I can ssh from host to vm when i am using a sdn. I even set up a firewall so that hostvm:9090 is open. Say my host is on 192.168.30.xx but i want to keep my vms on different subnets like 192.168.35.xx is there anything i can do try access them properly?
 
No, you don't show i picture with you network setup wíth all the information.
See the routing table an your default gateway - this might be the default router on your system.
This is inside the vm and my proxmox host is on 192.168.29.xx.

user@localhost:~$ ip route show | grep default
default via 192.168.104.1 dev enp6s18 proto dhcp src 192.168.104.10 metric 100
user@localhost:~$ ip route show
default via 192.168.104.1 dev enp6s18 proto dhcp src 192.168.104.10 metric 100
192.168.104.0/24 dev enp6s18 proto kernel scope link src 192.168.104.10 metric 100

Edit:-
This is inside my proxmox host
$ ip route show | grep default
default via 192.168.29.1 dev vmbr0 proto kernel onlink
$ ip route show
192.168.29.0/24 dev vmbr0 proto kernel scope link src 192.168.29.12
192.168.104.0/24 dev next2 proto kernel scope link src 192.168.104.1

next2 is my sdn
 
Last edited:
On your router / host 192.168.104.1 must defined all network you want to use.

check on this router / host the routing table(s) please.
Oh so on my isp router you want me to add a ipv4 static routing?

Here are the options avaiable, keeping gateway same as my router host and i do not know what should be the metric.
 

Attachments

  • Screenshot 2024-07-18 153407.png
    Screenshot 2024-07-18 153407.png
    19.9 KB · Views: 3
Last edited:
On your router / host 192.168.104.1 must defined all network you want to use.

check on this router / host the routing table(s) please.
Added new routing on my isp router but it didnt work, still cant access cockpit.
 

Attachments

  • Screenshot 2024-07-18 153407.png
    Screenshot 2024-07-18 153407.png
    25 KB · Views: 3