On Wed, May 15, 2002 at 01:45:47AM -0700, Anshuman Kanwar wrote:
> # Bring failed interface down
>      ifconfig $old_intf down

why not move the route delete default here rather than later?

> # Delete old route
>     route delete default
> 

 
> # Clear ARP cache
>      arp -a -d
> 
> # Fail Over to Other Interface
>      ifconfig $new_intf inet xx.xx.xx.xxx  netmask 255.255.255.224
> broadcast xx.xx.xxx.xxx
> 
> # Bring new interface up
>     ifconfig $new_intf up
> 
> # Add new route
>     route add -ifp $new_intf default $DEF_ROUTE    <<<<<< (1)

and why do you need -ifp $new_intf here?

Adi

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to