Promox VM no internet access

Nadir

New Member
Jun 26, 2019
17
0
1
28
Hi there
I have a PROMOX server with Web Interface access.
When i create VM, My vm does not get access to internet.
Pingning to google results host not found error

I have searched over internet but no luck.
I dont have physical server. i can access server from Web interface only.
 
did you set up a bridge for your vm?
 
Yes
upload_2019-6-28_17-53-47.png

There is Linux Bridge vmbro in Node Network with PORT to ens9, and in VM, vmbro0 is selected as device.
Ip address, Subnetmask, CIDR, and gateway are assigned to Linux Bridge and ens9 has nothing assigned
 
can you check your /etc/network/interfaces, and also make sure you've configured everything correctly?

can you also check your vm config if the bridge is set correctly? (`qm config VMID` or `pct config CTID` if container)
 
root@000........:~# qm config 105
balloon: 4096
bootdisk: sata0
cores: 1
ide2: local:iso/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO,media=cdrom
memory: 4096
name: nadira
net0: virtio=C6:74:16:AD:2D:15,bridge=vmbr0,firewall=1
sata0: local:105/vm-105-disk-0.qcow2,size=32G
smbios1: uuid=9fb1ac.....................
sockets: 1
vmgenid: b9cb5a63-........................

I have no access to interfaces from shell in web interface. my hosts file is
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
173.208.XXX.X2 0002c.......

And "ip addr show" tells me this

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp9s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 04:7d:7b:ea:76:26 brd ff:ff:ff:ff:ff:ff
3: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
link/ether 00:02:c9:b9:96:14 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:02:c9:b9:96:14 brd ff:ff:ff:ff:ff:ff
inet 173.208.145.82/29 brd 173.208.145.87 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::202:c9ff:feb9:9614/64 scope link
valid_lft forever preferred_lft forever
5: tap106i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr106i0 state UNKNOWN group default qlen 1000
link/ether fa:37:9d:52:63:8d brd ff:ff:ff:ff:ff:ff
6: fwbr106i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 22:74:c8:a1:87:44 brd ff:ff:ff:ff:ff:ff
7: fwpr106p0@fwln106i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
link/ether 26:d5:9e:e9:c0:d1 brd ff:ff:ff:ff:ff:ff
8: fwln106i0@fwpr106p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr106i0 state UP group default qlen 1000
link/ether 22:74:c8:a1:87:44 brd ff:ff:ff:ff:ff:ff
9: tap103i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr103i0 state UNKNOWN group default qlen 1000
link/ether 8a:55:e1:4c:4a:ec brd ff:ff:ff:ff:ff:ff
10: fwbr103i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ca:95:5a:21:33:9f brd ff:ff:ff:ff:ff:ff
11: fwpr103p0@fwln103i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
link/ether 96:c1:9a:84:e8:bc brd ff:ff:ff:ff:ff:ff
12: fwln103i0@fwpr103p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr103i0 state UP group default qlen 1000
link/ether ca:95:5a:21:33:9f brd ff:ff:ff:ff:ff:ff

I am not able to understand this because i am windows user since my childhood.
 
root@0002c9b99614:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp9s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 04:7d:7b:ea:76:26 brd ff:ff:ff:ff:ff:ff
3: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
link/ether 00:02:c9:b9:96:14 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:02:c9:b9:96:14 brd ff:ff:ff:ff:ff:ff
inet 173.208.145.82/29 brd 173.208.145.87 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::202:c9ff:feb9:9614/64 scope link
valid_lft forever preferred_lft forever
5: tap106i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr106i0 state UNKNOWN group default qlen 1000
link/ether fa:37:9d:52:63:8d brd ff:ff:ff:ff:ff:ff
6: fwbr106i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 22:74:c8:a1:87:44 brd ff:ff:ff:ff:ff:ff
7: fwpr106p0@fwln106i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
link/ether 26:d5:9e:e9:c0:d1 brd ff:ff:ff:ff:ff:ff
8: fwln106i0@fwpr106p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr106i0 state UP group default qlen 1000
link/ether 22:74:c8:a1:87:44 brd ff:ff:ff:ff:ff:ff
9: tap103i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr103i0 state UNKNOWN group default qlen 1000
link/ether 8a:55:e1:4c:4a:ec brd ff:ff:ff:ff:ff:ff
10: fwbr103i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ca:95:5a:21:33:9f brd ff:ff:ff:ff:ff:ff
11: fwpr103p0@fwln103i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
link/ether 96:c1:9a:84:e8:bc brd ff:ff:ff:ff:ff:ff
12: fwln103i0@fwpr103p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr103i0 state UP group default qlen 1000
link/ether ca:95:5a:21:33:9f brd ff:ff:ff:ff:ff:ff
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!