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

[bluetooth-dev] My bnep 's ifconfig output and route table



Hello Fredrik,

  Thanks a lot for help me ,below is my ifconfig output and route
  table.
  At first I have a ethernet card(eth0),and I type "ifconfig eth0
  down" to disable it.
  If I ping the bnep interface on the same machine,it's OK.
  In fact ,I also think maybe the route is not correct.
  But all the route table seemed no error,it's somthing strange
  to me.:(
  PC A:  192.9.100.2
  #route add 192.9.100.3 bnep0
  "ifconfig -a":
---------------------------------PC A 's ifconfig output--------------------------------------------
bnep0     Link encap:Ethernet  HWaddr 00:02:5B:FF:CA:03
          inet addr:192.9.100.2  Bcast:192.9.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:54 txqueuelen:100 
          DMA chan:1 

bnep1     Link encap:Ethernet  HWaddr 00:02:5B:FF:CA:03  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep2     Link encap:Ethernet  HWaddr 00:02:5B:FF:CA:03  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep3     Link encap:Ethernet  HWaddr 00:02:5B:FF:CA:03  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep4     Link encap:Ethernet  HWaddr 00:02:5B:FF:CA:03  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep5     Link encap:Ethernet  HWaddr 00:02:5B:FF:CA:03  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep6     Link encap:Ethernet  HWaddr 00:02:5B:FF:CA:03  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

dummy0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST NOARP  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:0 

eth0      Link encap:Ethernet  HWaddr 00:E0:18:0F:69:95  
          inet addr:192.168.3.119  Bcast:192.168.3.255  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:5 Base address:0xb000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:76 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
---------------------------------------------------------------------------------------------
"route -n" (The eth0 is disable)
------------------------------- PC A's route -n  --------------------------------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.9.100.0     0.0.0.0         255.255.255.0   U     0      0        0 bnep0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
----------------------------------------------------------------------------------------------

PC B:  192.9.100.3
#route add 192.9.100.2 bnep0
----------------------------PC B's ifconfig output -------------------
bnep0     Link encap:Ethernet  HWaddr 00:02:5B:FF:00:C2
          inet addr:192.9.100.3  Bcast:192.9.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:81 txqueuelen:100 
          DMA chan:1 

bnep1     Link encap:Ethernet  HWaddr 00:02:5B:FF:00:C2  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep2     Link encap:Ethernet  HWaddr 00:02:5B:FF:00:C2  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep3     Link encap:Ethernet  HWaddr 00:02:5B:FF:00:C2  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep4     Link encap:Ethernet  HWaddr 00:02:5B:FF:00:C2  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep5     Link encap:Ethernet  HWaddr 00:02:5B:FF:00:C2  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

bnep6     Link encap:Ethernet  HWaddr 00:02:5B:FF:00:C2  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1397772884 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          DMA chan:1 

eth0      Link encap:Ethernet  HWaddr 00:01:03:41:EA:15  
          inet addr:192.168.3.11  Bcast:192.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:168 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:3 Base address:0xdc00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:86 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
------------------------------------------------------------------------------------
route -n(the eth0 is disable)
------------------------------- PC B's route -n  --------------------------------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.9.100.0     0.0.0.0         255.255.255.0   U     0      0        0 bnep0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
----------------------------------------------------------------------------------------

  

  



-- 
Best regards,
 nasm64                            mailto:nasm64@xxxxxxx.com


_________________________________________________________
Do You Yahoo!?
Get your free @xxxxxxx.com">http://mail.yahoo.com

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com