Interface address sourced packets go thru default gateway on another interface

2007-11-15 Thread Brian Hawk
Hi ppl, Sorry for the bizarre subject but I really didn't know how to put this on. I have 3 interfaces: xl0, xl1 and rl0. rl0 is the where ppp daemon (for ADSL) runs on, so I also have tun0 which grabs the default gateway. My problem is with xl1 which is connected to a leased-line and has a st

Re: Interface address sourced packets go thru default gateway on another interface

2007-11-15 Thread Brian Hawk
Dima Dorfman wrote: I don't think it ever worked the way you described. The source IP address doesn't usually affect how replies will be routed on the way out. Then what would be the reason to bind a connection to a specific source address? We do ping -S A.B.C.D x.y.z.t to make ping send pac

Re: Interface address sourced packets go thru default gateway on another interface

2007-11-15 Thread Brian Hawk
Here's the routing table, #~>netstat -rn Internet: DestinationGatewayFlagsRefs Use Netif Expire default85.97.0.1 UGS 0 25211312 tun0 10 10.1.1.222 UGS 0 3407666xl0 10.1.1/24 link#2

Gateway problem

2006-10-20 Thread Brian Hawk
I'm having a strange situation for quite sometime. I have two external interfaces one of which is an ADSL interface tun0 and obtains IP address dynamically and the other is a (xl1) leased line which has a static global IP address, lets say 212.64.212.180. Both interfaces access internet without