[NTLUG:Discuss] Newbie needs HELP!! with RH6.2 or 7.0 as a router

Randall Gibson wabbit at tvec.net
Wed Jan 24 23:26:41 CST 2001


If you are using Masqerading, you need to set
some variables first. I use:

/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_irc
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
echo "1" > /proc/sys/net/ipv4/tcp_syncookies

Read IP-Masquerade-HOWTO at:
http://www.linuxdoc.org/HOWTO/HOWTO-INDEX/howtos.html
for more info.

On Wed, 24 Jan 2001 22:48:41 Thomas English
wrote:
> I have been attempting to set up an old
> Pentium II machine as a router.
> The machine has 2 NIC's ( ie. eth0 - Private
> address, eth1 - Dedicated IP )
> I can ping eth0 and eth1 IP addresses from the
> private network, but I cannot
> ping any address past eth1. The default
> gateway is eth1. The eth1's default gateway
> is the address of the Cisco router connecting
> me to my ISP. 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=iso-8859-1"
> http-equiv=Content-Type>
> <META content="MSHTML 5.00.2919.6307"
> name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT face=Arial size=2>I have been
> attempting to set up an old Pentium II 
> machine as a router.</FONT></DIV>
> <DIV><FONT face=Arial size=2>The machine has 2
> NIC's ( ie. eth0 - Private 
> address, eth1 - Dedicated IP )</FONT></DIV>
> <DIV><FONT face=Arial size=2>I can ping eth0
> and eth1 IP addresses from the 
> private network, but I cannot</FONT></DIV>
> <DIV><FONT face=Arial size=2>ping any address
> past eth1. The default gateway is 
> eth1. The eth1's default gateway</FONT></DIV>
> <DIV><FONT face=Arial size=2>is the address of
> the Cisco router connecting me to 
> my ISP. </FONT></DIV></BODY></HTML>
> 



More information about the Discuss mailing list