[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux_var] bridge linux



Il 29/11/07, JohnnyRun<gianni79@gamebox.net> ha scritto:
> In soldoni un pò ci ho beccato.
> Secondo me, ripeto, le richieste dhcp non sono "bridgiate" ma "ruotate",
> quindi devi avere una rotta giusta per il dhcp server.
>
> ps|grep dnsmasq cosa dice?
>
> Ciao
> JohnnyRun

Ciao,

scusa, ma come fa ad essere ruotata la richiesta se non ha neppure la
rotta predefinita?

Questa è la cosa strana... Se per esempio al bridge assegno solo
169.254.255.1 non funziona il dhcp. Se assegno pure 192.168.1.254
funziona tutto perfettamente...

Come vedi nessun demone dhcp, dns, o altro. E' un semplice bridge che
si collega ad un Ap.

Saluti.

root@DD-WRT:~# ps
  PID  Uid     VmSize Stat Command
    1 root        448 S   /sbin/init noinitrd
    2 root            SW< [kthreadd]
    3 root            SW< [ksoftirqd/0]
    4 root            SW< [events/0]
    5 root            SW< [khelper]
   39 root            SW< [kblockd/0]
   56 root            SW  [pdflush]
   57 root            SW  [pdflush]
   58 root            SW< [kswapd0]
   59 root            SW< [aio/0]
  583 root            SW< [mtdblockd]
  610 root        256 S   /sbin/watchdog
  659 root        268 S   resetbutton
  718 root        244 S   /usr/sbin/telnetd
  723 root        360 S   /sbin/wland
 1700 root        384 S   wpa_supplicant -b br0 -B -Dmadwifi -iath0 -c /tmp/ath
 1757 root        252 S   igmprt -i br0
 1758 root        316 S   process_monitor
 1971 root        444 S   httpd -p 80
 1972 root        424 S   -sh
 1973 root        332 R   ps


root@DD-WRT:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.001884XXXXXX       yes             eth0
                                                      ath0

root@DD-WRT:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 br0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

root@DD-WRT:~# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:19:84:XX:XX:XX
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6764 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4044 errors:1 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3253440 (3.1 MiB)  TX bytes:662922 (647.3 KiB)

br0       Link encap:Ethernet  HWaddr 00:18:84:XX:XX:XX
          inet addr:192.168.1.254  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:19004 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3951 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8782281 (8.3 MiB)  TX bytes:2536079 (2.4 MiB)

br0:0     Link encap:Ethernet  HWaddr 00:18:84:XX:XX:XX
          inet addr:169.254.255.1  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST  MTU:1500  Metric:1

eth0      Link encap:Ethernet  HWaddr 00:18:84:XX:XX:XX
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11219 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13264 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1469016 (1.4 MiB)  TX bytes:10196204 (9.7 MiB)
          Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wifi0     Link encap:UNSPEC  HWaddr
00-18-84-XX-XX-XX-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:112387 errors:3358 dropped:14867 overruns:0 frame:4445
          TX packets:10127 errors:17 dropped:10 overruns:0 carrier:0
          collisions:0 txqueuelen:399
          RX bytes:20644155 (19.6 MiB)  TX bytes:1655425 (1.5 MiB)
          Interrupt:3 Memory:b0000000-b00ffffc

  (--- * * * * * * * * * * * * * * * * * * * * * * ---)
Per cancellare l'iscrizione: <talking-unsubscribe at ml.linuxvar.it>
Interfaccia web di configurazione: http://ml.linuxvar.it/ml/