Re: [leaf-user] DHCP Management

2002-07-13 Thread Ray Olszewski

At 08:50 AM 7/13/02 -0700, Harold Miller wrote:
Lynn,
   Maybe I'm hiking off in the wrong direction.

I wanted to have a MASQ'd windows net, and 3 Internet Servers (WWW/DNS,
SMTP/DNS, WWW) connected via a Bering RC3 firewall to a Cable modem on the
Internet. I assumed (yes, I know what it stands for) that to do that I would
need 5 IP's in the same subnet,


I count 4 addresses, not 5 -- one for the router itself and one for each of 
the 3 servers. The NAT'd LAN does not need a separate external address; it 
uses the router's own address externally.. Actually, if you did it by 
service, not by server, you could get by with 3 addresses ... but doing it 
that way is a bit trickier then you probably want to try for.

As to the same subnet part, see below.

with the firewall eth0 being the connection
to the INTERNET, and eth2 being the gateway for the servers to toss their
data to. eth3 would service the MASQ'd boxes. When it was all running I was
gonna TRY to config eth1 as a backup net connection, perhaps using DSL or
ISDN.

The backup will also be tricky, at least for the servers, unless you go to 
something a lot more complex (and probably expensive) than you are likely 
to have in mind.

Is there a better plan? The Cable Co will sell me 5 IP's, but they may NOT
be in a sub-net and they have to be issued at least once thru their DHCP
server, to avoid conflicts with their other clients. I've never tried
routing individual, non-related IP's thru a firewall...

They can't be *completely* non-related. They will have to be on some 
definable network, or else the ISP won't be able to handle the routing in 
any sensible way. But they may be non-continguous addresses on a /24 or /22 
(or whatever the ISP uses) network.

Individual addresses can be handled with proxy arp, and that is probably 
the easiest way to do what you want. You can'ty simply route them unless 
the ISP cooperates, modifying its routing table to identify the LEAF 
router's IP address as its route to the other 3 (or 4).

The tricky part for proxy arp is the DHCP part. I don't know of a way for 
the LEAF router to acquire, via DHCP, multiple addresses, then proxy-arp 
(and pass on to the actual servers) all but one of them. If the addresses 
are stable, though (I infer they might be from the at least once phrase), 
you can just get the ISP to issue them initially by connecting the hosts 
directly to the ISP, then treat them as static addresses for proxy arp setup.

OTOH, if  the addresses will change a lot, then how do you propose to use 
them to run servers? You appear to be intending to run authoritative DNS 
servers for your domain locally (otherwise your DNS resolvers do not need 
to be Internet servers), and to do that, you need stable, predictable IP 
addresses, not ones that change at the cable company's whim.

Thank you for your time. I DO APPRECIATE the prompt, and mostly accurate
support this group provides. Perhaps some day I can assist, when I've a bit
more experience in this specific arena. (I'm not afraid of writing technical
documentation.)



--
---Never tell me the 
odds!--
Ray Olszewski-- Han Solo
Palo Alto, California, USA  [EMAIL PROTECTED]
---



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] DHCP Management

2002-07-13 Thread Tom Eastep

On Sat, 13 Jul 2002, Ray Olszewski wrote:

 
 They can't be *completely* non-related. They will have to be on some 
 definable network, or else the ISP won't be able to handle the routing in 
 any sensible way. But they may be non-continguous addresses on a /24 or /22 
 (or whatever the ISP uses) network.
 
 Individual addresses can be handled with proxy arp, and that is probably 
 the easiest way to do what you want. You can'ty simply route them unless 
 the ISP cooperates, modifying its routing table to identify the LEAF 
 router's IP address as its route to the other 3 (or 4).

I agree with Ray that Proxy ARP is the only sensible way to handle this 
configuration. See:

http://www.shorewall.net/Documentation.htm#ProxyArp

and

http://www.shorewall.net/ProxyARP.htm

-Tom
-- 
Tom Eastep\ Shorewall - iptables made easy
AIM: tmeastep  \ http://www.shorewall.net
ICQ: #60745924  \ [EMAIL PROTECTED]



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



RE: [leaf-user] DHCP Management

2002-07-13 Thread Harold Miller

On Sat, 13 Jul 2002, Ray Olszewski wrote:
snip

 Individual addresses can be handled with proxy arp, and that is probably
 the easiest way to do what you want. You can'ty simply route them unless
 the ISP cooperates, modifying its routing table to identify the LEAF
 router's IP address as its route to the other 3 (or 4).

Then Tom says:

I agree with Ray that Proxy ARP is the only sensible way to handle this
configuration. See:

http://www.shorewall.net/Documentation.htm#ProxyArp

and

http://www.shorewall.net/ProxyARP.htm


BINGO!!! That second link is EXACTLY what I want to do. Now if the Cable
Company can hold up their part of the deal.

I'll post specifics as soon as I get it opeational.

Heartfelt Thanks to both Ray and Tom

Harold



--
This message has been scanned for viruses and
dangerous content by NW.NET's MailScanner, and is
believed to be clean.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] DHCP Management

2002-07-12 Thread Brad Fritz


On Fri, 12 Jul 2002 11:55:50 PDT Harold Miller wrote:

 Running Bering RC3, how can I check on current DHPC leases that have been
 used to set up my INET (eth0) ethernet port,

Does RC3 still use pump by default?  If so, is pump -s
what you're looking for?  It enumerates DHCP interfaces
and includes a handful of configuration parameters, as
well as renewal and expiration time.  pump --help will
list other options.

 and is it possible for a second
 ethernet card (eth2) to pass its MAC address to the same DHCP server and get
 an IP assigned as well?

I haven't tested this, but have you tried setting

   iface eth2 inet dhcp

and issuing a ifup eth2 command?  ip link set eth2 up;
pump -i eth2 might also work, but again that is untested.

--Brad



---
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html