On Mon, 23 Jun 2003 00:42:01 +0300
Herouth Maoz <[EMAIL PROTECTED]> wrote:
> I have a Linux machine with two network cards, which serves as the
> NAT gateway. eth0 is connected to the hub, eth1 to the modem.
>
> eth0 is set up static, 192.168.1.1.
> eth1 is set up to use DHCP (to get the real IP from the modem).
No, the external interface should not have an IP! (it is documented
somewhere, forgot where). I have the same setup with the same ISP
and modem (The following is from RedHat):
DEVICE=eth1
BOOTPROTO=static
#MTU=1452
MTU=1200
ONBOOT=yes
Note the missing IPADDR and NETMASK variables.
The MTU is a result of some problems I had, I'm not sure if it solved
the problems or just a left over that needs to be cleaned up (will
test someday).
Hope it helps.
--
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED] http://www.actcom.co.il/~oron
Q: What does FAQ stand for?
A: We have Frequently Asked this Question, and we have no idea.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]