리얼택 랜카드 잘 쓰고있는데 하나 더 꽂은건 잘 안되네요;

yoonbo의 이미지

현재 데비안 리눅스 서버에 리얼택 랜카드 2개를 꽂아서 사용하고 있었습니다.
하나는 외부에서 dhcp로 인터넷을 받는 역할을 하구요(eth0)
또하나는 내부로 IP Masqurading을 통해 인터넷 분배해주구요(eth1)

그런데 인터넷을 써야 할 컴퓨터가 한대 더 생겼어요
그래서 랜카드를 하나 더 꽂았습니다. (Rlt-8139C) (eth2)

리눅스에서 자동으로 잡히지는 않는거 같더라구요(원래 이런가요?^^;)
그래서 /etc/network/interfaces파일에다 eth2부분을 추가시켰어요
#########################################

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0

auto eth2
iface eth2 inet static
address 192.168.1.3
netmask 255.255.255.0

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

이렇게 하고나서 네트워킹 다시 띄워서 ifconfig 해 보니까
-----------------------------------------------------------------------------------
eth0 Link encapEthernet HWaddr 00022AC81EB1
inet addr211.47.118.85 Bcast211.47.118.255 Mask255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU1500 Metric1
RX packets811929 errors0 dropped0 overruns0 frame0
TX packets74737 errors0 dropped0 overruns0 carrier0
collisions322 txqueuelen100
RX bytes112090139 (106.8 MiB) TX bytes27027256 (25.7 MiB)
Interrupt10

eth1 Link encapEthernet HWaddr 0050BF461820
inet addr192.168.1.1 Bcast192.168.1.255 Mask255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU1500 Metric1
RX packets50814 errors0 dropped0 overruns0 frame0
TX packets62018 errors0 dropped0 overruns0 carrier0
collisions0 txqueuelen100
RX bytes7223189 (6.8 MiB) TX bytes57912942 (55.2 MiB)
Interrupt12 Base address0x2000

eth2 Link encapEthernet HWaddr 00C026743505
inet addr192.168.1.3 Bcast192.168.1.255 Mask255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU1500 Metric1
RX packets50 errors0 dropped0 overruns0 frame0
TX packets0 errors0 dropped0 overruns0 carrier0
collisions0 txqueuelen100
RX bytes4900 (4.7 KiB) TX bytes0 (0.0 b)
Interrupt5 Base address0x4000

lo Link encapLocal Loopback
inet addr127.0.0.1 Mask255.0.0.0
UP LOOPBACK RUNNING MTU16436 Metric1
RX packets8 errors0 dropped0 overruns0 frame0
TX packets8 errors0 dropped0 overruns0 carrier0
collisions0 txqueuelen0
RX bytes560 (560.0 b) TX bytes560 (560.0 b)
-----------------------------------------------------------------------------------

잡힌거 같네요
그래서 이제 eth2에서 크로스 케이블 연결해서 새 컴퓨터에 ip192.168.1.4 잡고,
게이트웨이192.168.1.3잡고 해서 연결했는데
새 컴퓨터에서 아무리 핑을 때려도 192.168.1.3으로 안가네요;

잘 쓰던 컴퓨터를 연결해서 해봐도 안되고요...

그래서 세번째 랜카드 eth2를 외부에서 인터넷을 받는 dhcp로 잡고
리부팅 시켜봤는데 iconfig해 보니까 ip를 못받았더라구요
그 랜카드 분명히 다른 컴퓨터에서는 잘 쓰던건데 말이죠
그래서 또다른 랜카드(Rlt-8139B)를 꽂고서 해 봐도 역시 마찬가지로 안되구요
무슨 설정을 또 해 줘야 하는게있나요?
도와주세요ㅠㅠ

bitneer의 이미지

eth2의 ip address를 192.168.2.1, netmask를 255.255.255.0
와 같이 지정해서 해보세요.

그럼 이만...
좋은 하루 되세요.

스강의 이미지

두개로 잘쓰고 있다가 랜카드 하나를 더 붙히니깐

마지막랜카드를 인식하지 못하네요....

마스커레이딩도 인식을 하고난다음 해결해야될텐데

이건 인식조차 못하니...혹시 IRQ충돌때문에 안되는건 아닐까요?

IRQ11을 나눠서 쓰고있던데...

이삽 저삽 모종삽 삽이란 삽질은 다하고있습니다-_ㅠ

for the fu....

스강의 이미지

이제 랜카드는 인식되었습니다만 외부로의 네트워크가 작동하지 않는군요...

iptables를 이용해서는 3개이상의 공유는 불가능한겁니까? :evil:

for the fu....

maddie의 이미지

허브없이 두개 컴퓨터에 공유하시는 건가요?
그렇다면 위에 답글처럼 하시면 될 것같은데요.

eth0 - ADSL
eth1 - 192.168.0.1 - PC1(192.168.0.2)
eth2 - 192.168.1.1 - PC2(192.168.1.2)

머 이런식으로요.
그리고 eth1을 잡으실때 하셨던 iptable세팅을 eth2에도 똑같이 해주면 될 것 같네요.

정신건강을 위해 허브를 구입하시는게 나았을텐데라는 아쉬움도 생기는군요. ㅡ.ㅡ

힘없는자의 슬픔

스강의 이미지

그러게요ㅠ ㅠ

이곳저곳에서 무료로 주는 리얼텍 랜카드들 때문에...

괜한 고생을 사서 하는건 아닌가 싶습니다...

DHCP를 사용하는건 어떨까요? 대안이 될수 있을까요?? :?

for the fu....

bh의 이미지

eth2의 네트워크 구성에 무언가 맞지 않는 부분이 있습니다.

eth2 가 없어도 eth1 만으로도
다른 컴퓨터를 인터넷에 연결 시킬 수 가 있습니다.

eth2 랜카드보다 허브가 필요하겠네요..

--
이 아이디는 이제 쓰이지 않습니다.

댓글 달기

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