
My modem is plugged into an Ethernet switch. The Ethernet card in my computer and my printer are each plugged into the switch. My modem has the address internally of 10.1.1. My printer's usually 10.1.1.2. My computer's usually 10.1.1.3. However, recently on a number of occasions, I've discovered my printer or computer has a different address. No doubt, some command will tell me the current addresses of things plugged into the switch, but I don't know which. Could someone enlighten me as to the command? Also, is there some way to force my printer and computer to keep their usual addresses permanently? Otherwise, when I discover that my printer isn't working or that my firewall's blocking connections, I have to change the relevant settings temporarily to match the different numbers, which is annoying. Thanks for reading this, Leslie -- Visit http://stumblng.tumblr.com An Australian lawyer's tumblelog about things (some legal, most not) you might otherwise have missed

Hi Leslie, I'd suspect that your modem is running DHCP, dishing out IP addresses to the devices on your network, on a first-come, first-serve basis. What modem is it? -- Regards, David Young [image: David Young's Facebook profile]<http://www.facebook.com/p/David_Young/580695413> [image: My status] <skype:funkypenguin?add> On 7/2/07, Leslie Katz <lesliek(a)ozemail.com.au> wrote:
My modem is plugged into an Ethernet switch. The Ethernet card in my computer and my printer are each plugged into the switch.
My modem has the address internally of 10.1.1. My printer's usually 10.1.1.2. My computer's usually 10.1.1.3.
However, recently on a number of occasions, I've discovered my printer or computer has a different address.
No doubt, some command will tell me the current addresses of things plugged into the switch, but I don't know which.
Could someone enlighten me as to the command?
Also, is there some way to force my printer and computer to keep their usual addresses permanently? Otherwise, when I discover that my printer isn't working or that my firewall's blocking connections, I have to change the relevant settings temporarily to match the different numbers, which is annoying.
Thanks for reading this,
Leslie
-- Visit http://stumblng.tumblr.com An Australian lawyer's tumblelog about things (some legal, most not) you might otherwise have missed
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

On Tue, 2007-07-03 at 04:50 +1000, Leslie Katz wrote:
My modem is plugged into an Ethernet switch. The Ethernet card in my computer and my printer are each plugged into the switch.
My modem has the address internally of 10.1.1. My printer's usually 10.1.1.2. My computer's usually 10.1.1.3.
However, recently on a number of occasions, I've discovered my printer or computer has a different address.
Sounds like your modem is allocating addresses using DHCP.
No doubt, some command will tell me the current addresses of things plugged into the switch, but I don't know which.
There's likely a way in your modem interface to see what DHCP leases it has allocated. You can also scan the network using 'nmap -sP 10.1.1.0/24' to find out what addresses are in use.
Could someone enlighten me as to the command?
Also, is there some way to force my printer and computer to keep their usual addresses permanently? Otherwise, when I discover that my printer isn't working or that my firewall's blocking connections, I have to change the relevant settings temporarily to match the different numbers, which is annoying.
There are a number of ways; you could set the address manually for each device (and change the DHCP server config so it's not going to give out the addresses you use) or you could configure the DHCP server so that it recognises your computer and printer's MAC addresses and always gives them the same IP. I'd probably opt for configuring the DHCP server.
Thanks for reading this,
Leslie
participants (3)
-
Bruce Kingsbury
-
David Young
-
Leslie Katz