Trouble

DHCP on vlan port BPI-R1

0 1993
Stybyk  
Edited by Stybyk at Wed May 20, 2015 00:42

Hi, i have 1 wan port + 3 switch port bridget together, because all host must have ip from dhcp server running on wan. And last port i want have separate vlan where i want use dhcp ip address from BPI. But when i sniff this port hdcp don´t responce to dhcp discover from pc connecter to this port. Please can we tell me where i have the fail.. ?
I use Igor´s lambo debian wheezy , http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/ version 4.0.4 .. and there is my all configuration files:


  1. /etc/network/interfaces


  2. auto lo
  3. iface lo inet loopback

  4. auto eth0.101
  5. iface eth0.101 inet manual
  6.     pre-up swconfig dev eth0 set reset 1
  7.     pre-up swconfig dev eth0 set enable_vlan 1
  8.     pre-up swconfig dev eth0 vlan 101 set ports '3 8t'
  9.     pre-up swconfig dev eth0 set apply 1

  10. auto eth0.102
  11. iface eth0.102 inet manual
  12.     pre-up swconfig dev eth0 vlan 102 set ports '0 1 4 8t'
  13.     pre-up swconfig dev eth0 set apply 1

  14. auto eth0.103
  15. iface eth0.103 inet static
  16. pre-up swconfig dev eth0 vlan 103 set ports '2 8t'
  17. address 192.168.6.66
  18. netmask 255.255.255.0
  19. gateway 192.168.1.108
  20. #here i try 1.108 because i 6.66 do not work.
  21. pre-up swconfig dev eth0 set apply 1






  22. allow-hotplug wlan0
  23. iface wlan0 inet manual

  24. auto br0
  25. iface br0 inet static
  26. address 192.168.1.108
  27. netmask 255.255.255.0
  28. gateway 192.168.1.1

  29. bridge_ports  eth0.102 eth0.101 wlan0



Copy the Code
  1. etc/dhcp/dhcp.conf

  2. option domain-name "juduito.org";
  3. option domain-name-servers 8.8.8.8, 8.8.4.4;


  4. subnet 192.168.6.0 netmask 255.255.255.0 {
  5.   option routers 192.168.6.66;
  6.   option broadcast-address 192.168.6.255;
  7.   
  8. }
Copy the Code



  1. etc/default/isc-dhcp-server

  2. INTERFACES="eth0.103"
Copy the Code
That may be all what i changed...
You have to log in before you can reply Login | Sign Up

Points Rules