由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
EmergingNetworking版 - 谁能给解释一下loopback address么?
相关主题
在一个device里面同时实现router和switch有什么好处?switch vs hub
哈哈哈,bgp established了。多谢大家!facebook 面试攻略
A question about routers and BGPintern面试,求经验
问个MPLS lab的问题what is the bad on redistribute BGP into IGP?
这个BGP是不是有问题?ospf path 选择
这里要不要multihop一下啊?recruiter准备的面试问题。
问一个router ID的问题请教VLAN
发一个J家的电面吧。问个7600 H-VPLS的问题
相关话题的讨论汇总
话题: loopback话题: svi话题: ip话题: plane话题: address
进入EmergingNetworking版参与讨论
1 (共1页)
s*******8
发帖数: 12734
1
这个我一直不太理解。
这个是一个软件模拟的interface么?虚拟的?
如果是虚拟的,那么对方的router怎么知道你的loopback address呢?比如bgp里面
network xxxx remote-as x
z**r
发帖数: 17771
2
你这个包含两个问题,第一,bgp如何通过loopback建立session,第二什么是loopback。
对于第一个,bgp session需要两方面都能通过tcp 179连接,你自己得advertise你的
loopback,对方才能连接
第二个,loopback就是一个virtual interface

【在 s*******8 的大作中提到】
: 这个我一直不太理解。
: 这个是一个软件模拟的interface么?虚拟的?
: 如果是虚拟的,那么对方的router怎么知道你的loopback address呢?比如bgp里面
: network xxxx remote-as x

s*******8
发帖数: 12734
3
再问一下,有packet send 过去么?如果不send packet,怎么知道呢?

loopback。

【在 z**r 的大作中提到】
: 你这个包含两个问题,第一,bgp如何通过loopback建立session,第二什么是loopback。
: 对于第一个,bgp session需要两方面都能通过tcp 179连接,你自己得advertise你的
: loopback,对方才能连接
: 第二个,loopback就是一个virtual interface

z**r
发帖数: 17771
4
没明白你的问题!!!

【在 s*******8 的大作中提到】
: 再问一下,有packet send 过去么?如果不send packet,怎么知道呢?
:
: loopback。

s*******8
发帖数: 12734
5
就只怎么知道那个loopback的。是不是需要TCP一样,发个packet,然后等ACK?

【在 z**r 的大作中提到】
: 没明白你的问题!!!
t*********e
发帖数: 1136
6
这和其它static IP 的路由设置一样吧,和loopback 没有关系。直接定死了。
另外也不一定非得用 loopback。没有设 loopback,BGP自动对照相应的 vlan IP。一
样是直接用static route定死了。

【在 s*******8 的大作中提到】
: 就只怎么知道那个loopback的。是不是需要TCP一样,发个packet,然后等ACK?
s*****g
发帖数: 1055
7
Routers' forwarding plane is programmed in such a way that any packets
destined to loopback will be sent to CPU for processing.

【在 s*******8 的大作中提到】
: 就只怎么知道那个loopback的。是不是需要TCP一样,发个packet,然后等ACK?
t*********e
发帖数: 1136
8
Any packet the forwarding plane cannot forward is punted to the control
plane. Forwarding plane does not have the concept of "loopback" address or
interface.
If you don't specify loopback address, control plane kernel uses SVI IP
addresses to filter traffic coming to the BGP port. But SVI is only
associated with the ports that are assigned to the same network. loopback IP
is just a notation to tell kernel to use this "universal" IP to match
traffic coming from all L2 ports, regardless of what L3 network the ports
are associated with.

【在 s*****g 的大作中提到】
: Routers' forwarding plane is programmed in such a way that any packets
: destined to loopback will be sent to CPU for processing.

s*****g
发帖数: 1055
9
What is SVI?

IP

【在 t*********e 的大作中提到】
: Any packet the forwarding plane cannot forward is punted to the control
: plane. Forwarding plane does not have the concept of "loopback" address or
: interface.
: If you don't specify loopback address, control plane kernel uses SVI IP
: addresses to filter traffic coming to the BGP port. But SVI is only
: associated with the ports that are assigned to the same network. loopback IP
: is just a notation to tell kernel to use this "universal" IP to match
: traffic coming from all L2 ports, regardless of what L3 network the ports
: are associated with.

t*********e
发帖数: 1136
10
It's the Cisco thing. I think it is some logical interface with an IP/mask to indicate a network. Each physical port can be associated with a SVI. Basically it is a way to tell control plane kernel that if dest MAC matches the assigned ports, and dest IP matches the SVI, dispatch the packet to control plane daemons, based on port numbers, that are listening on the IP address.

【在 s*****g 的大作中提到】
: What is SVI?
:
: IP

c*****i
发帖数: 631
11
switch virtual interface. cisco switch在不同vlan间switch packet用的。比如你
有2个vlan,vlan里面的pc的default gateway就设为switch对应那个vlan的svi
address,这样vlan里面的pc就可以send packet出去了.

to indicate a network. Each physical port can be associated with a SVI.
Basically it is a way to tell control plane kernel that if dest MAC matches
the assigned ports, and dest IP matches the SVI, dispatch the packet to
control plane daemons, based on port numbers, that are listening on the IP
address.

【在 t*********e 的大作中提到】
: It's the Cisco thing. I think it is some logical interface with an IP/mask to indicate a network. Each physical port can be associated with a SVI. Basically it is a way to tell control plane kernel that if dest MAC matches the assigned ports, and dest IP matches the SVI, dispatch the packet to control plane daemons, based on port numbers, that are listening on the IP address.
z**r
发帖数: 17771
12
on routers (besides the routers which have switch blades), there is no SVI

to indicate a network. Each physical port can be associated with a SVI.
Basically it is a way to tell control plane kernel that if dest MAC matches
the assigned ports, and des

【在 t*********e 的大作中提到】
: It's the Cisco thing. I think it is some logical interface with an IP/mask to indicate a network. Each physical port can be associated with a SVI. Basically it is a way to tell control plane kernel that if dest MAC matches the assigned ports, and dest IP matches the SVI, dispatch the packet to control plane daemons, based on port numbers, that are listening on the IP address.
1 (共1页)
进入EmergingNetworking版参与讨论
相关主题
问个7600 H-VPLS的问题这个BGP是不是有问题?
L2TP协议这里要不要multihop一下啊?
J家2面问一个router ID的问题
求教VLAN tagging问题发一个J家的电面吧。
在一个device里面同时实现router和switch有什么好处?switch vs hub
哈哈哈,bgp established了。多谢大家!facebook 面试攻略
A question about routers and BGPintern面试,求经验
问个MPLS lab的问题what is the bad on redistribute BGP into IGP?
相关话题的讨论汇总
话题: loopback话题: svi话题: ip话题: plane话题: address