Metin2 Üst Bar Reklam
noisiv 1
noisiv
Manwe Work 1
Manwe Work
berkmenoo 1
berkmenoo
Bodyguardd 1
Bodyguardd
Vahsi Uzman 1
Vahsi Uzman

Linux ile 2 vlan'i bridge etmek.

  • Konuyu başlatan Konuyu başlatan esen4271
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 278
Alttaki vlan'lar eth0.2 ve eth0.4'u br0 vlan'i yapilmistir.Kendi sisteminize gore sekillendirin.Bu script bizzat kendi ihtiyaclarim dogrultusunda kendi sistemimin ihtiyaci icin kendim yazdim.Bu yazdigim script baskalarininda ihtiyacini giderecegine ve yarasina merhem olacagina inandigim icin paylasmayi tercih ettim.Internet'te boyle bir script bulamamistim.

Script'i yazcaginiz dosya /etc/network/interfaces dosyasidir.Script'i kendi ihtiyaciniza gore eth0.2 ve eth0.4 parametrelerini degistirin.




Kod:
# This network script was written esen4271 // MailyDation < ## Siz Değiştirebilirsiniz..
# Purpose of script bridge two vlan network
# e-mail : ## Siz Ekleyebilirsiniz..
# Web : ## Siz Ekleyebilirsiniz..
auto br0
iface br0 inet dhcp
# For the static configuration undelete comments and comment above the line
#iface br0 inet static
#address 192.168.1.1
#netmask 255.255.255.0
#network 192.168.1.0
pre-up ifconfig eth0 up
pre-up vconfig add eth0 2
pre-up vconfig add eth0 4
pre-up brctl addbr br0
pre-up brctl addif br0 eth0.2
pre-up brctl addif br0 eth0.4
pre-up ifconfig eth0.2 0.0.0.0
pre-up ifconfig eth0.4 0.0.0.0
post-down ifconfig eth0.2 down
post-down ifconfig eth0.4 down
post-down ifconfig br0 down
post-down delif br0 eth0.2
post-down delif br0 eth0.4
post-down vconfig rem eth0.2
post-down vconfig rem eth0.4
post-down brctl delbr br0
Loading mentions Retweet
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst