6 Replies Latest reply on Apr 29, 2002 3:55 PM by kamran

    Network Required?

    objectwizatlycos

      Hi all,

      I posted to jboss-user a while back regarding using clustering with no IP address on my machine. I was told to run JBoss on a machine with an IP.

      I set up an IP for my machine (a laptop) but had no network connection. Clustering service still hangs forever... :-(

      My laptop JBoss works when connected to the network but why not when I'm at home with a valid IP?

      Thanks,

      Peter.

        • 1. Re: Network Required?
          toddoc

          Just a guess but I suspect that your laptop is trying to do a DNS lookup on some host name. Since your laptop network does not have a DNS server it just hangs. You could try adding the host name to the lmhosts file.

          • 2. Re: Network Required?
            user57

            I am not 100% sure, but you might need an interface that supports multicast for a system with clustering enabled to come up.

            --jason

            • 3. Re: Network Required?
              ajitsingh

              execute
              route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
              and it works

              • 4. Re: Network Required?
                belaban

                I have successfully tried the following on my Linux box:

                route add -net 224.0.0.0 netmask 224.0.0.0 lo

                This adds a route for ALL multicast traffic to the loopback device. This way you don't need to be connected to any network. Also, you will not even need a NIC.

                Note that 224.0.0.0 denotes ALL mcast class D addresses, which is an undocumented feature of route (probably just on UNIX boxes).

                I wonder whether it will work on Windows machines. Can someone try it out and report the result here ?

                Bela

                • 5. Re: Network Required?
                  aroraprince

                  netmask for class D addresses is 240.0.0.0

                  route add -net 224.0.0.0 netmask 240.0.0.0 lo

                  Prince Arora

                  • 6. Re: Network Required?
                    kamran

                    I am using Windows box ,
                    Any body Let me know its windows equivalent command of
                    the following unix route cmds :

                    route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
                    route add -net 224.0.0.0 netmask 240.0.0.0 lo

                    rgds,
                    kamran