IP trick

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

 



Hi all,

In order to test a firewall, I'd like to use a single host.
There are two interfaces on the host, two on the firewall, with subnets
as described below.

eth0:             eth1:     
10.67.27.2        10.67.28.2
          FIREWALL
          |      |
          |      |
10.67.27.0|      |10.67.28.0
          |      |
          |      |
eth0:      -HOST- eth1:      
10.67.27.1        10.67.28.2

Is it possible, from the host, to send a packet to IP 10.67.28.2 by the
long way (the loop using the firewall) ? 
Currently, the stack on the host takes the shortcut, ie a packet from
the host destined to IP:10.67.28.2 never goes out of the host, even with
a route specifying to use eth0 to reach 10.67.28.0 subnet.

Any advice ?
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux