Subject: Re: Routing issue (no route to default host)
To: Anthony Lieuallen <arantius@yahoo.com>
From: Alan Barrett <apb@cequrux.com>
List: tech-net
Date: 02/14/2003 19:32:24
On Fri, 14 Feb 2003, Anthony Lieuallen wrote:
> paranoid:~:root:{506} route add -net 10 -interface 209.122.183.50
> add net 10: gateway 209.122.183.50
> paranoid:~:root:{507} netstat -f inet -nr
  [...]
> Destination    Gateway        Flags     Refs     Use    Mtu Interface
> 10             link#1         UCS         0        0   1500 ep0

OK, that's what I would have hoped for.

> paranoid:~:root:{508} ping 10.17.44.244
  [works]

> paranoid:~:root:{509} route add default 10.17.44.244
> writing to routing socket: Network is unreachable
> add net default: gateway 10.17.44.244: Network is unreachable

Oh dear.

Right, the next trick is to give your ep0 interface an alias address in
the 10.x.x.x network, like this:

	ifconfig ep0 inet 10.1.1.1 netmask 255.0.0.0 alias
	route add default 10.17.44.244

--apb (Alan Barrett)