Date: Wed, 05 Mar 2003 13:27:59 -0500 From: "J. W. Ballantine" <jwb@homer.att.com> To: Kevin_Stevens@pursued-with.net Cc: freebsd-net@FreeBSD.ORG Subject: Re: route pointing to a gateway that's not on net Message-ID: <200303051827.h25IRxF05514@akiva.homer.att.com> In-Reply-To: Your message of "Wed, 05 Mar 2003 09:57:55 PST." <30622.192.85.47.1.1046887075.squirrel@new.host.name>
next in thread | previous in thread | raw e-mail | index | archive | help
Well it's not the way I wanted it, but it's the way I have to try and work with. I tried the route add net 10.0.0.0 -interface (whatever) and that didn't work for me. ---------- In Response to your message ------------- > Date: Wed, 5 Mar 2003 09:57:55 -0800 (PST) > To: <jwb@homer.att.com> > From: "Kevin Stevens" <Kevin_Stevens@pursued-with.net> > Subject: Re: route pointing to a gateway that's not on net > > > > > I was recently following a thread on tech-netbsd that was discussing the > > routing tables when the gateway address was on a 10.x.x.x network while > > the machine was assigned a 209.122.66.x address. The long and short of > > the discussion (as I understand the discussion) was that this was that > > while it can be accessed via windose and Linux ( > > > > On Linux, we could do this to get around that minor problem: > > route add -host 192.168.14.88 dev eth0 > > ) that is was an evil, ugy illegal network route and that it not > > possible, will not be implemented in NetBSD. > > It is all of that. ;) I've used this in a network setup where there were > multiple local links that terminated at a remote router, and the desire > was that traffic be able to flow over any of them. But it leaves a bad > taste in my brain, like when Cisco refers to "layer three switching". > > > Now since my cable ISP has me provised it this manner, and since I can't > > find a method to get out from FreeBSD using the route command. I was > > wondering if a) I missed something and there is some option for the > > route command that allows to route to be setup, or if not will netgraph > > allow me to setup this route? > > I think you do it the same way. Can't you create a route to the 10.x.x.x > subnet that simply points to the outbound interface? (rummaging around > for network access to router...) > > Yes, you can use the -interface option with the route command. Try this: > route add -net 10.0.0.0 -interface (whatever). Worked for me in at least > adding the route, I don't have a ready way to test it at the moment. > > KeS > > 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?200303051827.h25IRxF05514>