It sounds like "ping -I" is what I was looking for, but when I use it, it
seems
to be sending out the packet with the right source address, but sending it
to
the wrong interface.....are there any tricks here?

Here's some data (edited) to show what I'm seeing:

fxp0: inet 10.16.100.1 netmask 0xfffffff0 broadcast 10.16.100.15

fxp1: inet 192.168.243.152 netmask 0xffffff00 broadcast 192.168.243.255

when I try "ping -I 192.168.243.152 ucla.edu", I see the following:

tcpdump -i fxp0 icmp and host ucla.edu
tcpdump: listening on fxp0, link-type EN10MB
13:06:36.478450 192.168.243.152 > 128.97.27.37: icmp: echo request
13:06:37.483393 192.168.243.152 > 128.97.27.37: icmp: echo request
13:06:38.493244 192.168.243.152 > 128.97.27.37: icmp: echo request

The routing table shows:

10.16.100.0/28     link#1             UC         4        0     -     4 fxp0
192.168.243/24     link#2             UC         1        0     -     4 fpx1




--
View this message in context: 
http://openbsd.7691.n7.nabble.com/Change-routing-tables-when-ISP-goes-down-tp256610p256624.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.

Reply via email to