The router and printer will need to be on different subnets, with each interface on the laptop configured for a suitable address within that range.
For example, you might have the printer as 192.168.2.2/24, the laptop's wireless interface on 192.168.2.1/24, the laptop's Ethernet interface as 192.168.1.1/24 and the router as 192.168.1.2/24.
If they all have the same network address, Windows will simply send all outgoing packets for that network out of the interface that is highest in the binding order, seeing it doesn't actually know what interface a particular IP address can be reached from if it is possible from more than one.
Using two different ranges of IP addresses means Windows can immediately differentiate between the networks and sends data to its correct destination.
Note it is actually possible to use the same network address if you create suitable static routes but in this situation that would not be recommended.
Last edited by NZLamb; 04-26-2006 at 07:00 AM.
|