由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
EmergingNetworking版 - router 也能弄trunk么?不太明白啊。
相关主题
是不是这个意思?spidermonkey, L3 vlan 可以换名字到底好在哪里?
WAN interface弄个dot1Q有什么意思啊?switch没有这个功能么?
a question for tony, juniper ex4200 virtual chassis求教VLAN tagging问题
问个7600 H-VPLS的问题问一个ASA的问题。
fibre接进去,WAN不起来一般要查些什么呢?nexus 5596 ipv6 DAD ?
对不起大家,再问一个配置。Sun releases N1400V switch, quite interesting
今天有人跟我讲,policy map apply to router和switch是不一样的。'virtualization' hype
ASA, IBM Blade Issue给大家一个好玩的,呵呵。
相关话题的讨论汇总
话题: ip话题: vlan话题: dot1q话题: trunk
进入EmergingNetworking版参与讨论
1 (共1页)
x*********n
发帖数: 28013
1
看配置。
interface FastEthernet0/0.1
description *** Data VLAN ***
encapsulation dot1Q 1 native
ip address 198.233.36.65 255.255.255.224 secondary
ip address 192.168.25.1 255.255.255.0
ip nat inside
ip virtual-reassembly
no ip route-cache
!
interface FastEthernet0/0.2
description *** Voice VLAN ***
encapsulation dot1Q 2
ip address 192.168.32.1 255.255.255.0
ip mtu 1420
ip nat inside
ip virtual-reassembly
no ip route-cache
ip tcp adjust-mss 1380
!
interface FastEthernet0/0.3
description *** External Device VLAN ***
encapsulation dot1Q 3
ip address 192.168.158.1 255.255.255.0
ip mtu 1420
ip nat inside
ip virtual-reassembly
no ip route-cache
ip tcp adjust-mss 1380
shutdown
我的问题是,为啥有encapsulation dot1Q 1 native出现。可以理解1个circuit需要
tag一下才能区分traffic,但是802.1Q不是应该用在trunk,而trunk应该是switch和
switch之间的么?为啥router也行?
多谢指教。
s*****g
发帖数: 1055
2
802.1q in Cisco's term is a trunk, it can be configured on a router or a
switch, on IOS router it is called sub-interface, on IOS switch it can
either be configured as sub-interfaces or VLANs. Each trunk has to have a
native VLAN which is not tagged, in your case the native VLAN is 1, you can
move interface FastEthernet0/0.1's configuration to physical interface F0/0
to have the same functionality.
x*********n
发帖数: 28013
3
多谢弯曲大侠啊。哈哈。原来是这样。

can
0

【在 s*****g 的大作中提到】
: 802.1q in Cisco's term is a trunk, it can be configured on a router or a
: switch, on IOS router it is called sub-interface, on IOS switch it can
: either be configured as sub-interfaces or VLANs. Each trunk has to have a
: native VLAN which is not tagged, in your case the native VLAN is 1, you can
: move interface FastEthernet0/0.1's configuration to physical interface F0/0
: to have the same functionality.

1 (共1页)
进入EmergingNetworking版参与讨论
相关主题
给大家一个好玩的,呵呵。fibre接进去,WAN不起来一般要查些什么呢?
发一个NAT的配置,能帮我解释一下么?对不起大家,再问一个配置。
问一个NAT改变traffic的问题。今天有人跟我讲,policy map apply to router和switch是不一样的。
现在virtulization似乎很火啊ASA, IBM Blade Issue
是不是这个意思?spidermonkey, L3 vlan 可以换名字到底好在哪里?
WAN interface弄个dot1Q有什么意思啊?switch没有这个功能么?
a question for tony, juniper ex4200 virtual chassis求教VLAN tagging问题
问个7600 H-VPLS的问题问一个ASA的问题。
相关话题的讨论汇总
话题: ip话题: vlan话题: dot1q话题: trunk