Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am trying to connect to a Lantronix Ethernet to serial module. I can find the IP address of the module, but I cannot see the IP addresses below that.

Using C# .NET application...

I can connect if I hard code the sub IP address.

It's a simple network...PC connected directly to the module.

I'm relatively new to TCP/IP so be gentle...

What I have tried:

IPHostEntry ipHost = Dns.GetHostEntry(Dns.GetHostName());
Shows the LAN address, but IPHostEntry ipHost = Dns.GetHostEntry(ipHost.AddressList[8]) is rejected by the module.
Posted
Comments
Member 15627495 8-Mar-23 13:26pm    
use 'ARP' cache, you'll get all IPs record on LAN.
Member 15945478 8-Mar-23 13:36pm    
I've tried that. ARP only shows the main LAN address. It does not show any sub IP addresses on that LAN.
[no name] 8-Mar-23 14:22pm    
What is a "serial module"? Your "gateway" may not be smart enough to handle your requests.

1 solution

We are using the Lantronix Xport that provides Ethernet to serial that connects to our microcontroller. It is supposed to be TCP/IP compliant.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900