Subject: Re: equivalence to iproute2
To: None <tech-net@netbsd.org>
From: Jonathan <phonic@antisocial.nu>
List: tech-net
Date: 09/26/2005 14:46:23
> On Mon, Sep 26, 2005 at 03:19:52AM +0200, Jonathan wrote:
>> Hello.
>>
>> In Linux, to create a new routing table, add a default route into it
>> and
>> tell packets with a specific destination to lookup that default route,
>> I
>> type these commands:
>>
>> # echo 64 blah >> /etc/iproute2/rt_tables
>> # ip rule add from a.b.c.d table blah
>> # ip route add default via w.x.y.z table blah
>> # ip route flush cache
>>
>> What's the corresponding commands in NetBSD?
>
> No idea. What is the _meaning_ of those commands?
>
> 	-is
>
To route all traffic from a.b.c.d via w.x.y.z, not the default gw.