Network card issues

Ben Maynard bmaynard at voodoox.net
Tue Jun 15 21:28:12 BST 2004


Hi

I have a problem with a freebsd installation, the version is 5.2.1, the
machine has 3 nic cards ste0, xl0, ndis0 (ndis0 being a wireless card).

I am only using 2 of the cards, ste0 and ndis0, I am using the machine
to route traffic from one half of my lan to the other.

Using:

   ifconfig ndis0 inet 192.168.1.50 netmask 255.255.255.0
   ifconfig ste0 inet 192.168.0.1 netmask 255.255.255.0


ifconfig -a

ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.50 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::20c:41ff:fe64:83d8%ndis0 prefixlen 64 scopeid 0x1
        ether 00:0c:41:64:83:d8
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: associated
        ssid default 1:default
        channel 6 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1
ste0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::205:5dff:fee0:4971%ste0 prefixlen 64 scopeid 0x3
        ether 00:05:5d:e0:49:71
        media: Ethernet autoselect (10baseT/UTP <full-duplex>)
        status: active


Everything works perfectly, but if I attempt to assign both card
addresses in the same range, the second card to get an address only
accepts and ipv6 address. Ie:

   ifconfig ndis0 inet 192.168.1.50 netmask 255.255.255.0
   ifconfig ste0 inet 192.168.1.2 netmask 255.255.255.0

ifconfig -a

ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.50 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::20c:41ff:fe64:83d8%ndis0 prefixlen 64 scopeid 0x1
        ether 00:0c:41:64:83:d8
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: associated
        ssid default 1:default
        channel 6 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1
ste0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet6 fe80::205:5dff:fee0:4971%ste0 prefixlen 64 scopeid 0x3
        ether 00:05:5d:e0:49:71
        media: Ethernet autoselect (10baseT/UTP <full-duplex>)
        status: active


Does anyone have any idea why this would be happening, I am wanting to
bring the 2 halves of my lan to the same ip range but because of this I
am unable to.

Any help would be appreciated.

Thanks

Ben 






More information about the Ukfreebsd mailing list