VLAN help needed

Sepherosa Ziehau sepherosa at gmail.com
Fri Feb 23 20:30:27 PST 2007


On 2/24/07, Gergo Szakal <bastyaelvtars at gmail.com> wrote:
Questions:
- How do I give my cards a VLAN ID (same for both cards)?
ifconfig iface0 up
ifconfig vlan0 create
ifconfig vlan0 vlan your_tag vlandev iface0
# assign inet and netmask to vlan0
- How do I make sure that the VLAN tagged packets can go through? If the bridge's cards aren't assigned to VLANs, these packets get dropped.
If vlan tag mismatches for vlan packets, these vlan packets will be
dropped, but if you are not using hardware vlan tagging, you can grab
the to-be-dropped vlan packets using tcpdump.
Best Regards,
sephe
--
Live Free or Die




More information about the Users mailing list