有人用过VLAN 的map 功能么

8 views
Skip to first unread message

Bendney Yu

unread,
Aug 11, 2015, 6:30:41 AM8/11/15
to fuji...@googlegroups.com
现在我有一个需求,要对 vconfig set_egress_map  的效果做测试,有没有简单的方法推荐的

--
Best Regards

Bendney Yu

muxueqz(张明源)

unread,
Aug 11, 2015, 10:27:37 PM8/11/15
to fuji...@googlegroups.com
没用过……

--
您收到此邮件是因为您订阅了Google网上论坛上的“福建Linux用户组”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到fujianlug+...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout



--

Bendney Yu

unread,
Aug 12, 2015, 3:02:39 AM8/12/15
to fuji...@googlegroups.com
有人知道tcpdump 是否可以dump Vlan层的信息?

我做了个测试走的VLAN线路,然后在VLAN 的interface 上dump 包,结果在里面没有发现VLAN层的东西。
Best Regards

Bendney Yu

Chunlin Zhang

unread,
Aug 12, 2015, 5:00:44 AM8/12/15
to fuji...@googlegroups.com
wireshark会不会更好用些?

Scan

unread,
Aug 12, 2015, 5:09:56 AM8/12/15
to fuji...@googlegroups.com
vlan挂哪里,直接抓对应物理设备的包就肯定有了
-- 

send by Scan
connect me with allen1...@gmail.com

Bendney Yu

unread,
Aug 12, 2015, 5:44:43 AM8/12/15
to fuji...@googlegroups.com
这个问题刚解决,dump 的时候不能用VLAN 的interface,必须用 物理interface 加VLAN ID 的方法。

问题又来了,我setsockopt 把 sk_priority 设置进去,为毛就是不成功。

Bendney Yu

unread,
Aug 12, 2015, 5:45:59 AM8/12/15
to fuji...@googlegroups.com
@Scan 早点回答就省的我放了这么久的狗
Reply all
Reply to author
Forward
0 new messages