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

Re: route setup and gateways



There are 3 things to do, 2 on the linux box and 1 on the clients:

1. Run this command, or put it in /etc/rc.d/rc.local:

/bin/echo 1 > /proc/sys/net/ipv4/ip_forward

2. set ipchains rules to allow packet forwarding as well:

/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i ppp0 -j MASQ

3. On the other machines (probably Windows?) run the following DOS command:

echo route add 192.168.168.0 mask 255.255.255.255 209.208.12.44


That should make all of the others work just fine.

--
Karl L. Pearson
Senior Consulting Systems Analyst
Senior Consulting Database Analyst
karlp ourldsfamily com
http://consulting.ourldsfamily.com
 My Thoughts on Terrorism In America:
 http://www.ourldsfamily.com/wtc.shtml

On Thu, 27 Jun 2002, brain_damaged wrote:

>Hello,
>Setting up a redhat 7.3 box.
>I have two nics in the box. One is set for a real ip
>209.208.12.44 and the other for 192.168.168.44
>
>i have a default gw to our router for the real ip.
>the 192 has a 192.168.168.0  * setting.
>
>I can ping the 192 machines and wireless radios from that machine but I can not traceroute to the wireless radio's from this machine.
>
>any other 192 machine on the lan will traceroute to the wireless radio;s
>
>should there be another default gateway for the 192 ip ?
>
>/sbin/route add gw 192.168.168.254 netmask 255.255.255.0 eth1   ??
>
>little confusing to me as a newbie.
>
>thanks
>md
>
>
>
>_______________________________________________
>Redhat-install-list mailing list
>Redhat-install-list redhat com
>https://listman.redhat.com/mailman/listinfo/redhat-install-list
>





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