[openib-general] [PATCH] [AT} [TRIVIAL]: Fix typo in header file

Roland Dreier roland at topspin.com
Wed Jun 22 10:56:15 PDT 2005


    Hal> The comment is not accurate. The description would be more
    Hal> accurate to say that it "forces" the use of one of the IP
    Hal> interfaces which share this source IP address (if a route
    Hal> exists to the destination). In the case of IPoIB, there is
    Hal> only one interface per IP address.

Why do you think there's only one interface per IP address?  For
example, you can easily try the following:

    # modprobe ib_ipoib
    # ip addr add dev ib0 192.168.0.2/24
    # ip addr add dev ib1 192.168.0.2/24
    # ip addr show
    [...]
    7: ib0: <BROADCAST,MULTICAST> mtu 2044 qdisc noop qlen 128
        link/[32] 00:02:04:04:fe:80:00:00:00:00:00:00:00:02:c9:01:07:fc:c7:11 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
        inet 192.168.0.2/24 scope global ib0
    8: ib1: <BROADCAST,MULTICAST> mtu 2044 qdisc noop qlen 128
        link/[32] 00:02:04:05:fe:80:00:00:00:00:00:00:00:02:c9:01:07:fc:c7:12 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
        inet 192.168.0.2/24 scope global ib1

 - R.



More information about the general mailing list