Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2002 17:12:18 -0400
From:      "Wes Baehr" <iwes@totalmac.net>
To:        "Raymond" <raymond@vignettestraining.com>, <FreeBSD-questions@FreeBSD.org>
Subject:   Re: Ifconfig Error when setting ip address
Message-ID:  <006001c24632$c559c8e0$1500a8c0@dhcp0.168.192.TotalMac.net>
References:  <3D5EA9CD.6080201@vignettestraining.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Try using a netmask of 255.255.255.255 on the second card.

--
wes

----- Original Message ----- 
From: Raymond <raymond@vignettestraining.com>
To: <FreeBSD-questions@FreeBSD.org>
Sent: Saturday, August 17, 2002 3:53 PM
Subject: Ifconfig Error when setting ip address


> 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
> 


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?006001c24632$c559c8e0$1500a8c0>