Stránka 1 z 1

Debian VLAN

Napsal: 02 Nov 2012 12:40
od Rudolf Dvořák
zdravim na mikrotiku mam na eth2 danou vlan a mam ji v bridge na eth3
pokud dam dhcp-client na bridge-vlan tak dostanu normalne ip adresu z dhcp a pingam ale pokud na serveru na debianu na eth3 tak proste ani s pevnou ip adresou nepingu
tady jsou nastaveni

MK

Kód: Vybrat vše

/interface bridge
add name=bridge-VLAN11
/interface bridge port
add bridge=bridge-VLAN11 interface=VLAN11-E3
add bridge=bridge-VLAN11 interface=VLAN11-E2
/interface vlan
add interface=ether2 name=VLAN11-E2 vlan-id=11
add interface=ether3 name=VLAN11-E3 vlan-id=11



DEBIAN: /etc/network/interfaces

Kód: Vybrat vše

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

auto vlan11
iface vlan11 inet static
address 10.0.0.254
netmask 255.255.0.0
vlan_raw_device eth0


Diky predem linuxakum borcum

Re: Debian VLAN

Napsal: 02 Nov 2012 20:03
od hafieror
A proč není ta vlan na bridge?

UPDATE: Beru zpět, asi jsem nepochopil jak je to přesaně myšleno.

Re: Debian VLAN

Napsal: 03 Nov 2012 12:55
od Rudolf Dvořák
UPDATE:
mikrotik je nastaven nejspis spravne
jeste dodam ze debian je vm na vmware
pokud nastavim ve vsphere clientu (na fyzickem hostu managament network s vid 11 tak normalne dostane ipadresu host a da se normalne pingat