PPPOE 取得1固定IP,7浮動IP,並設定某些 PC 走某個實體IP
發表於 : 2012-01-02 19:04:06
1.多重撥號
PPP -> PPPoE Client 設
HiNet fix 99999999@ip.hinet.net Dial Demand Add Default Router
HiNet 1 99999999@hinet.net Add Default Router
HiNet 2 99999999@hinet.net Add Default Router
HiNet 3 99999999@hinet.net Add Default Router
HiNet 4 99999999@hinet.net Add Default Router
HiNet 5 99999999@hinet.net Add Default Router
HiNet 6 99999999@hinet.net Add Default Router
HiNet 7 99999999@hinet.net Add Default Router
2.起動撥號
InterFace 出現 R
3.設定群組
Firewall -> Mangle
chain=prerouting Src Address=192.168.1.1-192.168.1.99 Action=mark routing New Routing Mark=net1
chain=prerouting Src Address=192.168.1.100-192.168.1.199 Action=mark routing New Routing Mark=net2
4.設定路由
Route
Dst Address=0.0.0.0/0 Gateway=Hinet Fix RoutingMark=net1
Dst Address=0.0.0.0/0 Gateway=Hinet 1 RoutingMark=net2
PPP -> PPPoE Client 設
HiNet fix 99999999@ip.hinet.net Dial Demand Add Default Router
HiNet 1 99999999@hinet.net Add Default Router
HiNet 2 99999999@hinet.net Add Default Router
HiNet 3 99999999@hinet.net Add Default Router
HiNet 4 99999999@hinet.net Add Default Router
HiNet 5 99999999@hinet.net Add Default Router
HiNet 6 99999999@hinet.net Add Default Router
HiNet 7 99999999@hinet.net Add Default Router
2.起動撥號
InterFace 出現 R
3.設定群組
Firewall -> Mangle
chain=prerouting Src Address=192.168.1.1-192.168.1.99 Action=mark routing New Routing Mark=net1
chain=prerouting Src Address=192.168.1.100-192.168.1.199 Action=mark routing New Routing Mark=net2
4.設定路由
Route
Dst Address=0.0.0.0/0 Gateway=Hinet Fix RoutingMark=net1
Dst Address=0.0.0.0/0 Gateway=Hinet 1 RoutingMark=net2