Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,912 Views

How to set multi vlan id use SR-IOV

I have use SR-IOV in my proxmox, and I was passthrough 2 virtual Function NIC card to my vm-pfsense

[code]

root@pve:~# lspci |grep Eth|grep I350

07:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

07:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

08:10.0 Ethernet controller: Intel Corporation I350 Ethernet Controller Virtual Function (rev 01)

08:10.1 Ethernet controller: Intel Corporation I350 Ethernet Controller Virtual Function (rev 01)

08:10.4 Ethernet controller: Intel Corporation I350 Ethernet Controller Virtual Function (rev 01)

08:10.5 Ethernet controller: Intel Corporation I350 Ethernet Controller Virtual Function (rev 01)

08:11.1 Ethernet controller: Intel Corporation I350 Ethernet Controller Virtual Function (rev 01)

[/code]

But one of ethernet port have to tag 2 vlan id

[code]

root@pve:~# ip link show eth11

6: eth11: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000

link/ether 0c:c4:7a:c3:9f:07 brd ff:ff:ff:ff:ff:ff

vf 0 MAC 7e:ba:b6:b5:ec:13, spoof checking on, link-state auto

vf 1 MAC 7e:ba:b6:b5:ec:14, spoof checking on, link-state auto

vf 2 MAC 7e:ba:b6:b5:ec:15, vlan 300, spoof checking on, link-state auto

[/code]

I was use Trunk port in DGS-1510 switch, and I can see 7e:ba:b6:b5:ec:15 this mac tag vlan id 300 on switch web gui.

Any in pfsense, I can see 7e:ba:b6:b5:ec:15 this interface status was up. so I set static ip 192.168.55.1 on this interface.

But DGS-1510 and pfsense cannot ping each other.

How can I solve this error?

0 Kudos
8 Replies
Highlighted
Community Manager
22 Views

Hi silimms,

 

 

Thank you for the post. I will investigate on this then update you if there is any finding.

 

 

rgds,

 

wb

 

0 Kudos
Highlighted
Community Manager
22 Views

Hi silimms,

 

 

Can you share the rules set on the interface of pfsense that is trying to ping the VF that is on VLAN 300?

 

 

Are you able to ping successfully If you are trying to ping VF without VLAN tag?

 

 

Please share the ethtool -i of your eth11.

 

 

 

Thanks,

 

wb

 

 

 

0 Kudos
Highlighted
Community Manager
22 Views

Hi silimms,

 

 

Please feel free to provide the information requested on my previous post.

 

 

 

Thanks,

 

wb

 

0 Kudos
Highlighted
Beginner
22 Views

Hi wb,

I have allow all to LAN

http://i.imgur.com/JMxqusZ.png http://i.imgur.com/JMxqusZ.png

And Set vlan 300 at pfsense too.

root@pve:~# ethtool -i eth11

driver: igb

version: 5.3.4.4

firmware-version: 1.63, 0x800009fa

bus-info: 0000:07:00.1

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: no

0 Kudos
Highlighted
Community Manager
22 Views

Hi slimms,

 

 

Thank you for the information. Are you able to ping successfully If you are trying to ping VF without VLAN tag?

 

 

Thanks,

 

wb

 

0 Kudos
Highlighted
Community Manager
22 Views

Hi Slimms,

 

 

SR-IOV should support VLAN. Please update me if you have tried the connection between VM_Pfsense and D-link switch without VlAN? If there is no issue, you can check the setting on your Pfsense or switch.

 

 

rgds,

 

wb

 

0 Kudos
Highlighted
Beginner
22 Views

Hi wb,

I've solved this problem,

I can't tag any vlan on proxmox and pfsense.

And I need to set hybrid on D-Link switch(cannot use trunk)

When I do this, it's working now.

thanks your help.

0 Kudos
Highlighted
Community Manager
22 Views

Hi Silimms,

 

 

Thank you for sharing the information, glad the issue is fixed.

 

 

rgds,

 

wb

 

0 Kudos