On Wed, Aug 02, 2006 at 06:04:19PM +0200, Michal Soltys wrote:
> [ reminder about the routing table works ]

Whoops, you're right.  It wasn't anything specific to sk0 and sk1, just 
because of how I assigned IP addresses.

> Small correction to my prev post - messing with route / PF to enforce going 
> over cable in both ways shouldn't probably yield any results here.

The following seems to work:

    # ifconfig sk0 192.168.50.1
    # ifconfig sk1 192.168.51.1
    # route delete 192.168.50
    # route delete 192.168.51
    # route add 192.168.50 -interface 192.168.51.1
    # route add 192.168.51 -interface 192.168.50.1
    # ping 192.168.50.1
    # ping 192.168.51.1

(I put sk0 and sk1 on separate subnets because route didn't seem to like 
routing packets for a single host via an interface.)

``tcpdump -i lo0'' shows no output during the pings, so it seems like 
the packets are all going over the ethernet cable.

Thanks.

Reply via email to