Article View: comp.os.linux.networking
Article #613Re: dos PC´s en red, ¿como?
From: Thoth
Date: Sat, 15 May 1999 00:00
Date: Sat, 15 May 1999 00:00
34 lines
1841 bytes
1841 bytes
mary wrote:
>
> pues intenta poner tu /etc/init.d/network a ver si me aclaro un poco mas.
> o si puedes me la mandas por e-mail mary@marywell.com
Pues basicamente para el equipo 1 seria este:
#! /bin/sh
ifconfig -v lo 127.0.0.1
route -v add -net 127.0.0.0
IPADDR=125.1.3.88
NETMASK=255.0.0.0
NETWORK=125.1.3.0
BROADCAST=125.255.255.255
GATEWAY= 125.1.0.222
ifconfig -v eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route -v add -net ${NETWORK}
[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
Aunque te pediria encarecidamente, que para un correcto funcionamiento
uses otros numeros, ademas de direcciones IP de tipo C.
Por ejemplo
Ip tipo 192.168.x.x
netmask 255.255.255.0
broadcast 192.168.x.255
--
Linux User 90535
Usando kernel 2.2.7 En Linux/GNU Debian 2.1
Todos contra los monopolios (T$ y M$).
-----------------------------------------
Technical Details
Message-ID:
<373DE480.C94ED5F3@bbvnet.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01be9e1c$dd7a3840$3700007d@rou.redestb.es> <slrn7jpcov.mg.thoth@thoth.es> <01be9e7c$116c5c00$4b56513e@rou.redestb.es>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9fe1,35ccfe8712da9c5f X-Google-Attributes: gidf9fe1,public X-Google-Thread: 10669a,35ccfe8712da9c5f X-Google-Attributes: gid10669a,public X-Google-Thread: f9b51,35ccfe8712da9c5f X-Google-Attributes: gidf9b51,public From: Thoth <7331680571#thoth@bbvnet.com> Subject: Re: dos PC´s en red, ¿como? Date: 1999/05/15 Message-ID: <373DE480.C94ED5F3@bbvnet.com> X-Deja-AN: 478493254 Content-Transfer-Encoding: 7bit References: <01be9e1c$dd7a3840$3700007d@rou.redestb.es> <slrn7jpcov.mg.thoth@thoth.es> <01be9e7c$116c5c00$4b56513e@rou.redestb.es> To: mary@marywell.com X-Accept-Language: es-ES,es X-Server-Date: 15 May 1999 21:17:56 GMT Content-Type: text/plain; charset=us-ascii Organization: TSOR Mime-Version: 1.0 Reply-To: thoth@bbvnet.com Newsgroups: comp.os.linux.networking,comp.os.linux.setup,es.comp.os.linux