Anca M. Holban wrote:
> Se da problema:
> 
> --------
> |server|  192.168.3.1
> --------
>    |
>    | crossover
>    |
> --------
> |  AP  |  192.168.3.2
> --------
> 
> eth2      Link encap:Ethernet  HWaddr 00:20:AF:C8:91:BD
>           inet addr:192.168.3.1  Bcast:192.168.3.255  
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:61 errors:0 dropped:0 overruns:0 carrier:36
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:2562 (2.5 Kb)
>           Interrupt:12 Base address:0x220
> # ping 192.168.3.2
> PING 192.168.3.2 (192.168.3.2) from 192.168.3.1 : 56(84) bytes of data.
>>From 193.231.139.113 icmp_seq=1 Destination Host Unreachable
>>From 193.231.139.113 icmp_seq=2 Destination Host Unreachable
> 
> 
> 193.231.139.113 este ip-ul server-ului
> 
> 
> # tcpdump -ni eth2
> tcpdump: listening on eth2
> 19:32:44.454467 arp who-has 192.168.3.2 tell 193.231.139.113
> 19:32:45.453333 arp who-has 192.168.3.2 tell 193.231.139.113
> 
> # ip r l
> 193.231.139.9 dev ppp0  proto kernel  scope link  src 193.231.139.1
> 194.102.48.204 dev ppp1  proto kernel  scope link  src 194.102.48.203
> 193.231.139.0/28 dev eth0  scope link
> 193.231.139.112/28 dev eth0  proto kernel  scope link  src 
> 193.231.139.113
> 194.102.48.192/26 dev eth0  proto kernel  scope link  src 
> 194.102.48.203
> 192.168.3.0/24 dev eth2  proto kernel  scope link  src 192.168.3.1
> 192.168.2.0/24 dev eth1  scope link
> 192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.1
> 127.0.0.0/8 dev lo  scope link
> default via 192.129.3.86 dev eth0  src 192.129.3.85
> 
> Access point-ul este Zyair b-2000. Are urmatoarele setari:
> IP: 192.168.3.2
> GW: 192.168.3.1
> NM: 255.255.255.0
> DNS: 192.168.3.1
> 
> Care ar putea fi problema ?
iptables -j SNAT facut cu picioarele :P

-- 
"Normal people ... believe that if it ain't broke, don't fix it.
Engineers believe that if it ain't broke, it doesn't have
enough features yet."
--- Scott Adams, The Dilbert Principle



--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui