Setting up networking for ISCSI VLAN

odesport

New Member
Jul 8, 2013
27
0
1
Hi,
I've installed Proxmox V4.4 on a Dell blade serveur. I've managed to setup vmbr0 with bonding and VLAN :

auto lo
iface lo inet loopback

auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode 1

auto bond0.49
iface bond0.49 inet manual
vlan_raw_device bond0

auto vmbr0
iface vmbr0 inet static
address 172.20.0.6
netmask 255.255.255.0
gateway 172.20.0.1
bridge_ports bond0.49
bridge_stp off
bridge_fd 0

But my simple VLAN for ISCSI doesn't see any host on the network :

auto eth2
iface eth2 inet manual
post-up /sbin/ifconfig eth2 mtu 9216

auto eth2.96
iface eth2.96 inet static
vlan_raw_device eth2
address 192.168.20.6
netmask 255.255.255.0
post-up /sbin/ifconfig eth2.96 mtu 9216

ifconfig shows :

eth2 Link encap:Ethernet HWaddr e0:db:55:24:5f:64
inet6 addr: fe80::e2db:55ff:fe24:5f64/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9216 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:47 Memory:d3000000-d37fffff

eth2.96 Link encap:Ethernet HWaddr e0:db:55:24:5f:64
inet addr:192.168.20.6 Bcast:192.168.20.255 Mask:255.255.255.0
inet6 addr: fe80::e2db:55ff:fe24:5f64/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9216 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2758 (2.6 KiB)

It worked perfectly with Proxmox3. What should I do in Proxmox 4 ?

Thanks.
 
vlan_raw_device is not used anymore.

Rewrite to new syntax:
auto lo
iface lo inet loopback

auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode 1

auto vmbr0
iface vmbr0 inet static
address 172.20.0.6
netmask 255.255.255.0
gateway 172.20.0.1
bridge_ports bond0.49
bridge_stp off
bridge_fd 0

auto eth2
iface eth2 inet manual
post-up /sbin/ifconfig eth2 mtu 9216

auto vmbr96
iface vmbr96 inet static
address 192.168.20.6
netmask 255.255.255.0
bridge_ports eth2.96
mtu 9216
 

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!