Debian VLAN
Napsal: 02 Nov 2012 12:40
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
DEBIAN: /etc/network/interfaces
Diky predem linuxakum borcum
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