Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2002 12:53:49 -0700
From:      Raymond <raymond@vignettestraining.com>
To:        FreeBSD-questions@FreeBSD.org
Subject:   Ifconfig Error when setting ip address
Message-ID:  <3D5EA9CD.6080201@vignettestraining.com>

next in thread | raw e-mail | index | archive | help
I have a system that has two network cards in it,
whenever I try to set the network cards on the same subnet,
for example "192.168.1.1" and "192.168.1.2", it fails.
The error is: ifconfig: ioctl (SIOCAIFADDR): file exists
My configuration is two SMC network cards, of the same model.
ifconfig prints the following:
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 192.168.1.150 netmask 0xffffff00 broadcast 192.168.1.255
         inet6 fe80::203:6dff:fe1a:49c8%dc0 prefixlen 64 scopeid 0x1
         ether 00:03:6d:1a:49:c8
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
dc1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 

         ether 00:03:6d:1a:49:c8
         media: Ethernet autoselect (100baseTX)
         status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
         inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
         tunnel inet 209.178.116.35 --> 206.123.31.114
         inet6 fe80::203:6dff:fe1a:49c8%gif0 prefixlen 64 scopeid 0x7
         inet6 3ffe:b80:2:ae31::2 --> 3ffe:b80:2:ae31::1 prefixlen 128


Any help is greatly appreciated,
- Raymond Jimenez


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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