Re: DHCPCD on an internal LAN
- From: Ivan Marsh <annoyed@xxxxxxx>
- Date: Mon, 10 Dec 2007 16:20:11 -0600
On Mon, 10 Dec 2007 22:04:40 +0000, Mike wrote:
Responding to Ivan Marsh...
On Mon, 10 Dec 2007 20:55:21 +0000, Mike wrote:
I just confused myself trying to set up dnsmasq on P2 so that other
machines on my internal lan connect in the same way (to P2) using
their dhcpcd rather than static IPs.
I'm getting the idea dnsmasq was designed to provide a method of
routing an internal machine through a gateway machine and out to the
external DHCP server (in this case this would be my broadband service
provider).
If I get what you're trying to do here you're not going to have much
luck. Your provider will only allow one IP address to be DHCPed to you
local network, the rest have to come from your internal network.
If you want dynamic internal addresses you have to run a DHCP server on
your Internet connected machine and run IP masquerading to route the
traffic.
Quite the opposite. I don't want the LAN machines to ever connect to the
internet at all. The only machine that should ever connect to the
internet should be the P2 machine. All others on the LAN should only be
able to SSH into an account on the P2 and run P2 applications remotely
via SSH to surf etc. Therefore, only one machine ever goes online (the
P2), and only one internet connection required. And, each internal LAN
machine should remain isolated from any other on the LAN. A kind of
"blind tentacle" arrangement with the P2 as head.
Okay.
My problem is getting the local machines to ask the P2 for internal LAN
IP addresses, using DHCPCD as they boot up on the LAN, rather than
configuring everything with static IPs as I currently have things.
That's just a matter of installing a DHCP server on the P2 machine that
services the internal LAN then.
As for isolating the internal machines, if the P2 machine isn't offering
them any route to the internet then they won't have one... or one better,
changing the firewall to explicitly prevent a route to the internet.
--
I told you this was going to happen.
.
- Follow-Ups:
- Re: DHCPCD on an internal LAN
- From: Mike
- Re: DHCPCD on an internal LAN
- References:
- DHCPCD on an internal LAN
- From: Mike
- Re: DHCPCD on an internal LAN
- From: Ivan Marsh
- Re: DHCPCD on an internal LAN
- From: Mike
- DHCPCD on an internal LAN
- Prev by Date: Re: DHCPCD on an internal LAN
- Next by Date: Re: DHCPCD on an internal LAN
- Previous by thread: Re: DHCPCD on an internal LAN
- Next by thread: Re: DHCPCD on an internal LAN
- Index(es):
Relevant Pages
|