LoveUnix's Archiver

grea 发表于 2009-3-23 08:24

AIX lpar with virtual Ethernet

How can I find VLAN ID's for the virtual Ethernet adapter on OS level?

Thanks!

luanmingujn 发表于 2009-3-23 15:33

I don't konw!

老农 发表于 2009-3-23 15:40

lsattr?

grea 发表于 2009-3-23 23:34

"lsattr" won't give you the VLAN ID.

Any AIX expert can shed any light? Thanks!

[quote]lsattr?
[size=2][color=#999999]老农 发表于 2009-3-23 15:40[/color] [url=http://www.loveunix.net/redirect.php?goto=findpost&pid=906765&ptid=97706][img]http://www.loveunix.net/images/common/back.gif[/img][/url][/size][/quote]

RWX 发表于 2009-3-24 08:19

[b] [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=907027&ptid=97706]4#[/url] [i]grea[/i] [/b]

entstat  -d entx|grep VLAN

grea 发表于 2009-3-24 21:55

[quote] 4# grea  

entstat  -d entx|grep VLAN
[size=2][color=#999999]RWX 发表于 2009-3-24 08:19[/color] [url=http://www.loveunix.net/redirect.php?goto=findpost&pid=907053&ptid=97706][img]http://www.loveunix.net/images/common/back.gif[/img][/url][/size][/quote]

Thank you very much!

RWX 发表于 2009-3-25 22:06

[quote]entstat  -d entx|grep PVID

是PVID,不是VLAN。。。。。
[size=2][color=#999999]jingsun 发表于 2009-3-25 06:52[/color] [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=907764&ptid=97706][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url][/size][/quote]

你自己试过么就在这里瞎说,
知道除了PVID还有个VID么?

RWX 发表于 2009-3-26 08:56

[quote]

LS好牛啊,口气这么冲。

不觉得这么说话让所有人包括你自己都不舒服吗?懒得理你,这个帖子俺不说话了。。
[size=2][color=#999999]jingsun 发表于 2009-3-26 07:12[/color] [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=908477&ptid=97706][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url][/size][/quote]

话不好听但意愿是好的,凭空臆测对人对己都没有好处
我说得对不对你找台机器试一下就知道了,entstat的输出里面有PVID这个关键字么?
即使有PVID,你grep PVID ,VID能显示出来么,知道一个虚拟网卡除了有一个Port VLAN ID (PVID)外还可以有多个VLAN ID (VID)么?

RWX 发表于 2009-3-26 10:46

[quote]# entstat -d ent3 | grep VLAN
Invalid VLAN ID Packets: 0
Invalid VLAN ID Packets: 0
# entstat -d ent3 | grep PVID
PVID:  1      VIDs:  None
PVID:  3      VIDs:  None

谦虚使人进步。。。。
[size=2][color=#999999]jingsun 发表于 2009-3-26 10:22[/color] [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=908646&ptid=97706][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url][/size][/quote]

看清楚楼主的问题你再较真,你的ent3是SEA(Shared ethernet adapter) 不是virtual ethernet adapter
lsdev -Cc adapter|grep ent 看一下

非常怀疑你entstat -d ent3|grep PVID输出的真实性,一个网卡只能有一个PVID,你却有2个,可以把完整输出贴一下么?

RWX 发表于 2009-3-26 11:58

[quote]说实话,你都不值得我较真。。。
[size=2][color=#999999]jingsun 发表于 2009-3-26 11:18[/color] [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=908709&ptid=97706][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url][/size][/quote]

呵呵,你也是得理不饶人啊
我上面说得都在真实环境里面验证过
硬件环境:Power5
操作系统:AIX5.3 TL09 AIX6.1TL01

在上述两个操作系统里面entstat -d entx输出只有如下行与VLAN相关
Port VLAN ID:     1
VLAN Tag IDs:  None
没有PVID出现

有环境的可以验证

RWX 发表于 2009-3-26 20:41

[b] [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=908769&ptid=97706]17#[/url] [i]jingsun[/i] [/b]

楼上可否把你的硬件环境和操作系统版本列一下?

五“宅”一生 发表于 2009-3-26 23:25

两位都挺有耐心啊。可怜LZ。:lol

RWX 发表于 2009-3-27 09:36

[quote] 17# jingsun  

楼上可否把你的硬件环境和操作系统版本列一下?
[size=2][color=#999999]RWX 发表于 2009-3-26 20:41[/color] [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=909149&ptid=97706][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url][/size][/quote]

呼叫17楼,呵呵,列出来让我也长长见识

jesus_2003 发表于 2009-3-28 00:19

这个问题也好吵起来呀 哈哈

viper1119 发表于 2010-9-1 14:39

俩人都对,只是操作系统版本不对。

咔叮枫情 发表于 2010-9-1 16:20

楼上挖坟了。。。。。09的贴子

Guluu 发表于 2010-9-4 18:09

那09的帖子我们还需要回答吗?

老农 发表于 2010-9-4 19:33

看你心情啊:lol

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.