On 2017-07-07, Per-Olov Sjöholm <p...@incedo.org> wrote:
> How would I continue with the config I have and expand it to take the
> tagged TV VLAN 845 they soon will add incoming to my em3 and bridge that
> VLAN tagged TV traffic out on let say em2. The docs aren't that clear
> to me. The TV traffic VLAN has no IP I can set. I just want to filter
> the TV VLAN out incoming on em3 and send it to em2. How would I add a
> VLAN interface to a parent em* interface and se no IP on it? After that
> I assume I can just create a bridge between that VLAN interface and em2.
> Or is this a bad idea?

To take the incoming traffic:

# cat << EOF >> /etc/hostname.vlan845
vnetid 845 parent em3
## (or if it's an older installation, 'vlan 845 vlandev em3')
up
EOF

To feed outgoing to the tv, it depends if you want it untagged to the tv
(in which case, bridge vlan845 to em2 directly), or tagged, in which case
you can do something like this:

# cat << EOF >> /etc/hostname.vlan8450
vnetid 845 parent em2
up
EOF

and in that case, bridge vlan845 to vlan8450. (You can use whatever
interface names you like, they don't need to match up with the actual
tag number, the key point is that for this you have two differently
named vlan interfaces using the same tag number).


Reply via email to