1 |
On 12/19/2010 05:28 PM, Dale wrote: |
2 |
> I want fireball to get a fixed IP from the router and I want smoker |
3 |
> to get a fixed IP from the router. I think I know how to do that much. |
4 |
|
5 |
When I first set up my TrendNet router I worried about that, too. After |
6 |
spending many hours doing exactly what you're doing, I finally noticed |
7 |
that the DHCP server running on the router always assigned each machine |
8 |
the same IP address anyway, so I gave up and used the default router |
9 |
settings for everything and got fixed IP addresses by default. |
10 |
|
11 |
I believe the router assigns IP addresses based on the MAC address of |
12 |
each ethernet chip. At least the router's configuration menu lets me |
13 |
make adjustments based on MAC addresses, but I'm just guessing there. |
14 |
|
15 |
If your router does the same, you can add smoker and fireball to your |
16 |
/etc/hosts using the IP addresses that your router (always) assigns |
17 |
them, so you can address them each by name on your local network. |
18 |
|
19 |
I also noticed by using a port scanner on my router that it listens |
20 |
on port 23 as well as port 80, so I can telnet to the router and really |
21 |
look under the hood at its linux guts. I don't think the manual gave |
22 |
that secret away, IIRC. |