[LARTC] LAN with 2 external interfaces

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Could anyone tell me howto devide the outgoing internet taffic on two 
external inerfaces? The purpose is to avoid IRC-clones. I've got a firewall 
with 3 interfaces:
                           com21 cable modem
                                       |
                                  10 Mb hub
                    /                                        \

                   -----   firewall/router ------
                              2 ext ip / 2 int ip

              eth1                                           eth2
           external ip1                                external ip2
                |                                                 | 
              eth0                                           eth0:0
          internal iface                                internal iface
        192.168..1.1/24                             192.168.2.1/24
          192.168.1.0        ---------        192.168.2.0
                                           |                      
                                  switch 10/100         
                |                          |                        | 
            eth0                      eth0                   eth0
           box1                     box2                   box3 
      192.168.1.2            192.168.1.3          192.168.2.2
           clienta                    dns                    clientb
                                       squid	
                                        http 
                                         etc

My problem is routing all trafic from internal network 192.168.1.0 via eth1 
and all trafic from internal network 192.168.2.0 via eth2 .

Thanks a lot !!

knarie@xxxxxxx



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux