Jump to content
suboba

assigning static ip to host?

Recommended Posts

It's mentioned in a few places that the turtle can be configured to assign a static ip address to a host computer it's connected to.

From "Connecting for the first time": 

Quote

 

Once bootup is complete, the LAN Turtle’s network interface on the USB facing side will offer the host computer an IP address via DHCP.

Ensure the host computer is configured to accept IP from DHCP, or alternatively specify a static address in the LAN Turtle’s IP range.

 

How do I do this?

The target computer I'm connecting to has a static ip address and I'm not able to configure it to get a random one from dhcp.  

I'm having trouble using the configuration menu.  Anytime I try to enter the DHCP settings, putty crashes and I get: Network error: Software caused connection abort.

As for the Static menu, is that for giving the host computer a static ip or is that for setting the turtle's ip?

Bottom line is  the host computer can't get a network connection because the turtle isn't giving it the ip addr it expects.

Share this post


Link to post
Share on other sites

Just going by your message and nothing else.  Are you referring to the network connection over eithernet or the network connection over USB?  Cause those are two different things.   When you plug in the lan turtle over USB to your computer it makes it's own "network" connection and get a DHCP IP from the lan turtle.  Once you know what it's IP is then you could give your PC a static IP if you prefer. 

If you are referring to the lan turtle's network port, it's been a while but I believe you give the turtle itself an IP to make the network your going to plug it into.  At least that's how I've done it in the past.

Share this post


Link to post
Share on other sites

I think I am referring to the usb side.  Suppose the target pc I want to connect the lan turtle to has a static ip address of: 10.10.50.102 and I cannot change it (it's administered by someone else).  How do I configure the turtle to assign it that specific address?

By default, the turtle will give an address in the 172.16.84.x range.  How do I statically assign 10.10.50.102 to a host I plug it into?

Share this post


Link to post
Share on other sites

But that's the thing that I think your getting confused on.  There are no USB static IPs on computers that are just sitting around.  When you plug in the lan turtle via USB you are creating that "virtual" network.  There was nothing there before it.  So by default it'll be dynamic (DHCP).  I can't think of a reason of why you'd want to make it static but I guess the option is there.  But it is not a TRUE ethernet network.  Think of it as a virtual network between you and the lan turtle or that pc and the lan turtle. 

So hopefully that wasn't too confusing but to answer your question above.  If the computer has a static IP of 10.10.50.102 that is a physical ethernet connection.  The lan turtles 172.16.84.x network is a virtual network between the lan turtle and that computer.  So that computer will automatically get am IP of 172.16.84.x.  It'll still have the 10 network because that's a different network.  So at that point it'll have two networks.  Hope this helps.

Share this post


Link to post
Share on other sites

hmmm... then maybe I've came to the wrong conclusion about the ip address being the issue.  Well, in any event, I plug in the turtle and the target pc has no network connection whatsoever!

scenario:  the ethernet cable is plugged in directly to the target pc and the pc is working fine and getting a network connection.  I then plug the turtle between the ethernet cable and an available usb port on the pc.  The pc doesn't get a network connection.  What can I do here?

I've tried multiple usb ports and I know they are all to be working because I've tried different usb devices on them.

I think we have to put ourselves in the shoes of an admin.  If you had a pc, how would you configure it to prevent a turtle from working if connected to it?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...