Re: default route

2003-01-07 Thread Iasen Kostoff
User route add default x.x.x.x -ifp iface On Sun, 5 Jan 2003, Lars Eggert wrote: > On 1/5/2003 1:26 PM, randall ehren wrote: > > > > how can i assign the default gateway to use fxp0 instead? > > route delete default > route add default A.B.C.D > > As described in the man page. > > Lars > -- >

Re: host routes for interface addresses

2002-06-08 Thread Iasen Kostoff
This should be the full patch , but I'm not so sure :) I add ifconfig and net/rtsock.c fixes. I hope I don't miss something this time :) --- sys/net/if.cSun Apr 28 08:40:25 2002 +++ sys/net/if.my.c Sat Jun 8 20:52:12 2002 @@ -952,6 +952,7 @@ struct ifstat *ifs;

Re: host routes for interface addresses

2002-06-08 Thread Iasen Kostoff
On Sat, 8 Jun 2002, Brian Somers wrote: > On Fri, 7 Jun 2002 17:27:46 +0300 (EEST), Iasen Kostov <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, 7 Jun 2002, Iasen Kostov wrote: > > > > > > > > I think it's possible to use SIOCSIFCAP to tell the kernel not to set > > > host route via IFCAP_NORO

Re: opt_inet6.h file

2001-07-10 Thread Iasen Kostoff
They are auto generated by make depend I think.Should be in your kernel build directory. On Tue, 10 Jul 2001, Clement Trensz wrote: > Hi, > > I'd like to use some functions from the /sys/net/if.c file but a few > files such as opt_inet6.h, opt_inet.H, opt_compat.h are #defined and I > can't fin

Re: IP layer API

2001-07-05 Thread Iasen Kostoff
On Thu, 5 Jul 2001, Yonatan Bokovza wrote: > Hi, > How can I send/receive packets at the IP layer? > I read many sockets tutorials, including the > one at the dev-handbook, but they only deal > with higher level of protocols (TCP/UDP). I > need to send out packet where I can control > it's ip_c

Re: adding a route to host via interface

2001-07-04 Thread Iasen Kostoff
On Tue, 3 Jul 2001, Ruslan Ermilov wrote: > On Tue, Jul 03, 2001 at 04:54:29PM +0300, Iasen Kostoff wrote: > > > [...] > > > You can't change host route to network route, or vise versa; destination > > > is the Patricia's tree key, and it can't be

Re: adding a route to host via interface

2001-07-03 Thread Iasen Kostoff
On Tue, 3 Jul 2001, Ruslan Ermilov wrote: > On Tue, Jul 03, 2001 at 03:34:14PM +0300, Iasen Kostoff wrote: > > > > > > On Tue, 3 Jul 2001, Ruslan Ermilov wrote: > > > > > On Tue, Jul 03, 2001 at 02:30:48PM +0300, Iasen Kostoff wrote: > > > &

Re: adding a route to host via interface

2001-07-03 Thread Iasen Kostoff
On Tue, 3 Jul 2001, Ruslan Ermilov wrote: > On Tue, Jul 03, 2001 at 02:30:48PM +0300, Iasen Kostoff wrote: > > > > > > On Tue, 3 Jul 2001, Ruslan Ermilov wrote: > > > > > On Mon, Jul 02, 2001 at 05:40:07PM +0300, Iasen Kostoff wrote: > > > >

Re: adding a route to host via interface

2001-07-03 Thread Iasen Kostoff
On Tue, 3 Jul 2001, Ruslan Ermilov wrote: > On Mon, Jul 02, 2001 at 05:40:07PM +0300, Iasen Kostoff wrote: > > > > Problem is that adding a route to host throw interface adds > > inerface as gateway (iface's lladdr). And you should manualy change lladdr >

adding a route to host via interface

2001-07-02 Thread Iasen Kostoff
Problem is that adding a route to host throw interface adds inerface as gateway (iface's lladdr). And you should manualy change lladdr of this route to the real lladdr. this is it: route add -host foo -iface bar arp -s foo real_lladdr_of_foo Is that realy a problem or I'm missing somet

Re: Indirect route with also indirect gateway

2001-07-02 Thread Iasen Kostoff
On Mon, 2 Jul 2001, Ruslan Ermilov wrote: > On Mon, Jul 02, 2001 at 04:34:40PM +0300, Iasen Kostoff wrote: > > > > > > On Mon, 2 Jul 2001, Ruslan Ermilov wrote: > > > > > On Mon, Jul 02, 2001 at 01:16:19PM +0300, Iasen Kostoff wrote: > > > &

Re: Indirect route with also indirect gateway

2001-07-02 Thread Iasen Kostoff
On Mon, 2 Jul 2001, Ruslan Ermilov wrote: > On Mon, Jul 02, 2001 at 01:16:19PM +0300, Iasen Kostoff wrote: > > > > > > On Mon, 2 Jul 2001, Ruslan Ermilov wrote: > > > > > On Mon, Jul 02, 2001 at 12:49:44PM +0300, Iasen Kostoff wrote: > > > &

Re: Indirect route with also indirect gateway (was: Re: fastforwarding?)

2001-07-02 Thread Iasen Kostoff
On Mon, 2 Jul 2001, Ruslan Ermilov wrote: > On Sun, Jul 01, 2001 at 03:15:56PM -0600, Wes Peters wrote: > > Ruslan Ermilov wrote: > > > > > > BTW, Wes, I'm still waiting for a working example of an indirect route > > > with also indirect gateway. > > > > Any indirect route via the opposite en

Re: routing socket and routes assignment

2001-05-31 Thread Iasen Kostoff
On Thu, 31 May 2001, Hroi Sigurdsson wrote: > Iasen Kostoff wrote: > > > The gateway is directly connected and I think this is obvious and should > > not even be discused. The IP address of the gateway is not from > > network that the computer is. But there is a rou

Re: routing socket and routes assignment

2001-05-31 Thread Iasen Kostoff
To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: routing socket and routes assignment

2001-05-30 Thread Iasen Kostoff
On Tue, 29 May 2001, Jesper Skriver wrote: > On Mon, May 28, 2001 at 02:28:51PM +0300, Iasen Kostoff wrote: > > Hi, > > I have a problem in assigning a default gateway from network that > > my computer's interfaces don't have IP from. > > All routes

routing socket and routes assignment

2001-05-28 Thread Iasen Kostoff
Hi, I have a problem in assigning a default gateway from network that my computer's interfaces don't have IP from. And even when I add a route to this network throw any of the interfaces it still returns ENETUNREACH message. Then I thought that I can fix that with -ifp modifer of route com