Re: Eth1 and eth0

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: Re: Eth1 and eth0
On Fri, 2005-04-15 at 10:34 -0700, Jesus E Zepeda wrote:
> Hello, list:
>
> I am using Fedora Core 2 in my computer, which is setup with two NICs:
> Eth1 NIC is connected to the LAN; and eth0 connected to the Internet.
> Also, eth1 NIC has as a gateway an interface of a router.
>
> Both eth0 and eth1 are active. I can ping from one another interface and
> to any host on either side. The problem I have is that I cannot reach
> the other side of the router.
>
> What can I do to be able to have my computer talk to both sides and
> across the router, when I know that the router will reply on the other
> side if I have eth0 (Internet) removed?

----
seems to me that the gateway device should be eth0.

it would be easier if you gave us the output of...

route -n

ifconfig -a

cat /etc/sysconfig/network-scripts/ifcfg-eth0

cat /etc/sysconfig/network-scripts/ifcfg-eth1

cat /etc/sysconfig/network

also, to act as a router, your probably need to do some things like...
echo "1" > /proc/sys/net/ipv4/ip_forward

suggest that you look at...
http://www.ecst.csuchico.edu/~dranch/LINUX/ipmasq/c-html/stronger-
firewall-examples.html#RC.FIREWALL-2.4.X-STRONGER

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss