Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2013 15:25:05 +0200
From:      "Ian FREISLICH" <ianf@cloudseed.co.za>
To:        current@freebsd.org
Subject:   route add ... -iface  fails
Message-ID:  <E1TsChN-00014U-8I@clue.co.za>

next in thread | raw e-mail | index | archive | help

Hi

This used to work on tunX, but no more.

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1492
        options=80000<LINKSTATE>
        inet 41.135.82.18 --> 41.135.70.1 netmask 0xffffffff 
        Opened by PID 2387
[router] ~ # route add 41.154.2.53 -iface tun0
route: bad address: tun0

It also doesn't work on ngX PPP interfaces.

ng2: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1490
        inet 41.135.82.120 --> 41.135.70.1 netmask 0xffffffff 
[router] ~ # route add 41.154.2.53 -iface ng2 
route: bad address: ng2
[router] ~ # route add 41.154.2.53 -interface ng2
route: bad address: ng2

I have several PPP conections on several ADSL lines with the same
provider that doesn't do multi link PPP, so I need to be able to
set the destination interface.

Ian

-- 
Meditating Guru
Ian Freislich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1TsChN-00014U-8I>