Página 1 de 1

Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Sáb Set 05, 2009 7:56 pm
por ramiropampa
Muchachos, acá vamos posteando los módulos en Inglés.

Saludos
Ramiro

Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Ter Set 08, 2009 6:24 pm
por reginaldo
A T E N Ç Ã O !!!

houve alteração no capitulo Download :arrow: viewtopic.php?f=91&t=69094&p=172346#p172346


:arrow: Download da .iso da Versão 3.0 e Install e Update da Build-Tree da 3.0


Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Qui Set 10, 2009 10:59 pm
por reginaldo
ipnet, houve alteração no capitulo LoadBalance

Veja como esta o capitulo em portugues: :arrow: viewtopic.php?f=91&t=69094&p=172530#p172685

E o que voce traduzir ainda foi baseado no antigo: :arrow: viewtopic.php?f=25&t=70777#p188319

A mudança ocorreu no lançamento da 3.0.199 por ocasião da implementação do BFG

Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Sex Set 11, 2009 11:42 am
por gamba47
Reginaldo, con respecto a ese punto del tutorial, lo lei pero estas lineas no me quedan claras:

[*]Agora, temos que criar o arquivo, como por exemplo, internet2 que será o segundo "discador" para a eth2
Código: Selecionar todos
edit /etc/brazilfw/logical/internet2

LINK_ALIAS="internet2"
LINK_CONNECTION="internet"
LINK_TYPE="pppoe"
LINK_USERNAME="xxxxxx@xxxxx"
LINK_PASSWORD="xxxxxxx"
LINK_WEIGHT="1"


[*]Existindo mais placas de redes sigam a mesma lógica.[/list]

En la parte de LINK_CONNECTION va internet ? o internet2 ???

Saludos. Emiliano

Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Sex Set 11, 2009 12:27 pm
por reginaldo
Emiliano, vamos lá.

a variável LINK_ALIAS é a que faz referencia a "placa física"
a variável LINK_CONNECTION faz referencia ao TIPO de conexão. Neste caso "internet".

Exemplo temos 4 links de internet e uma rede. Então ficariamos com:

Em /etc/brazilfw/physical: teriamos os arquivos:
Código: Selecionar todos
local
internet
internet2
internet3
internet4


Em /etc/brazilfw/logical temos:
Código: Selecionar todos
local = para a rede local


E para os links teremos:
/etc/brazilfw/logical/internet
Código: Selecionar todos
LINK_ALIAS="internet" # faz referencia a /etc/brazilfw/physical/internet
LINK_CONNECTION="internet" # faz referencia ao TIPO de conexão
LINK_TYPE="pppoe"
LINK_USERNAME="xxxxxx@xxxxx"
LINK_PASSWORD="xxxxxxx"
LINK_WEIGHT="1"


/etc/brazilfw/logical/internet2
Código: Selecionar todos
LINK_ALIAS="internet2" # faz referencia a /etc/brazilfw/physical/internet2
LINK_CONNECTION="internet" # faz referencia ao TIPO de conexão
LINK_TYPE="pppoe"
LINK_USERNAME="xxxxxx@xxxxx"
LINK_PASSWORD="xxxxxxx"
LINK_WEIGHT="1"


/etc/brazilfw/logical/internet3
Código: Selecionar todos
LINK_ALIAS="internet3" # faz referencia a /etc/brazilfw/physical/internet3
LINK_CONNECTION="internet" # faz referencia ao TIPO de conexão
LINK_TYPE="pppoe"
LINK_USERNAME="xxxxxx@xxxxx"
LINK_PASSWORD="xxxxxxx"
LINK_WEIGHT="1"


/etc/brazilfw/logical/internet3
Código: Selecionar todos
LINK_ALIAS="internet" # faz referencia a /etc/brazilfw/physical/internet3
LINK_CONNECTION="internet" # faz referencia ao TIPO de conexão
LINK_TYPE="pppoe"
LINK_USERNAME="xxxxxx@xxxxx"
LINK_PASSWORD="xxxxxxx"
LINK_WEIGHT="1"


Espero ter conseguido explicar.

Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Sex Set 11, 2009 1:51 pm
por gamba47
Ahora entendí.

Debe ser por eso que no me estaba funcionando a mi!! jajajaj


Emiliano

Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Sáb Set 12, 2009 10:12 pm
por reginaldo
Comecei a separar as imagens por Língua. Algumas já estão prontas.

Criei 3 diretórios.

:arrow: http://www.brazilfw.com.br/tutorials/images/bfw_3_tuto/3.0-images-ing/ para imagens em Ingês

:arrow: http://www.brazilfw.com.br/tutorials/images/bfw_3_tuto/3.x-images-esp/ para imagens em Espanhol

:arrow: http://www.brazilfw.com.br/tutorials/images/bfw_3_tuto/3.x-images-pt/ para imagens em Português

Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Dom Set 13, 2009 12:50 am
por gamba47
Gracias Reginaldo!

gamba47

Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Qui Set 24, 2009 8:09 pm
por ghost
:arrow: Working with DHCP.

1 - DHCP for conventional non-subnetted networks

    In the file /etc/brazilfw/brazilfw.cfg options are:

    • DHCP_SERVER=´no´ = Default is disabled. To enable change ´no´ to ´yes´

    • DHCP_DEFAULT_LEASE=´7200´ = which corresponds to 2 hours (you can change this value to your preference)

      Also in the directory (folder) /etc/brazilfw/ we have the files dhcp.cfg and reserve.cfg

    • Header of /etc/brazilfw/dhp.cfg:
      Código: Selecionar todos
      [ip start] [ip end]

      For example:
      192.168.0.2 192.168.0.50 # It goes from 192.168.0.2 to 192.168.0.50

    • If you want you can use ranges of IPs:
      Código: Selecionar todos
      Example:
      192.168.0.2 192.168.0.50
      192.168.0.60 192.168.0.90
      192.168.0.95 192.168.0.100

    • The file reserve.cfg is to make reservations MAC+IP:
      Header of /etc/brazilfw/reserve.cfg:
      Código: Selecionar todos
      [ip] [mac]
      Example:
      192.168.0.55 00:00:00:00:00:00


2 - DHCP for subnets and networks with QOS

  • As shown in the topic "Working with Subnets" to create the subnets simply enter the range for the subnet on the file /etc/brazilfw/subnet.cfg and then execute the command /etc/rc.d/rc.subnet
  • If we wished that the handle DHCP, hiding all the system for each range subnet having "its own DHCP server", simply add dhcpat the end of the range of subnet. Using the above example would then read the file /etc/brazilfw/subnet.cfg:
    Código: Selecionar todos
    local 192.168 0 254 dhcp

  • To create a subnet number and configuration of the QoS class of sub-network at a certain speed, follow these examples:


[*]Setting up reserves reserve.cfg
Código: Selecionar todos
[ip] [mac]
10.20.1.2 00:00:00:00:00:00

This isolate clients in the QOS without having to create a single QOS [/list]

Observation:
    DHCP is executed from the bottom up. Primeiro van subnets and then goes in the dhcp network. The system automatically assigns it this way.

Re: Módulos Fianlizados para Brazil 3.0 en Inglés

MensagemEnviado: Qui Set 24, 2009 11:42 pm
por ipnet
:arrow: Working with Sub-Networks.

:arrow: Creating Sub-Networks:

First, an explanation on why the network mask is kept fixed in /30 (255.255.255.252)
in the file /etc/brazilfw/subnet.cfg:

o If we want to isolate the PCs so they are not seen by others in the network, the mask is set up in /30 (255.255.255.252), allowing only
two IPs in the subnetwork (the default gateway and the client PC).
With values lower than /30 for the mask, /29, /28, /27 for example, the clients will see each other.

o The design of /etc/brazilfw/subnet.cfg is exactly as described above to avoid the client PCs to be able to
see each other (it blocks the visibility in the network) by establishing a /30 network mask.

o If there is a need to establish a different network mask, other than /30, in order to increase the size of the subnetwork or to limit a
group, please proceed as described in item 2.


1 - Subnetworks with /30 Network mask.

* To create subnetworks we will work with the file /etc/brazilfw/subnet.cfg
and we create them using the command /etc/rc.d/rc.subnet

* Example: We will create 10 subnetworks. To do this, we will write the following in the file /etc/brazilfw/subnet.cfg
Código: Selecionar todos
local 10.50 1 10

Guarde y salga


#10 subnetworks will be created from 10.50.1.1 to 10.50.10.1 with /30 network mask.

# Explaining the local 10.50 1 10:

* local = Name of the network interface where the subnetwork will be created
* 10.50 = Network index
* 1 = Subnetwork start
* 10 = Subnetwork end

To create the subnetworks, run the next command:
Código: Selecionar todos
/etc/rc.d/rc.subnet


If you want to check the interface configuration:
Código: Selecionar todos
ifconfig


* In the client PC it would be as follows:
1. Client 1:
client = 10.50.1.2
mask = 255.255.255.252
gateway = 10.50.1.1
DNS = 10.50.1.1

2. Client 2:
client = 10.50.2.2
mask = 255.255.255.252
gateway = 10.50.2.1
DNS = 10.50.2.1

3. Etc ......


* To create subnetwork intervals , proceed as follows in /etc/brazilfw/subnet.cfg:

o creating intervals from 10 to 10
local 10.50 1 10
local 10.50 20 30
local 10.50 40 50
local 10.50 60 70
local 10.50 80 90

Save and exit:
o the following subnetworks will be created:
From 10.50.1.1 to 10.50.10.1
From 10.50.20.1 to 10.50.30.1
From 10.50.40.1 to 10.50.50.1
..............
Then execute the following command to create them:
Código: Selecionar todos
/etc/rc.d/rc.subnet


Perform backup
Código: Selecionar todos
backup


2 - Subnetworks with network mask different than /30

* To create subnetworks with network mask different than /30 it is necessary to create a new logic interface.
Remember that it already exists a logic interface called /etc/brazilfw/logical/local that is linked to the physical interface.

* Creating a new logical interface, "local2" for example.

Código: Selecionar todos
edit /etc/brafilw/logical/local2

[color=#0000BF]insert this:[/color]

LINK_ALIAS="local" # Nombre de la interface fisica
LINK_CONNECTION="local" # Tipo de conexion
LINK_TYPE="static"
LINK_IP="10.50.0.1" # Nueva subred
LINK_NETMASK="255.255.255.128" # /25 (128 utilizables)

Save and exit


Restart the network
Código: Selecionar todos
/etc/rc.d/rc.inet


Restart DHCP
Código: Selecionar todos
/etc/init.d/dhcp reload


:arrow: Click here to return to the index