看板FreeBSD
标 题Re: 二个网域要互相可以连线,怎麽做
发信站中山计中美丽之岛 (Sun Apr 18 17:52:38 2004)
转信站ptt!ctu-reader!ctu-peer!Spring!news.nctu!news.nsysu!Formosa
> ==> [email protected] (努力"春化"身体) 的文章中提到:
> ※ 引述《[email protected] (还是结束了!)》之铭言:
> > 想请教一下,如果我内部有二个 class c 的网域:
> > 192.168.0.xxx 和 192.168.1.xxx
> > gateway 分别是 192.168.0.254 以及 192.168.1.254 (同一台机器, 二个网路 port)
> > 不知道我怎麽让这二个网域可以互连呢?
> > 可以用 ipfilter 吗?
> > 谢谢
> VPN??????????
需要用到 VPN 吗?既然 192.168.{0,1}.254 已经是 gateway 了
,他就有能力让 192.168.1.0/24 与 192.168.0.0/24 互连,client
端 netmask 和 gateway 设对就可以了,当然那台 gateway 要启动
forwarding,不必额外设定啦。
--
* Origin: 中山大学-美丽之岛BBS * From: 140.127.179.242 [已通过认证]