On Sun, 05 Oct 2008 09:42:28 +1300
David Lowe <[EMAIL PROTECTED]> wrote:

> Hello cluggers, hope someone can take 5 minutes to give me a hand...
> 
> I've just installed a two-way satellite modem (because I live way out in the
> styx and can't get anything else). It includes a DHCP server which I decided
> to start using; previously everything was static. But I have one machine (my
> MythTV server) that really needs to keep its static IP address. I have
> worked out how to 'reserve' it's address on the DHCP server by specifying
> it's MAC address. I'm not certain it works yet but that's not my problem...
> 
> My problem is that the DHCP server hands out addresses in the range
> 192.168.5.11/254. It's Ethernet interface is 192.168.5.100/255.255.255.0.
> But I want to leave my server with a static address of 192.168.1.201 (its
> easier to leave it alone rather than have to shag around with mySQL issues).
> The result is that the server disappears off the network. I guess it's the
> '5' in the IP address that's causing the problem... but from my limited
> understanding, I thought internal address were internal and it should not
> matter.
> 
> I guess I can work around the problem by either reconfiguring (or disabling)
> the DHCP server (but not sure if I might stuff anything else up) or the
> server (don't really want to face the drama of changing the host of a MythTV
> server) - so I thought I would ask first: why can't I mix IP addresses like
> this?
> 
> tia
> 
> - David
> 
The problem is that they're in diferent subnets ( 192.168.1 and 192.168.5 ), 
and so are invisible to each other. There are 2 ways to fix this. You can 
either relax the netmask to just use the first 2 octets (192.168) to define the 
subnet (192.168.0.0/16) instead of the default 3, or to reconfigure dhcp to 
offer ip addresses in the 192.168.1 subnet.

Personally, I'd go for the second option - reconfiguring DHCP to offer from a 
range in the 192.168.1 subnet: it should be as simple as replacing the 5 for a 
1 in the right config file - and make sure the range doesn't include your 
static ip address for the Myth box. Sounds like you've got well started with 
this. You'll need to refresh the existing clients once thats done to get them 
all using the new subnet.

hth,

Steve

-- 
Steve Holdoway <[EMAIL PROTECTED]>

Reply via email to