> >  how can i assign the default gateway to use fxp0 instead?
>
> route delete default
> route add default A.B.C.D

i read the man page, it indicated the use of the -inteface flag but i
could not get it to work. doing what you say did not fix the problem
either:

as you described:

 root@fw-1[~]% route delete default
 route: writing to routing socket: No such process
 delete net default: not in table

so i manually deleted it:
 root@fw-1[~]% route delete 128.111.147.254
 delete host 128.111.147.254

netstat -rn then indicated it was deleted.

then i ran:
 root@fw-1[~]% route add default 128.111.147.254
 add net default: gateway 128.111.147.254

and netstat -rn again shows:

 Destination        Gateway            Flags    Refs      Use  Netif Expire
 128.111.147.254    00:e0:52:d8:43:00  UHLW        1        0    rl0   1173

my problem is not adding a default gateway, but rather assigning the default
gateway to the outside interface fxp0, not my internal interface rl0.

any more ideas?

 -randall

--
        :// randall s. ehren         :// voice 805.893.5632
        :// systems administrator    :// isber|survey|avss.ucsb.edu
        :// institute for social, behavioral, and economic research


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

Reply via email to