小弟是linux 新手...想合併 2條ISP 都不是固定的ip (cable modem)
小弟的linux 為 fedora 7 :
4 lan card 分為
eth0 (連接 isp )
eth1 (連接 isp )
eth2 (內聯網 / 或連線到 planet XRT 401c 家用router)
eth3 (內聯網/假若可以連線到router 就可以不用此card)
(eth0 和 eth1 是相同的晶片)
小弟想eth0 和 eth1 比例分擔的合併...從而建立一個穩定的 server
而且想連結家用的router 再分給其餘的電腦上網...(windows xp)
isp 是同一個gateway
請問各位高手可否教導一下小弟呢?
希望可以提供step 給小弟...
同時請問有沒有一些較好的webcam server是穩定的呢?
請問有沒有一些dns client 是免費的又可以support changeip.com 的 dns 呢?
thanks very much...thanks very much ....
小弟嘗試過以下的方法也是不行...不知是否有錯...希望高手指點一下:
test 1:
我看書..它只教了我以下的step:
ntsysv 開啟了 iptables
之後再係 /etc/rc.d/rc.loacl
加入
#####NAT Sever#####
echo "1"> /proc/sys/net/ipv4/ip_forward
modprobe ip_tables
modprobe ip_nat_ftp
modprobe ip_nat_irc
modprobe ip_conntrack
modprobe ip_conntrack_ftp
modprobe ip_conntrack_irc
ifconfig eth1:1 192.168.0.1 netmask 255.255.255.0 <----我要share 的card 係 eth 1 , 連線isp 的card 係 eth0 及 eth 2
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
test2:
是其他網站的網友教小弟的:
我入用CTRL + ALT + F1 , 入終端機 入 Root account
[
root@222.1XX.XXX.XXX]
之後是我打入下面的command ...
[root@real-server root]# modprobe bonding
[root@real-server root]# ip addr add 192.168.100.33/24 brd + dev bond0
[root@real-server root]# ip link set dev bond0 up
[root@real-server root]# ifenslave bond0 eth2 eth3
[root@real-server root]# modprobe bonding
[root@real-server root]# ip addr add 192.168.100.33/24 brd + dev bond0
[root@real-server root]# ip link set dev bond0 up
[root@real-server root]# ifenslave bond0 eth2 eth3master has no hw address assigned; getting one from slave!The interface eth2 is up, shutting it down it to enslave it.The interface eth3 is up, shutting it down it to enslave it.