做pcc时,不指定in-interface怎么就不通了
以前没指定in-interface时,做的pcc负载,能正常使用,最近突然发现不行了,非得指定in-interface才行,不然就ping不通外网,这是咋回事啊,ros接了一个lan口固定ip上网,另外一个lan口还接了pppoe的用户 :( 帮忙啊 要不还叫什么pcc,为什么你就要不指定 那是把lan口固定上网的和pppoe上网的分别加一次mark吗?对pppoe用户应该怎么选接口?直接选提供pppoe接入的lan口还是选pppoe-in1这个接口?pppoe-in1这个接口好像没有流量。
是这样做吗?
chain=prerouting action=mark-connection new-connection-mark=line1 passthrough=yes dst-address-type=!local in-interface=vlan10-e22 per-connection-classifier=both-addresses:2/0 /////vlan10-e22是固定ip上网的网卡接口
chain=prerouting action=mark-connection new-connection-mark=line1 passthrough=yes dst-address-type=!local in-interface=pppoe-vlan300-g2 per-connection-classifier=both-addresses:2/0 /////vlan10-e22是pppoe上网的网卡接口
chain=prerouting action=mark-routing new-routing-mark=gw1passthrough=yes connection-mark=line1
chain=prerouting action=mark-connection new-connection-mark=line2 passthrough=yes dst-address-type=!local in-interface=vlan10-e22 per-connection-classifier=both-addresses:2/1 /////vlan10-e22是固定ip上网的网卡接口
chain=prerouting action=mark-connection new-connection-mark=line2 passthrough=yes dst-address-type=!local in-interface=pppoe-vlan300-g2 per-connection-classifier=both-addresses:2/1 /////vlan10-e22是pppoe上网的网卡接口
chain=prerouting action=mark-routing new-routing-mark=gw1passthrough=yes connection-mark=line2 你那来的这个做法 那我应该怎么做啊?要对lan口固定ip上网和pppoe的上网进行负载均衡?指教下啊,谢谢
页:
[1]