[squeak-dev] Network address lookup with multiple adapters
Bert Freudenberg
bert at freudenbergs.de
Tue Jul 21 00:58:41 UTC 2009
On 20.07.2009, at 21:54, Jon Hylands wrote:
>
> Hi everyone,
>
> So, hooked up to my robot are two separate networks - one is the wifi
> connection to the router (192.168.1.115), and the other is to a
> gigabit
> ethernet camera using the ethernet port on the mini-itx
> (169.254.1.11).
>
> When I run ipconfig (under XP) I get this:
>
> Windows IP Configuration
>
> Ethernet adapter Local Area Connection:
>
> Connection-specific DNS Suffix . :
> Autoconfiguration IP Address. . . : 169.254.1.11
> Subnet Mask . . . . . . . . . . . : 255.255.0.0
> Default Gateway . . . . . . . . . :
>
> Ethernet adapter Wireless Network Connection:
>
> Connection-specific DNS Suffix . : phub.net.cable.rogers.com
> IP Address. . . . . . . . . . . . : 192.168.1.115
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 192.168.1.1
>
> If I don't have the camera plugged in, when I evaluate:
>
> NetNameResolver localAddressString
>
> it returns:
>
> '192.168.1.115'
>
> However, once I plug in the camera and it gets an IP address assigned,
> #localAddressString returns '169.254.1.11'.
>
> Is there a way to apecify the adapter name, or get all the network
> addresses?
Yes, there is a newer NetworkPlugin, at least on Linux. Not sure if
it's been ported to Windows yet.
- Bert -
More information about the Squeak-dev
mailing list
|