小弟:
由於有兩條線路,一條是中華電信ADSL(ppp0),另外一條是東森cable modem(eth2),兩者都是浮動ip.想要將其合併使用(multipath)
小弟有先拜讀過
netman -
http://www.study-area.net/tips/multipath.htm以及
twu2 -
http://phorum.study-area.org/viewtopic.php?t=10085等兩篇文章.
Linux OS: RedHat EL AS3
先說明一下,小弟的網路配置:
eth0-->中華電信(Hinet)
IP:192.168.100.254/255.255.255.0
eth1-->內部網路
IP:192.168.1.254/255.255.255.0
eth2-->東森寬頻
(dhcp)
IP:210.85.102.43(這個是目前被分配到的ip)
GW:210.85.102.1
ppp0-->中華電信(Hinet)
(浮動)
IP:220.132.152.157(這個是目前被分配到的ip)
GW:61.217.32.254
曾照著netman大大的文件,指令一行一行的輸入,沒有看見任何的錯誤,
#ip rule add pref 20 from 210.85.102.43 table CABLE
#ip rule add pref 30 from 220.132.152.157 table ADSL
#ip route replace default via 210.85.102.1 dev eth2 table CABLE
#ip route replace default via 61.217.32.254 dev ppp0 table ADSL
#ip route replace default nexthop via 210.85.102.1 dev eth2 weight 2 nexthop via 61.217.32.254 dev ppp0 weight 1
#ip route show
61.217.32.254 dev ppp0 proto kernel scope link src 220.132.152.157
192.168.100.0/24 dev eth0 scope link
192.168.1.0/24 dev eth1 scope link
210.85.102.0/23 dev eth2 proto kernel scope link src 210.85.102.43
169.254.0.0/16 dev eth2 scope link
127.0.0.0/8 dev lo scope link
default
nexthop via 210.85.102.1 dev eth2 weight 2
nexthop via 61.217.32.254 dev ppp0 weight 1
#ip route flush cache
但在使用tcpdump -i any 查看封包分攤連線,卻感覺連線好像大部份都還是其中在ADSL上面.所以想要請問是否設定上修改的地方有錯誤呢?
再來就是想要請問一下,有關netman大大所提供的package-(multipath.tgz),小弟不知要如何修改,例如:在configs的檔案裏有關fixed_gw以及static_xxxxxx和static_xxxxx_order等內容,另外就是其他的設定檔是否也有需要修改的部份呢?
再請教一下,netman大大的DDNS的現在是否還可以提出申請呢?