Ric:
To complement Jeff useful info:

> On Tue, 11 Jun 2002, Richard Amerman wrote:
> > As some of you may have noted I am working on a Bering configuration
> > with a main external interface at eth0 of a DSL router and an
> > additional external connection consisting of an external modem for
> > redundant failover.
>
> I have been playing with a dsl/ppp connection for a couple of days.  I am
> not sure I need a redundant failover though... I can make it work
> manually if I need to.
>
> > I have had no problem getting the modem to work and it looks like the
> > firewall portion may not be too bad (knock on wood!) but I can't
> > seem to get past the existing defaultroute.
>
> I did:
>
>   ifdown eth0
>   ifup ppp0
If you want to see the commands executed "behind" ifup/down use the -v flag
ifdown -v eth0
if a "gateway" statement appears in  your interface list it will be used to 
defined the default route
E.G with :
iface eth2 inet static
        address 192.168.1.100
        masklen 24
        gateway 192.168.1.7
        broadcast 192.168.1.255

in /etc/network/interfaces, you will get:

# ifup -v eth2
Configuring interface eth2=eth2 (inet)
run-parts /etc/network/if-pre-up.d
ip addr add 192.168.1.100/24 dev eth2 broadcast 192.168.1.255
ip link set eth2 up
 ip route replace default via 192.168.1.7 dev eth2
run-parts /etc/network/if-up.d

> to switch from dsl to ppp, and have commented out the "auto ppp0" line in
> /etc/network/interfaces.

whenever an "auto" statement appears before an interface name it will be 
called automatically at boot time (and boot time only) by the ifup -a 
statement in /etc/init.d/networking. With no "auto" statement you have to 
activate the interface with ifup/ifdown

<snip>
> > I also experimented with settings in the interfaces config file in the
> > "ppp0" interface section.  The default is auto ppp0
> > iface ppp0 inet ppp
> > provider provider
> >
> > I changed this to :
> > auto ppp0
> > iface ppp0 inet ppp
> > Address xxx.xxx.xxx.xxx
> > Masklen 27
> > Gateway xxx.xxx.xxx.xxx
> >
> > I'm not sure this is appropriate but I could not find further
> > documentation on this file to indicate whether I can use these
> > settings with a ppp interface, and even if I can, that it is
> > appropriate.
Once again ifup -v ppp0 will show you that "provider provider" will just run
"pon provider".  Therefore whatever ppp options must be setup in 
/etc/ppp/peers/provider file
Hope that help. If you feel like writing an "how-to" on the failover setup 
I'll hapilly include it in the Bering user's guide
Jacques


_______________________________________________________________

Multimillion Dollar Computer Inventory
Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar



------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to