ifconfig 한쪽 packets 데이터가 0 인 경우
아래와 같은 상황에서
wwan1 tx packets 데이터가 0 인 이유를 알고 싶습니다.
통신 상태는 이상이 없습니다.(현재 br0- lan 포트에는 이더넷이 물려 있지 않습니다)
혹시 짐작가는 점이 있으시다면 의견 부탁드리겠습니다.
*환경
리눅스 커널 2.6버전
--------------------------------------------
*라우팅 table
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
255.255.255.255 * 255.255.255.255 UH 0 0 0 br0
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
223.55.43.0 * 255.255.255.0 U 0 0 0 wwan1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 223.55.43.228 0.0.0.0 UG 0 0 0 wwan1
--------------------------------------------
*ifconfig
br0 Link encap:Ethernet HWaddr 24:D1:3F:EE:FF:10 //lan port mac
inet addr:192.168.1.1 Bcast:192.168.1.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: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)
eth0 Link encap:Ethernet HWaddr 24:D1:3F:EE:FF:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:33590 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1881040 (1.7 MiB)
Interrupt:4 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 24:D1:3F:EE:FF:11 //wifi 모듈 mac
UP BROADCAST RUNNING ALLMULTI 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)
Interrupt:3 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)
vlan0 Link encap:Ethernet HWaddr 24:D1:3F:EE:FF:10
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:33590 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1881040 (1.7 MiB)
wwan1 Link encap:Ethernet HWaddr 00:00:11:12:13:16 //통신 모듈 mac
inet addr:223.55.43.228 Bcast:223.55.43.255 Mask:255.255.255.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:12544 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:1426302 (1.3 MiB) TX bytes:3232227 (3.0 MiB)
흠.. TX byte는 존재 하는데 packet이 0 이라 이상하네요..
음, 제가 지금 리눅스를 확인 할 수 있는 상황이 아니라.. 정확한지는 모르겠지만..
/proc/net/hostap/wwan1/00:00:11:12:13:16 <-- 요 값이랑
netstat -i 했을때 값은 어떻게 나오나요?
아 말씀을 안드렸네요
임베디드 리눅스로 해당 칩셋에 맞게 포팅한 리눅스라 /proc/net/hostap/wwan1/00:00:11:12:13:16 와 같은 경로는 존재 하지 않습니다.
통신 모듈의 디바이스 드라이버는 별도로 제공되는 걸 사용하게됩니다.
netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:7272 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2121 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.1:23 0.0.0.0:* LISTEN
tcp 0 0 223.55.43.228:35889 61.250.21.211:31002 ESTABLISHED
netstat: no support for 'AF INET6 (tcp)' on this system
netstat: no support for 'AF INET6 (udp)' on this system
netstat: no support for 'AF INET6 (raw)' on this system
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 3 [ ] STREAM CONNECTED 1426
unix 3 [ ] STREAM CONNECTED 1425
---------------------------------------------------------------
임베디드군요.. 임베디드는 해본적이 없는데....ㅠ
netstat -a 말고
인터페이스별로 출력하는 netstat -i 값은 어떻게 나오나요?
댓글 달기