www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

[Question]Connect multiple ADSL in a single ETH01 using VLAN

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking
View previous topic :: View next topic  
Author Message
Guilmon_DT



Joined: 28 Jun 2010
Posts: 2

PostPosted: Mon Jun 28, 2010 2:50 am    Post subject: [Question]Connect multiple ADSL in a single ETH01 using VLAN Reply with quote

IN ENGLISH: (Ver abajo para Español)

Hello.
My intention is connect multiple ADSL to multiple VLANs to use a single interface Ethernet ETH01 and make load balancing.

I can not buy a 4 port ethernet card because where I live are very very expensive.

All ADSL modems are configured in "Bridged" ... I receive a "Dynamic" IP Certified of my ISP for each ADSL. I would not change it to "Router" mode

I have installed Zeroshell 1.0-b12 in a VMware virtual machine (Network adapters in "bridge" and with promiscuous mode enabled). The Host OS is SuSE Linux Enterprice Server 11 SP1. The server is an HP Proliant ML150 G6. The Smart Switch is a Cisco SLM2024.

The problem is this:
I can not run the DHCP Client on any VLAN in ZeroShell.
I would like to acquire IP address for DHCP in a VLAN interface.
In the configuration of the network (in the web panel), only allows me to assign a VLAN to a static IP rather than a dynamic IP.

I have tried using the Command Line:
> dhclient ETH01.2
But never get a response.

The Switch is configured as follows:
P1 (taged) -> VLAN 2, 3, 4 (to SERVER)
P2 (untaged) -> VLAN 2 (to ADSL 1)
P3 (untaged) -> VLAN 3 (to ADSL 2)
P4 (untaged) -> VLAN 4 (to ADSL 3)

I tested this configuration with the SuSE and working properly:
- Eth0 interface without IP
- Eth0.2 interface as DHCP
(To configure this, I used an graphycal interface that includes SuSE called YaST. I Don't know as do it by command-line)
(I tested only one VLAN at a time)

SuSE allowed my to acquire IP with DHCP on VLAN interfaces
Can anyone help me make this work in ZeroShell?

==============================================
EN ESPAÑOL:

Hola.
Mi intencion es conectar multiples ADSL a multiples VLANs para asi usar una sola interface Ethernet ETH01 y hacer balanceo de carga.

No puedo comprar una tarjeta ethernet de 4 puertos ya que, donde yo vivo, son muy muy caras.

Todos los modems ADSL estan configurados en modo "Bridged"... yo recibo una IP Certificada "Dinamica" de mi ISP por cada ADSL. No quisiera cambiarlos a modo "Router".

Tengo instalado Zeroshell 1.0-b12 en una maquina virtual con VMware (adaptadores de red en "bridge" con modo promiscuo activado). El OS Host es SuSE Linux Enterprice Server 11 SP1. El servidor es un HP Proliant ML150 G6. El Smart Switch es un Cisco SLM2024.

El problema es el siguiente:
No puedo hacer que el Cliente DHCP funcione en ninguna VLAN en ZeroShell.
Quisiera adquirir la direccion IP por DHCP de una interface con VLAN.
En la configuracion de la red (desde el panel web), solo me permite asignar una VLAN a una IP fija y no a una IP Dinamica.

He probado usando la Linea de Comando:
> dhclient ETH01.2
Pero nunca obtiene respuesta.

El Switch esta configurado de la siguiente mandera:
P1 (taged) -> VLAN 2, 3, 4 (to SERVER)
P2 (untaged) -> VLAN 2 (to ADSL 1)
P3 (untaged) -> VLAN 3 (to ADSL 2)
P4 (untaged) -> VLAN 4 (to ADSL 3)

He probado esta configuracion con el SuSE y funciona correctamente:
- Interfaz Eth0 sin IP
- Interfaz Eth0.2 con DHCP
(Para configurarlo, he utilizado una interfaz grafica que incluye SuSE que se llama YaST. No se como hacerlo por linea de comandos)
(Solo probe con una VLAN a la vez)

SuSE si me permitió adquirir la IP con DHCP en las interfaces con VLAN.
¿Puede alguien ayudarme a hacer que esto funcione en ZeroShell?
Back to top
View user's profile Send private message
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Mon Jun 28, 2010 7:25 am    Post subject: Reply with quote

There shouldn't be a problem to do what you want. On ETH01 create 3 subinterfaces with a vlan assigned to them. Then click on Dyn.IP for that interface and switch to enable.
If it is not working properly, I suggest to try your setup without the Virtual Machine. Maybe something is wrong with its configuration and is not passing the vlan tags correctly to the Zeroshell.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Guilmon_DT



Joined: 28 Jun 2010
Posts: 2

PostPosted: Mon Jun 28, 2010 7:57 pm    Post subject: Reply with quote

ppalias wrote:
There shouldn't be a problem to do what you want. On ETH01 create 3 subinterfaces with a vlan assigned to them. Then click on Dyn.IP for that interface and switch to enable.
If it is not working properly, I suggest to try your setup without the Virtual Machine. Maybe something is wrong with its configuration and is not passing the vlan tags correctly to the Zeroshell.


Thank you very much, you're right. I booted ZeroShell from Flash Drive and worked.
Yes, there is something wrong configured in the virtual machine.

Although it worked fine using the command line:
> dhclient ETH00.2
and not automatically in the Web Panel.

I would have to write that in the Script Post-Boot. 'll be back if I have questions.
Thanks Again =D
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group