Project

General

Profile

Actions

Bug #4103

closed

Xen xn NICs can't tag VLANs

Added by Grischa Zengel almost 7 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
-
Start date:
12/12/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:
amd64

Description

Interface xn0 is not listed on "Interfaces: VLAN: Edit" for using as parent interface.

On XEN interface xn0 didn't have hardware based tagging. But tagging is possible:

https://www.freebsd.org/cgi/man.cgi?query=vlan

Other Ethernet interfaces can run VLANs using software emulation in the vlan driver.

#ifconfig vlan12 create
#ifconfig vlan12 vlan 12 vlandev xn0
#ifconfig
xn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=3<RXCSUM,TXCSUM>
    ether 02:0a:32:c0:78:04
    inet6 fe80::a:32ff:fec0:7804%xn0 prefixlen 64 scopeid 0x5 
    inet 192.168.180.92 netmask 0xffffff00 broadcast 192.168.180.255 
    nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
    media: Ethernet manual
    status: active
vlan12: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1496
    ether 02:0a:32:c0:78:04
    inet 10.32.12.123 netmask 0xffffff00 broadcast 10.32.12.255 
    inet6 fe80::a:32ff:fec0:7804%vlan12 prefixlen 64 scopeid 0x7 
    nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
    media: Ethernet manual
    status: active
    vlan: 12 vlanpcp: 0 parent interface: xn0

#ping 10.32.12.1
PING 10.32.12.1 (10.32.12.1): 56 data bytes
64 bytes from 10.32.12.1: icmp_seq=0 ttl=64 time=0.469 ms
64 bytes from 10.32.12.1: icmp_seq=1 ttl=64 time=0.214 ms

#ssh 10.32.12.1
The authenticity of host '10.32.12.1 (10.32.12.1)' can't be established.
RSA key fingerprint is bd:35:80:67:4a:cb:a8:7c:cc:35:fa:4c:1f:e2:10:00.
No matching host key fingerprint found in DNS.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.32.12.1' (RSA) to the list of known hosts.
Actions

Also available in: Atom PDF