null的功能

[复制链接]
查看11 | 回复5 | 2005-4-21 01:01:53 | 显示全部楼层 |阅读模式
what is the effect of configuring a static route to 172.16.0.0 to the null 0 interface?
a:it result in all traffic for all subnets of 172.16.0.0 being dropped.
b:it can be used to fool bgp into believing that a route for 172.16.0.0 actually exits.
c.it will have no effect it the router does not have any of the subnets of 172.16.0.0
d.it is preferable to configure the aggregate-address command
回复

使用道具 举报

千问 | 2005-4-21 01:01:53 | 显示全部楼层
楼上那位,那B 为什么不行,能说明一下理由吗
回复

使用道具 举报

千问 | 2005-4-21 01:01:53 | 显示全部楼层
楼上那位,那A 为什么不行,能说明一下理由吗
回复

使用道具 举报

千问 | 2005-4-21 01:01:53 | 显示全部楼层
数据包被指向了NULL端口,对路由器而言就不是DROP了。路由器确实转发了该包
不过是到了该接口以后包就不见了。
回复

使用道具 举报

千问 | 2005-4-21 01:01:53 | 显示全部楼层
路由器判断陆由的时候,首先的原则是最长子网掩码,
这句静态路由指向的是172.16.0.0,如果,
也有这么一条路由,指向的是172.16.1.0 255.255.255.0,下一条是s0
那么,根据最长原理,172..16.1.0 的路由就会生效,
也就是说,到172.16.0.0的subnet还会工作,
a.it result in all traffic for all subnets of 172.16.0.0 being dropped
所以,a也就错了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行