x*********n 发帖数: 28013 | 1 interface FastEthernet0/0
ip address 172.26.50.1 255.255.255.0
ip helper-address 172.26.1.50
speed 10
full-duplex
service-policy output Voip
!
interface FastEthernet0/0.2
encapsulation dot1Q 51
ip address 172.26.51.1 255.255.255.0
ip helper-address 172.26.1.50
fa0/0这个物理接口,然后虚拟了一个fa0/0.2,出去的line就是trunk了,这个trunk上
的ip是172.26.1.50,50.1和51.1这2个ip是相当于identify internal以后traffic是从
哪里来的.
这个解释对么?我猜的。不好意思问。 |
s******v 发帖数: 4495 | 2 理解的不对,trunk是L2,ip是L3,你查一下dot1q encap, l2 proto# is different
from ip, 在l2加了tag,就是vlan#。
【在 x*********n 的大作中提到】 : interface FastEthernet0/0 : ip address 172.26.50.1 255.255.255.0 : ip helper-address 172.26.1.50 : speed 10 : full-duplex : service-policy output Voip : ! : interface FastEthernet0/0.2 : encapsulation dot1Q 51 : ip address 172.26.51.1 255.255.255.0
|
x*********n 发帖数: 28013 | 3 哦。多谢。
【在 s******v 的大作中提到】 : 理解的不对,trunk是L2,ip是L3,你查一下dot1q encap, l2 proto# is different : from ip, 在l2加了tag,就是vlan#。
|
a***n 发帖数: 262 | 4 This is routed subinterfaces
native routed interface
int fa0/0
ip address 172.26.50.1 255.255.255.0
Traffic on this interface is untagged or native VLAN. This is like
int fa0/0
ip address 172.26.50.1 255.255.255.0
no switchport
on multi layer switches.
interface FastEthernet0/0.2
encapsulation dot1Q 51
ip address 172.26.51.1 255.255.255.0
This traffic is tagged with vlan id 51. This set up is the same thing of int
vlan 51 on multi layer switches.
ASA is similar to a router
int fa0/0
ip address 1.1.1.1 255.255.255.0
Connected switch port needs to be access port or dot1q trunked but native
VLAN for this subnet
int fa0/0.200
vlan 200
ip address 2.2.2.2 255.255.255.0
Connected switch port needs to be dot1q trunk port and vlan 200 tagged for
this subnet
If you want to understand more, compare them with BVI on router and FWSM :-
)
【在 x*********n 的大作中提到】 : interface FastEthernet0/0 : ip address 172.26.50.1 255.255.255.0 : ip helper-address 172.26.1.50 : speed 10 : full-duplex : service-policy output Voip : ! : interface FastEthernet0/0.2 : encapsulation dot1Q 51 : ip address 172.26.51.1 255.255.255.0
|