Date: Sun, 5 Jan 2003 13:37:16 -0800 (PST) From: randall ehren <randall@ucsb.edu> To: Lars Eggert <larse@ISI.EDU> Cc: <freebsd-net@freebsd.org> Subject: Re: default route Message-ID: <Pine.BSF.4.33.0301051332260.43452-100000@isber.ucsb.edu> In-Reply-To: <3E18A3D9.3010909@isi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0301051332260.43452-100000>