From: Tom E. <te...@sh...> - 2010-08-31 21:06:21
|
On 8/31/10 12:31 PM, Sebastian Tänzer wrote: > Thanks Tom, > > this helped a lot. ISP1 is my cable provider, ISP2 the dsl pppd connection. > But I figured that out. > > The only thing I don't get is your LSM config here: > > connection { > name=Comcast > checkip=${ETH0_GATEWAY:-71.231.152.1} > device=$COM_IF > ttl=1 > } > > I replaced these values with my own, i.e. > > connection { > name=ISP1 > checkip=${ETH1_GATEWAY} > device=$ETH1_IF > ttl=1 > } > > I've set up ETH1_IF in params, but where gets the script ETH1_GATEWAY from? > I checked the findgw script and it works fine. Still, the value checkip is always empty. In recent Shorewall releases, the variable is SW_ETH1_GATEWAY rather than ETH1_GATEWAY. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ |