Re: Routing help....

Jose Gonzalez <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
It works better when use subnets routing, for filtering the incoming and 
outgoing traffic. We have a similar conection, my configuration is teh 
next (olnly suggest):

Pc card 1: 192.168.1.1 netmask 255.255.255.0
Pc card 2: 10.0.0.1 netmask 255.0.0.0
Defaulrouter is 10.0.0.138

My DSL connection is 10.0.0.138.

For configure Linux for gateway:

edit /etc/sysctl.conf and configure the next line:
  net.ipv4.ip_forward = 1

edit /etc/sysconfig/netwokw and add the next line:
FORWARD_IPV4=yes

Is necesary configure some firewall for security...



System escribió:
> Hello All,
> 
> I have got two network cards on my PC.
> 
> 1. 192.168.1.101
> 2. 192.168.1.102
> 
> I have a DSL connection. gateway IP 192.168.1.1. I need to put the DSL cable
> in network card having ip 192.168.1.102 and route all the Internet
> connections comming from 192.168.1.1 to 192.168.1.102.How do I do it?
> 
> Thank you,
> 
> Tina...
> 
> 
> 
> 
> _______________________________________________
> enigma-list mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/enigma-list
> 


-- 
José Gpe. González García.
Informática.
38180891 Tel. Directo

Exión es la forma más amigable de controlar tu negocio.
Si sabes usar Excel...ya sabes usar Exión.
De venta en Sanborns.
www.exion.com.mx

Computación en Acción
Soñar. Poder. Crecer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.