Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2004 06:48:40 +0300 (MSK)
From:      "."@babolo.ru
To:        Jerry Jensen <youknicks@yahoo.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: multiple logical interfaces
Message-ID:  <1078631320.114327.16335.nullmailer@cicuta.babolo.ru>
In-Reply-To: <20040306221357.68128.qmail@web41813.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> is it possible in freebsd to have multiple logical
> interfaces associated with say the loopback interface?
>  if so, how does one do this programmatically (as
> opposed to from the command line).
> 
> need this for building traffic generators that need to
> simulate a bunch of different ip sources.  solaris
> allows it as does linux i believe. 
> thx.
Is it what you want?

> ifconfig -a | grep lo
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa 
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
lo2: flags=8008<LOOPBACK,MULTICAST> mtu 16384
lo3: flags=8008<LOOPBACK,MULTICAST> mtu 16384

If it is, there is from kernel config:

> grep loop /sys/i386/conf/garkin 
pseudo-device   loop    4       # Network loopback



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1078631320.114327.16335.nullmailer>