[질문] 3G와 WiFi 동시 사용 질문 2탄

formidea의 이미지

예전에 두개의 무선 인터페이스를 동시에 살려놓고,
애플리케이션이 선택적으로 쓸수 있냐는 질문을 드렸고,
이곳을 통해 가능하다는 답변을 들었습니다. 다시 한번 감사합니다.

제가 실제로 테스트를 해보았는데, 잘 되지 않아 좀 더 구체적인 질문을 드리겠습니다.

타겟은 핸드폰 장비 (안드로이드)이고 기본 네트워크 매니저에서는
3G와 WiFi를 exclusive하게만 사용하게끔 되어있습니다.

3G만 활성화된 상태에서 터미널을 열고 netcfg으로 보면 대강 아래와 같이 나오는데요.

lo	UP	127.0.0.1	255.0.0.0	0x00000049
dummy	DOWN	0.0.0.0		0.0.0.0		0x00000082
rmnet0	UP	14.0.234.169	255.255.255.252	0x00000043
...

rmnet0가 3G 인터페이스로 보입니다.
이상태에서 안드로이드 네트워크 매니저를 사용하여 WiFi를 활성화하면
lo	UP	127.0.0.1	255.0.0.0	0x00000049
dummy	DOWN	0.0.0.0		0.0.0.0		0x00000082
rmnet0	DOWN	14.0.234.169	255.255.255.252	0x00000043
...
tiwlan0	UP	192.168.2.2	255.255.255.0	0x00001043

tiwlan0이 새로 보이고 상태는 UP, rmnet0은 DOWN이 된 것으로 나옵니다.
여기서 제가 netcfg나 ifconfig 명령을 사용해서 rmnet0을 UP시키면,
($ netcfg rmnet0 up)
lo	UP	127.0.0.1	255.0.0.0	0x00000049
dummy	DOWN	0.0.0.0		0.0.0.0		0x00000082
rmnet0	UP	14.0.234.169	255.255.255.252	0x00000043
...
tiwlan0	UP	192.168.2.2	255.255.255.0	0x00001043

이렇게 나옵니다. 이제 두가지 인터페이스 모두 UP 상태이니, 이전에 답변주신 것과 같이
ping -I tiwlan0 google.com
ping -I rmnet0 google.com

이 두가지 명령이 다 잘 동작해야하는데, WiFi만 되고, 3G 인터페이스는 안되네요.
(즉 ping -I rmnet0 google.com은 네트웤 연결이 안된다고 나옵니다.)

netcfg이나 ifconfig으로 인터페이스만 UP시키는 것 말고,
추가적인 단계가 필요한 것 같은데요. 어떻게 하면 가능할지 조언을 부탁드립니다.
감사합니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.