Subject: Re: Sending network traffic to "self" externally - is it possible?
To: None <netbsd-help@NetBSD.org>
From: Henry Nelson <netb@yuba.ne.jp>
List: netbsd-help
Date: 04/18/2007 06:04:19
On Mon, Apr 16, 2007 at 09:07:10PM -0700, Bryan Phillippe wrote:
> On Apr 15, 2007, at 11:29 AM, Greg Troxel wrote:
> >>   I'm trying to test an ethernet switch.  I have a single workstation
> >>   that already has multiple NICs in it, and I'd like to be able to  
> >>   use it for this purpose.  In addition to saving space & power, it
> >>   will also be easier if I only have to manage a single system.
[...]
> % ifconfig tlp0 ; ifconfig tlp1
> tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>          address: 00:00:e8:13:40:cd
>          media: Ethernet autoselect (100baseTX full-duplex)
>          status: active
>          inet 192.168.0.1 netmask 0xfffffffc broadcast 192.168.0.3
>          inet6 fe80::200:e8ff:fe13:40cd%tlp0 prefixlen 64 scopeid 0x2
> tlp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>          address: 00:00:e8:13:89:d3
>          media: Ethernet autoselect (100baseTX full-duplex)
>          status: active
>          inet 192.168.0.2 netmask 0xfffffffc broadcast 192.168.0.3
>          inet6 fe80::200:e8ff:fe13:89d3%tlp1 prefixlen 64 scopeid 0x3

Not sure exactly what "trying to test an ethernet switch" means you're
trying to do, but I always thought you couldn't have two nics on the
same network on the same machine other than using the 'alias' mechanism.
Have things changed since the days I was doing that (8-9 years ago)?

-- 
henry nelson
  WWW_HOME=http://yuba(dot)ne(dot)jp/(tilde)home/