Re: Linux Firewall, communication between computers in different subnets connected to same switch & static route

Linux Advanced Routing and Traffic Control

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

 



You won't be able to make the clients to send the packets to outside their
network. TCP/IP does not work that way.

Without going into the needed commands, you basically need to do:
1.) add 10.0.0.1 (or similar) to eth1 on the linux box, so that the linux
    box can reach the secondary router.
2.) if the 10.0.0.200 router routes only to an internal IP address space, e.g. 10/8,
    than you can just add the route to these destinations.
3.) if the 10.0.0.200 router provides access to routes that conflict with the
    192.168.1.1 destination, you just need to google the source-based routing
    recipe (basically seperate routing tables that get selected on the source
    of a packet) and follow it.

Andreas
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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