Bug 17481

Summary: unable to bind more than 1 IP address to 3com 3c905B network card
Product: Base System Reporter: justinwang <justinwang>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description justinwang 2000-03-19 05:00:01 UTC
I am unable to bind more that 1 IP address to 3com FAST Etherlink XL 3c905B PCI network cards. I made edits to the /etc/rc.conf file by adding an alias0:

ifconfig_x10="inet 207.212.91.214 netmask 255.255.255.255.128"
ifconfig_x10_alias0="inet 207.212.91.xx netmask 255.255.255.128"

upon reboot, I used the ipconfig -a and the Ip did not bind and I am unable to ping it. I tried it on 3 differnet 3c905b cards and they all would not bind.

I swapped cards to a 3com Etherlink III 3c509B-TPO ISA card and I was able to bind more than 1 IP address to card.

How-To-Repeat: Put in a 3com 3c905B card.
Comment 1 alex 2000-03-19 09:22:21 UTC
Thus spake justinwang@netcreate.net (justinwang@netcreate.net):

> ifconfig_x10="inet 207.212.91.214 netmask 255.255.255.255.128"
> ifconfig_x10_alias0="inet 207.212.91.xx netmask 255.255.255.128"

It read "x10" in spite of "xl0" for you, you know?

> >How-To-Repeat:
> Put in a 3com 3c905B card.

root@neutron ~ $ grep xl0 /var/run/dmesg.boot /etc/rc.conf ; ifconfig
xl0
/var/run/dmesg.boot:xl0: <3Com 3c905B-TX Fast Etherlink XL> port
0xe400-0xe47f mem 0xe6000000-0xe600007f irq 10 at device 15.0 on pci0
/var/run/dmesg.boot:xl0: Ethernet address: 00:50:04:0f:5a:27
/var/run/dmesg.boot:miibus0: <MII bus> on xl0
/var/run/dmesg.boot:xl0: supplying EUI64: 00:50:04:ff:fe:0f:5a:27
/etc/rc.conf:network_interfaces="xl0 lo0 isp0"
/etc/rc.conf:ifconfig_xl0_alias0="inet 192.168.0.1  netmask
255.255.255.0"
/etc/rc.conf:ifconfig_xl0_alias1="inet 192.168.0.2  netmask
255.255.255.0"
/etc/rc.conf:ifconfig_xl0_alias2="inet 192.168.0.3  netmask
255.255.255.0"
/etc/rc.conf:ifconfig_xl0_alias3="inet 192.168.0.4  netmask
255.255.255.0"
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80:1::250:4ff:fe0f:5a27 prefixlen 64 
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
        inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
        inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:50:04:0f:5a:27 
        media: autoselect (100baseTX) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>

This works the same way since 2.2.7.

Alex
Comment 2 dan freebsd_committer freebsd_triage 2000-03-20 04:21:47 UTC
State Changed
From-To: open->closed

Pilot error.