View Single Post

  #1 (permalink)  
Old 02-15-2007
Tejas Kokje
 
Posts: n/a
Default sending pkts on wire even if dest is local

Hello folks,

I have a linux box with three gigabit network cards. All the three
network cards are on different subnets. and are connected to a
switch. The diagram is as shown below

A, B and C are the network interfaces with IP address 192.168.2.1,
192.168.3.1 and 192.168.4.1

I want to send a unicast packet from A to B and from A to C in order
to look if my software on switch is working fine. But I guess linux
kernel sees that both B and C are local interfaces and hence does not
send it on wire.
_______
A----------| |
| |
B--------- | X |
| |
C----------|______ |


Is there a way I can force kernel to send all unicast packets on wire
and not optimize it if destination is a local interface ? Being
limited on resources, I don't have another linux box :-(

Thanks,
Tejas Kokje

Reply With Quote