【問題】Routing 的問題 on Linux (BFW)



贊助商連結


espresso
2006-11-09, 05:52 PM
小的有台 Router 是 BFW2.29 版,支援 Lan card 兩張,因此兩張LAN會互通。該如何限制呢?

實例:
WAN xxx.xxx.xxx.xxx (eth1)
LAN1 192.168.60.0 /24 (eth0)
LAN2 192.168.10.0 /24 (eth2)

Routing Table

Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.xxx.xxx.xxx * 255.255.255.248 U 0 0 0 eth1
192.168.10.0 * 255.255.255.0 U 0 0 0 eth2
192.168.60.0 * 255.255.255.0 U 0 0 0 eth0
default xxx.xxx.xxx.xxx 0.0.0.0 UG 0 0 0 eth1




煩請各位大大幫忙,感恩~~~ :circle:

贊助商連結


shadowpeople
2006-12-02, 11:00 AM
有嚐試過透過規則進行限制嗎?

espresso
2006-12-03, 10:53 PM
謝謝大大指導,透過規則來限制,果然成功了。