Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

1 Cable -> Spliter -> 2 modems

My situation:
1 Cable -> Spliter -> 2 modems
eth0(1st modem): inet addr:xxx.xxx.xxx.194  Bcast:xxx.xxx.xxx.207  Mask:255.55.255.240
eth1(2nd modem): inet addr:yyy.yyy.yyy.70  Bcast:yyy.yyy.yyy.255  Mask:255.255.255.0
gw1: xxx.xxx.xxx.193
gw2: yyy.yyy.yyy.1

The problem is that i want to split the traffic on the eth2 (LAN) via both interfaces, but the packets sent from eth2 to eth1 are going further to eth0 (same damn line).

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
yyy.yyy.yyy.70     yyy.yyy.yyy.1      255.255.255.255 UGH   0      0        0 eth1
xxx.xxx.xxx.192  0.0.0.0         255.255.255.240 U     0      0        0 eth0
192.168.zzz.0     0.0.0.0         255.255.255.0   U     0      0        0 eth2
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         xxx.xxx.xxx.193  0.0.0.0         UG    1      0        0 eth0

yyy.yyy.yyy.70 is declared on host and not on net after some hours of trying (I cannot put the server offline).
I'm trying for a while to set it up but my eth1 doesn't want to throw the packets directly his modem, uses eth0.

Please help me, i have a while since i could use both lines.

Thanks
0
asks_me
Asked:
asks_me
1 Solution
 
brabardCommented:
How to split connections - randomly or by some matches ?
In case of first , try this - http://www.ssi.bg/~ja/nano.txt - it is working when the both lines are up , but sometimes crashes when is trying to redirect packets other route ... But there is a lot of things could be done to make it better .

Regards
Brabard
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now