Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Peer network question

Options
  • 25-05-2003 10:01am
    #1
    Registered Users Posts: 23,212 ✭✭✭✭


    Hi All,

    I have three devices, a PC, a laptop and an IPAQ.

    IP assignment as follows:

    PC: 10.20.30.40

    Laptop: Ethernet card - 10.20.30.41
    Wireless card - 10.20.30.43

    Ipaq: Wireless card - 10.20.30.42

    All netmasks are set to 255.255.255.0

    PC -> Laptop connected via cross-over cable
    Laptop -> Ipaq connected via WiFi (ad hoc mode, i.e. peer-to-peer)

    The problem is I can only connect two at a time. Ipaq->Laptop works fine until I connect in the cable to the PC. The ipaq then becomes unpingable. I pull out the cable, and I can ping the ipaq.

    Any ideas?


Comments

  • Registered Users Posts: 4,676 ✭✭✭Gavin


    Change the network range between the two devices.
    On the laptop, change the ip range on th wireless card
    to say 10.20.40.1 and on the ipaq to 10.20.40.2

    The problem is that the laptop doesn't know what network connection to actually use seeing as both network connections are on the same network. So when the 100basetx card is activated, all traffic for the network 10.20.30.x is sent to it.

    So you can either do above, or you can add in two static routes on your laptop to handle having both cards plugged in at once.

    Something along the lines of
    route ADD 10.20.30.40 MASK 255.255.255.0 10.20.30.41
    route ADD 10.20.30.42 MASK 255.255.255.0 10.20.30.43

    Try those above, I haven't tested them, you might need to specify what interface they should run on, but it should pick it up ok. ( I am assuming you are running something like win2000 on the laptop ) If you go for the first solution, you will need to enable ip forwarding on the machine, and your os may or may not support this... Though again a static route may be usable, uncertain.

    Gav


  • Registered Users Posts: 23,212 ✭✭✭✭Tom Dunne


    Thanks Gav, I tried the first option and it worked.

    You learn something new every day!


Advertisement