作者codex (all or nothing)
看板Network
标题Re: [问题] netscreen 5-GT 防火墙设定
时间Thu Mar 31 03:15:02 2005
※ 引述《yckuo (爱吃鬼)》之铭言:
: 关於 netscreen 5GT防火墙设定有几点想问
: 目前policy设定 为全部开放 any => any = permit
: 想改为针对各个 内部ip做设定
: 其中在输入ip的地方 111.222.333.444/ ???
: 请问斜线後面是要输入什麽呢???
: 那又代表什麽意思呢??
: 谢谢指教
那是subnet的另一种表示法,
for example,
111.222.111.222/255.255.255.0
255 = 11111111
8个1,
所以,
255.255.255.255 = 32
255.255.255.0 = 24
255.255.0.0 = 16
所以, 255.255.254.0 = 23
111.222.111.222/255.255.255.0 =
111.222.111.222/24
with regards,
--
Self-Pity
I never saw a wild thing
sorry for itself.
A small bird will drop frozen dead from a bough
without ever having felt sorry for itself. ~ D. H. Lawrence
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.222.84.159