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

Re: How to share cable connection ?



Hi,
On Sun, Mar 10, 2002 at 12:37:11AM +0800, Thomas Graham wrote:
> hey, I am wonder how can I share my cable connection
> to two PCs using debian ?

Yes.

> ipmasq using fix LAN ip, which is I do not like.

You are wrong here.  IPmasq method does not require this.  Network
IP assignment rocedure for most LAN requres to use one of the few IP
ranges to be used.

> is it possible to use DHCP server to share cable
> connection to LAN ?

Yes.  All you need is run dhcpd (There is few packages) on LAN CARD
which is connected to your LAN.

For example my gateway machine gets its IP from Cable ISP's DHCPD.  That
is for eth0:.

My LAN has few fixed IP (at least your gateway machne and servers need
to get fixed IP).  I use 192.168.1.0/24.  So my gateway is 192.168.1.1.
IP range 192.168.1.100-192.168.1.200 is provided to DHCP client.  This
is all configurable.  Good luck reading HOWTO and manual page.

Web page below has someinfo on building gateway.
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D
Visit Debian reference http://www.debian.org/doc/manuals/quick-reference/
There are 6 files: index.{en|fr|it}.html quick-reference.{en|fr|it}.txt
I welcome your constructive criticisms and corrections.



Reply to: