Re: Sending network traffic to "self" externally - is it possible?

Henry Nelson <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.