[ofa-general] [Bug 460] New: IP address assignment problem with IPoIB interfaces

bugzilla-daemon at lists.openfabrics.org bugzilla-daemon at lists.openfabrics.org
Wed Mar 14 22:58:45 PDT 2007


https://bugs.openfabrics.org/show_bug.cgi?id=460

           Summary: IP address assignment problem with IPoIB interfaces
           Product: OpenFabrics Linux
           Version: 1.2alpha1
          Platform: X86-64
        OS/Version: SLES 10
            Status: NEW
          Severity: major
          Priority: P1
         Component: IPoIB
        AssignedTo: bugzilla at openib.org
        ReportedBy: karun.sharma at qlogic.com


OFED Release: 1.2 alpha 1
OS Release: SLES10 64 bit
HCA Details: Mellanox MT 23108
Kernel: 2.6.16.21-0.8-smp
----------------------------------------------

1.Started installing OFED 1.2 package, with the option of "install All
packages"

2.During installation itself configured IPoIB interfaces and assigned IP
addresses as follows

ib0 - 172.20.51.222
ib1 - 172.20.52.222

3.After completion of installation rebooted the system and after reboot IP
addresses were shown properly as assigned.

4.Then executed the command " service Network restart" 

5.After Network restart the IP addresses shown were, 

ib0 - 172.20.52.222

ib1 - 172.20.52.222

This is not a proper behavior.

5. Checked /etc/infiniband/openib.conf, these interfaces are not configured for
HA, so they should not behave like HA.So there is no reason for ib0 to take
similar IP as ib1. Following is the output of ifconfig, before and after
service network restart.
--------------------------------------------------------------------------------
ib0       Link encap:UNSPEC  HWaddr
80-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00
          inet addr:172.20.51.222  Bcast:172.20.51.255  Mask:255.255.255.0
          inet6 addr: fe80::206:6a00:a000:399/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:2 overruns:0 carrier:0
          collisions:0 txqueuelen:128
          RX bytes:0 (0.0 b)  TX bytes:220 (220.0 b)

ib1       Link encap:UNSPEC  HWaddr
80-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00
          inet addr:172.20.52.222  Bcast:172.20.52.255  Mask:255.255.255.0
          inet6 addr: fe80::206:6a01:a000:399/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:128
          RX bytes:64 (64.0 b)  TX bytes:220 (220.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:996 (996.0 b)  TX bytes:996 (996.0 b)

ss22:~ # service network restart
NetworkManager is not installed, thus using NetControl. Please set
/etc/sysconfig/network/config:NetworkManager=no or install NetworkManager.
NetworkManager is not installed, thus using NetControl. Please set
/etc/sysconfig/network/config:NetworkManager=no or install NetworkManager.
Shutting down network interfaces:
    ib0       device: Mellanox Technologies MT23108 InfiniHost (rev a1)
    ib0       configuration: ib1                                     done
    ib1       device: Mellanox Technologies MT23108 InfiniHost (rev adone
    cipsec0
              No configuration found for cipsec0
              Nevertheless the interface will be shut down.          done
    eth0      device: Intel Corporation 82546GB Gigabit Ethernet Controller
(rev 03)
    eth0      configuration: eth-id-00:04:23:b1:43:38                done
    eth1      device: Intel Corporation 82546GB Gigabit Ethernet Controller
(rev 03)
    eth1      configuration: eth-id-00:04:23:b1:43:39                done
Shutting down service network  .  .  .  .  .  .  .  .  .  .  .  .  . done.
NetworkManager is not installed, thus using NetControl. Please set
/etc/sysconfig/network/config:NetworkManager=no or install NetworkManager.
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
    lo
    lo        IP address: 127.0.0.1/8                                done
    cipsec0
              No configuration found for cipsec0                     unused
    eth0      device: Intel Corporation 82546GB Gigabit Ethernet Controller
(rev 03)
    eth0      configuration: eth-id-00:04:23:b1:43:38
    eth0      IP address: 172.20.50.222/24                           done
    eth1      device: Intel Corporation 82546GB Gigabit Ethernet Controller
(rev 03)
    eth1      configuration: eth-id-00:04:23:b1:43:39
    eth1      IP address: 10.20.50.222/24                            done
    ib0       device: Mellanox Technologies MT23108 InfiniHost (rev a1)
    ib0       configuration: ib1
    ib0       IP address: 172.20.52.222/24                           done
    ib1       device: Mellanox Technologies MT23108 InfiniHost (rev a1)
    ib1       IP address: 172.20.52.222/24                           done
Interface veth5 is not available                                     failed
Interface vex1 is not available                                      failed
Setting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  . failed
ss22:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:23:B1:43:38
          inet addr:172.20.50.222  Bcast:172.20.50.255  Mask:255.255.255.0
          inet6 addr: fe80::204:23ff:feb1:4338/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:154 errors:0 dropped:0 overruns:0 frame:0
          TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:14611 (14.2 Kb)  TX bytes:25211 (24.6 Kb)
          Base address:0xdc00 Memory:fcfa0000-fcfc0000

eth1      Link encap:Ethernet  HWaddr 00:04:23:B1:43:39
          inet addr:10.20.50.222  Bcast:10.20.50.255  Mask:255.255.255.0
          inet6 addr: fe80::204:23ff:feb1:4339/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:1116 (1.0 Kb)
          Base address:0xdc80 Memory:fcfe0000-fd000000

ib0       Link encap:UNSPEC  HWaddr
80-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00
          inet addr:172.20.52.222  Bcast:172.20.52.255  Mask:255.255.255.0
          inet6 addr: fe80::206:6a00:a000:399/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:4 overruns:0 carrier:0
          collisions:0 txqueuelen:128
          RX bytes:64 (64.0 b)  TX bytes:516 (516.0 b)

ib1       Link encap:UNSPEC  HWaddr
80-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00
          inet addr:172.20.52.222  Bcast:172.20.52.255  Mask:255.255.255.0
          inet6 addr: fe80::206:6a01:a000:399/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:128
          RX bytes:128 (128.0 b)  TX bytes:516 (516.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:996 (996.0 b)  TX bytes:996 (996.0 b)

ss22:~ #
---------------------------------------------------------------------------

6.If I keep ib1 configuration as default, i.e "bootproto=dhcp", then on network
restart, ib0 starts making DHCP discover, which is also not correct.

Attaching herewith the openib.conf for my machine.


-- 
Configure bugmail: https://bugs.openfabrics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the general mailing list