[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which IPs for Which Devices?



On Mon, Oct 18, 1999 at 07:31:59PM -0400, Greg Wooledge wrote:
> Art Lemasters (alemas@rmi.net) wrote:
[...] 
> > I want to connect it with a router (routing PPP) via one 
> > ethernet card (eth0).  Should all three devices (Linux system, ethercard
> > and router) have the same IP address...
> 
> I don't understand this part.  What is this router, exactly?

Oops.  I should have been more clear on this.  The "router" is a
Cisco 675 modem/router (does a little of both).  You'll hear quite
a bit of this soon, as US West is offering DSL service at very low
rates this way.  The ethernet card (3Com 905TX) is connected to the
external modem/router through a CAT 5 line and a "command interface"
(serial line from serial port two).

> 
> Do you have other computers on a local area network with which you would
> like to use the Internet?  If so, you can have your Linux box work as
> a router.

     Yes, and if possible, I will continue to use the Linux box as a
router after the "modem/router" properly forwards traffic both ways.
Otherwise,...  By the way, the Cisco 675 and DSL will reportedly (by
Cisco & Megabit services) work with Linux in either bridging or routing
mode.

> 
> > I've found so far only addresses nets with a whole range of IP addresses,
> > but I only have _one static IP_.     
> 
> If you want multiple computers to share a single IP address then you need
> to use IP masquerading (or just use a traditional proxy configuration).

Thanks.  :-)  But according to the docs (Net How-To's, etc.), the ethernetf
interface and "router" still need their own IPs.  Or do they...?  And if so,
can their IPs be "private" IPs (even though the "router" is the link between
this machine and the Internet)?  

> 
> Read the IP Masquerading mini-howto.

OK.  :-)

> 
> And be forewarned: you may not be able to get the slink ipmasq package
> to work; I found it much better to configure IP masquerading by hand.

Thanks.  ...made it through setting up Bind, so this should be possible.

Art


Reply to: