[질문] 랜카드 2개 활성화 시키기

saintpaul1978의 이미지

기안녕하세요. 데비안 사지 유저입니다.
랜카드를 2개를 고정IP나 DHCP로 활성화 시켜야하는데 둘다 활성이 되면 인터넷이 안됩니다.

네트웍구성: ---- ip공유기 ────────── Com1
        (192.168.0.1)       ├─ Com2
                      │
                      └─ MyCom (제 컴퓨터입니다.)

원래 192.168.0.16번을 보드 내장 랜카드(e100)로 할당해서 쓰고 있었습니다.
새로산 리얼텍8139 카드를 시험하기 위해 새 랜 카드를 넣고 기존 쓰던 랜선을 뽑아서
8139에 물렸습니다. 부팅후 인터넷이 되더군요.
그런데 알고보니 eth0가 원래의 e100이 아니라 8139로 잡혀 있었습니다.
랜선 뽑고 다시 꼽는 노가다를 통해 알았습니다.

여기서 질문1: 설정파일을 조작해서 원하는 랜카드를 eth0으로 잡을수는 없나요?

다음 문제는 그놈메뉴의 “네트워크”에서 eth1을 추가했습니다(“더하기=>이더넷=>DHCP”)
그런다음 eth0과 eth1을 둘다 활성시키니깐 인터넷이 안됩니다.
그런데 하나를 비활성화하고 나머지를 활성화시키면 잘됩니다.

어떻게 하면 둘다 활성화를 시킬수 있나요?

옆에 있는 컴퓨터는 래드햇 9.0을 쓰는데 랜카드 둘다 DHCP로 활성화되어 잘 돌아가고 있네요ㅠㅠ

마지막 질문입니다. 혹시나해서 그놈메뉴의 “네트워크”에서 eth2를 추가해봤습니다.
-_- 추가가 되었습니다. 나는 랜카드 2개밖에 없는데 추가되네요.
먼저 추가했던 eth1은 남은 랜카드라치면, eth2는 도대체 뭔가요?

지금 상황은 e100 => eth1, 8139 => eth0 로 eth1을 비활성화 시키고 쓰고 있습니다.
도무지 이해가 잘 안갑니다. 제가 하고 싶은 것은 내 호스트에 2개의 IP주소를 할당시키는 것 입니다.
ifup/ifdown을 써도 마찬가지입니다.#ifdown eth0 또는 #ifdown eth1으로 하나를 죽이면 잘되요.
근데 둘다 up시키면 인터넷이 안됩니다. 고수분들 좀 도와주세요. 아래는 ifconfig, route결과입니다.

#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:2E:24:37:5F
inet addr:192.168.0.16 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20e:2eff:fe24:375f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:97 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9791 (9.5 KiB) TX bytes:6939 (6.7 KiB)
Interrupt:209 Base address:0xa000

eth1 Link encap:Ethernet HWaddr 00:0F:EA:24:E3:CC
inet addr:192.168.0.17 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:eaff:fe24:e3cc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1501 Metric:1
RX packets:27 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2906 (2.8 KiB) TX bytes:276 (276.0 b)
Interrupt:217 Memory:fb000000-0

lo 생략..

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
localnet * 255.255.255.0 U 0 0 0 eth1
172.16.230.0 * 255.255.255.0 U 0 0 0 vmnet1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.