Router μεταξύ wlan0 και eth0

marios marios_hellas_23 at yahoo.gr
Wed May 27 18:16:39 EEST 2009


Alexandros Papadopoulos wrote:
> 2009/5/27 marios <marios_hellas_23 at yahoo.gr>:
>   
>> Έχω το εξής πρόβλημα
>>     
> <snip>
>
> Routing table από τα δύο μηχανήματα δε μας έδειξες:
>
> # route -n
>
> -Ξ‘
>   


Ξ‘Ο€ΟŒ το laptop

root at artemis:/home/marios# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.1.1     0.0.0.0         255.255.255.255 UH    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 
wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 
wlan0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
root at artemis:/home/marios#
####################################################

root at artemis:/home/marios# 
ifconfig                                         
eth0      Link encap:Ethernet  HWaddr 
00:1b:24:f2:7a:17                     
          inet addr:192.168.0.1  Bcast:192.168.0.255  
Mask:255.255.255.0    
          inet6 addr: fe80::21b:24ff:fef2:7a17/64 
Scope:Link                
          UP BROADCAST RUNNING MULTICAST  MTU:1500  
Metric:1                
          RX packets:228 errors:0 dropped:0 overruns:0 
frame:0              
          TX packets:1250 errors:0 dropped:0 overruns:0 
carrier:0           
          collisions:0 
txqueuelen:1000                                      
          RX bytes:22176 (22.1 KB)  TX bytes:187058 (187.0 
KB)              
          Interrupt:250 Base 
address:0x2000                                 

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:14324 (14.3 KB)  TX bytes:14324 (14.3 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1c:bf:85:37:e4
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:bfff:fe85:37e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:97397 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76547 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:109128979 (109.1 MB)  TX bytes:14575498 (14.5 MB)

wmaster0  Link encap:UNSPEC  HWaddr 
00-1C-BF-85-37-E4-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

####################################################3
root at artemis:/home/marios# ping 192.168.1.6
PING 192.168.1.6 (192.168.1.6) 56(84) bytes of data.
64 bytes from 192.168.1.6: icmp_seq=1 ttl=64 time=0.093 ms
64 bytes from 192.168.1.6: icmp_seq=2 ttl=64 time=0.098 ms
^C
--- 192.168.1.6 ping statistics ---

root at artemis:/home/marios# ping 192.168.0.10
PING 192.168.0.10 (192.168.0.10) 56(84) bytes of data.
64 bytes from 192.168.0.10: icmp_seq=1 ttl=64 time=0.231 ms
64 bytes from 192.168.0.10: icmp_seq=2 ttl=64 time=0.185 ms
^C
--- 192.168.0.10 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms

root at artemis:/home/marios# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2004ms



#####################################################
######################################################




Ξ‘Ο€ΟŒ το desktop

linux-jun8:~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

########################################
linux-jun8:~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.338 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.235 ms
^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.235/0.286/0.338/0.054 ms


linux-jun8:~ # ping 192.168.1.6
PING 192.168.1.6 (192.168.1.6) 56(84) bytes of data.
64 bytes from 192.168.1.6: icmp_seq=1 ttl=64 time=0.258 ms
64 bytes from 192.168.1.6: icmp_seq=2 ttl=64 time=0.227 ms
64 bytes from 192.168.1.6: icmp_seq=3 ttl=64 time=0.328 ms
^C
--- 192.168.1.6 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.227/0.271/0.328/0.042 ms


linux-jun8:~ # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
 From 192.168.0.1: icmp_seq=2 Redirect Host(New nexthop: 192.168.1.1)
 From 192.168.0.1: icmp_seq=3 Redirect Host(New nexthop: 192.168.1.1)
^C
--- 192.168.1.1 ping statistics ---
14 packets transmitted, 0 received, 100% packet loss, time 13014ms
###############################################

linux-jun8:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:09:2D:28:1D
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::211:9ff:fe2d:281d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:148 errors:0 dropped:0 overruns:0 frame:0
          TX packets:174 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18190 (17.7 Kb)  TX bytes:29729 (29.0 Kb)
          Interrupt:22 Base address:0x6000




__________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam);   Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων  
http://mail.yahoo.gr 



More information about the Linux-greek-users mailing list