Hello,
I use a debian 2.2 server, with 2 ethernet cards.
For a course, I need to make packets from 192.168.1.0/24 to 192.168.2.0/24 go through eth0:0(192.168.1.254), another internal IP, again another internal then out to 192.168.2.0/24 by eth1:0 (192.168.2.254/0).
Any idea on how to do this (I know this is NOT the mechanism a router may apply ...) ?
eth0 : 192.168.1.1
eth0:0 : 192.168.1.254
eth0:1 : 192.168.3.254
eth0:2 : 192.168.5.254
eth1 : 192.168.2.1
eth1:0 : 192.168.2.254
eth1:1 : 192.168.3.254
eth1:2 : 192.168.5.254
Regards,
--
M. BALU Frederic.