Hi All,
I am using version 5.0-23 and have a question on proxmox bridge setup. I added a new network card to setup a new bridge. the card shows up fine in 'lspci' output:
02:00.0 Ethernet controller: Broadcom Limited NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
'lsmod' shows that card is using the 'bnx2' driver, and below is the 'ip link' output:
root@proxmox-ve-1:/etc/network# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr1 state UP mode DEFAULT group default qlen 1000
link/ether 00:10:18:48:8d:b4 brd ff:ff:ff:ff:ff:ff
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 00:24:e8:36:ad:95 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:24:e8:36:ad:95 brd ff:ff:ff:ff:ff:ff
5: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:10:18:48:8d:b4 brd ff:ff:ff:ff:ff:ff
10: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 92:b0:50:c8:34:29 brd ff:ff:ff:ff:ff:ff
I added a VM bridge called 'vmbr1' , did not assign any IP addresses to it, see the config below for 'vmbr1':
auto lo
iface lo inet loopback
iface enp0s25 inet manual
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 128.xx.xx.xx
netmask 255.255.255.0
gateway 128.xx.xx.1
broadcast 128.xx.xx.255
bridge_ports enp0s25
bridge_stp on
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports enp2s0
bridge_stp off
bridge_fd 0
#Broadcom NIC
My management interface is 'vmbr0', which is separate, I am not using that for VM connections at all.
This is a new NIC, which is attached to a separate port, works with a laptop for getting DHCP address on the laptop. But when I kick off a VM build (centOS 7, in this case), my build does not get a DHCP address from this 'vmbr1' connection.
Below is the VM config file :
root@proxmox-ve-1:/etc/pve/qemu-server# cat 100.conf
balloon: 256
bootdisk: scsi0
cores: 1
ide2: local:iso/CentOS-6.9-x86_64-netinstall.iso,media=cdrom,size=230M
memory: 512
name: test-1
net0: e1000=D6:01:77:69:43:64,bridge=vmbr1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-1,size=4G
scsihw: virtio-scsi-pci
smbios1: uuid=917cff14-856d-472d-a7eb-deb28a20b443
sockets:
I have tried 'virtIO' , 'vmxnet' -- both drivers, no luck. I need this part working before I can move on, as I have image systems over PXE.
any help is very much appreciated! Thanks!
I am using version 5.0-23 and have a question on proxmox bridge setup. I added a new network card to setup a new bridge. the card shows up fine in 'lspci' output:
02:00.0 Ethernet controller: Broadcom Limited NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
'lsmod' shows that card is using the 'bnx2' driver, and below is the 'ip link' output:
root@proxmox-ve-1:/etc/network# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr1 state UP mode DEFAULT group default qlen 1000
link/ether 00:10:18:48:8d:b4 brd ff:ff:ff:ff:ff:ff
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 00:24:e8:36:ad:95 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:24:e8:36:ad:95 brd ff:ff:ff:ff:ff:ff
5: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:10:18:48:8d:b4 brd ff:ff:ff:ff:ff:ff
10: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 92:b0:50:c8:34:29 brd ff:ff:ff:ff:ff:ff
I added a VM bridge called 'vmbr1' , did not assign any IP addresses to it, see the config below for 'vmbr1':
auto lo
iface lo inet loopback
iface enp0s25 inet manual
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 128.xx.xx.xx
netmask 255.255.255.0
gateway 128.xx.xx.1
broadcast 128.xx.xx.255
bridge_ports enp0s25
bridge_stp on
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports enp2s0
bridge_stp off
bridge_fd 0
#Broadcom NIC
My management interface is 'vmbr0', which is separate, I am not using that for VM connections at all.
This is a new NIC, which is attached to a separate port, works with a laptop for getting DHCP address on the laptop. But when I kick off a VM build (centOS 7, in this case), my build does not get a DHCP address from this 'vmbr1' connection.
Below is the VM config file :
root@proxmox-ve-1:/etc/pve/qemu-server# cat 100.conf
balloon: 256
bootdisk: scsi0
cores: 1
ide2: local:iso/CentOS-6.9-x86_64-netinstall.iso,media=cdrom,size=230M
memory: 512
name: test-1
net0: e1000=D6:01:77:69:43:64,bridge=vmbr1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-1,size=4G
scsihw: virtio-scsi-pci
smbios1: uuid=917cff14-856d-472d-a7eb-deb28a20b443
sockets:
I have tried 'virtIO' , 'vmxnet' -- both drivers, no luck. I need this part working before I can move on, as I have image systems over PXE.
any help is very much appreciated! Thanks!