[Openswan dev] Re: Openswan 2.4.0dr9 multiple defaultroute patch

Peter Bieringer pb at bieringer.de
Tue Aug 16 17:17:50 CEST 2005



--On Dienstag, 16. August 2005 08:03 +0200 Dirk Nehring 
<dnehring at marcant.net> wrote:

> On Mon, Aug 15, 2005 at 07:06:45PM -0400, mcr at xelerance.com wrote:
>>
>> There is some additional issues with using "ip".
>>
>> Specifically, pluto uses the BSD API method of enumerating the
>> interfaces. Aliases created with "ip" are not visible, and sometimes
>> entire interfaces.
>
> Mmh, I can see all aliases with "ip addr" without problems:
>
> ip addr | grep eth2
> 3: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
>     inet 172.20.2.1/24 brd 172.20.2.255 scope global eth2
>     inet a.b.c.d/26 brd a.b.c.e scope global eth2:169
>     inet 192.168.1.1/24 brd 192.168.1.255 scope global eth2:192

Don't forget that in case the second IPv4 adress was added using "ip", it 
get the flag "secondary" instead of ":number"

	Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/


More information about the Dev mailing list