I now have set up a bridge for the PLC that connects to my WiFi access point. I set it up and tested it with a laptop. Only took a week to get to this point. I connected it to the PLC today and I get nothing. That brings me to PLC settings that was described in the previous post.
What is the bridge? Can you provide more info?
So would I get the customer's network IP and make an IP for the PLC?
You'll need to know what subnet the PLC and/or bridge will be on to configure them appropriately.
Is there a way to get a list of assigned IPs from the router in the network?
Yes. You can generally log in directly to the router by navigating to it in a web browser. Most home routers, for example, can be addressed on 192.168.1.1 or 10.0.0.1. When you're on their subnet, typing the address in the address bar will get you to a configuration page. There are many other network scanning tools, but this is is the most direct way. This will also allow you to create a reservation for the IP address you want for your bridge and/or PLC.
I checked my notes for my customer's WiFi connection and found my iPod's IP is 192.168.1.114. I now know what it means. A week ago it was just a number to me.
Will another device that connects to that WiFi be assigned a different IP?
Yes. Your gateway is at 192.168.1.1. Each device needs a unique IP address or you will get network conflicts.
Will the iPod I used to connect still have the same IP? Was my iPod MAC address assigned to that IP?
If the routers DHCP assignment gets to the address I assigned the PLC will it skip over it?
The easiest answer here is "it depends". A lot of times a router will create a temporary DHCP reservation so that the same computer will reconnect to the same IP if it temporarily loses connection. You can't assume this, however. It does assign it by hardware MAC for the interface.
The router should not assign IP addresses to the address you have assigned to the PLC. It will see an existing connection and skip over it. However, this does not mean that when your PLC powers up and connects to the router, that another device won't already been assigned that IP. In other words, your PLC doesn't check to see if the IP it asserts is taken before announcing to the network that it is located at that IP. That is why you want to either (or both) set the IP outside of the range used for DHCP, or create a reservation in the router that always assigns a particular IP to a particular MAC address. These are configurations in the router that will solve this potential conflict.
If my customer's WAN IP address changes is there a way for the PLC to convey the new address. Would PING send the IP for the PLC and how would I capture it on my end? Would an email do it too? I bet it's somewhere in the header.
This is a pretty typical issue, and you need to resolve whether or not they have a static IP from their ISP or not. If no, then your work is more complicated. The easiest route is to see if they can get one. There is often a small surcharge for doing so. If you don't get one, a lease on an IP will often last 48hrs, but this is totally dependent on the ISP's whim as to how they think it best to allocate their IPs.
A lot of routers these days have a feature that allows 'dynamic dns'. This involves updating a third-party as to the current IP, so that you can ask that third party what the address is. One such free service is dyndns. If your customer's router has this feature, then you can enter your dyndns account information into the router and it will keep them updated, even if the WAN IP changes. You would assign a dyndns domain name to your customer, e.g. mycustomer.dyndns.org, and when you wanted to reach your customer you would use the domain name mycustomer.dyndns.org and it would point you to your customer, whatever the IP at the moment may be.
If your router does not have this feature, you can set up another computer on the network to do the updating, but a static IP would be easiest. I wouldn't try to ad hoc a solution here.
There are a few other obvious options, such as a hardware VPN, or a peer-to-peer VPN such as LogMeIn or LogMeIn Hamachi, but these require another PC under your control on the network to be on and running to allow you access to other network devices.