*BSD News Article 83381


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!palms.znet.net.au!nigel
From: nigel@znet.net.au (Nigel Gorry)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Two devices with same IP
Date: Fri, 22 Nov 1996 00:46:43
Organization: Zed.Net Internet Services
Lines: 27
Message-ID: <nigel.20.0000C75A@znet.net.au>
References: <56ltqk$nhv@csugrad.cs.vt.edu> <56lvvc$62f$1@gail.ripco.com> <32920988.63E7@www.play-hookey.com> <571pde$mp8@sf18.dseg.ti.com>
NNTP-Posting-Host: palms.znet.net.au
X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]


>>Sorry, brian, but no. From my /etc/sysconfig file:
>>
>>
>>network_interfaces="cuaa1 lnc0 lo0"
>>ifconfig_cuaa1="inet 206.161.179.129  netmask 255.255.255.224"
>>ifconfig_lnc0="inet 206.161.179.129  netmask 255.255.255.224  mtu 1006"
>>ifconfig_lo0="inet localhost"
>>

>>Seems to still be working fine.

>One should never assume that software (or a system configuration) is bug-free 
>due to the absence of observable errors.  It might prove interesting to do 
>some low-level traces and see what's really happening.

An ifconfig -a on my machine show that I have the same IP address for both my 
NIC and PPP interfaces.  This works as a router with the default route being 
via the remote side of the PPP link.

ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 203.61.202.20 netmask 0xfffffff0 broadcast 203.61.202.31
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 203.61.202.20 --> 203.61.202.1 netmask 0xffffff00