두 랜카드에서... eth1 으로는 핑이 안되네요.

davinci의 이미지

이더넷 카드를 두개를 설치하였습니다.
eth0 는 제대로 작동하는데..
eth1 는 ping도 되지 않네요..

eth1에 물린 다른 호스트(라우터)에는 eth1의 ARP값을 제대로 받아옵니다. 그리고, 리눅스는 다른 호스트의 ARP를 받아오지 못하고요....

192.168.253.0 네트웍을 넣어다가 뺐다가 해보았는데....
참고로 디폴트게이트웨이는 eth0 (192.168.254.254)로 설정되어 있고요...

리눅스 머신은 레드헷 9가 설치되어 있고요... 기본적으로 설치되는 것만 설치한 것로 기억납니다.

[root@linux network-scripts]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:30:F1:3D:91:5B
          inet addr:192.168.254.1  Bcast:192.168.254.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:71216 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72142 errors:23 dropped:0 overruns:0 carrier:46
          collisions:0 txqueuelen:100
          RX bytes:18337518 (17.4 Mb)  TX bytes:5963517 (5.6 Mb)
          Interrupt:10 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:00:C0:10:B3:C9
          inet addr:192.168.253.1  Bcast:192.168.253.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:93 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:11280 (11.0 Kb)
          Interrupt:7 Base address:0x250 Memory:c0000-c2000

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:820 errors:0 dropped:0 overruns:0 frame:0
          TX packets:820 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:97892 (95.5 Kb)  TX bytes:97892 (95.5 Kb)

[root@linux network-scripts]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.253.0   *               255.255.255.0   U     0      0        0 eth1
192.168.254.0   *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.254.254 0.0.0.0         UG    0      0        0 eth0
위에서 169.254.0.0 네트웍은 외 들어가 있는지 모르겠네요....

[root@linux network-scripts]# arp
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.253.2                    (incomplete)                              eth1
192.168.254.254          ether   00:30:F1:3C:AC:3A   C                     eth0
192.168.254.60           ether   00:40:2B:39:8E:E8   C                     eth0
[root@linux network-scripts]# ping 192.168.253.2
PING 192.168.253.2 (192.168.253.2) 56(84) bytes of data.
From 192.168.253.1 icmp_seq=1 Destination Host Unreachable
From 192.168.253.1 icmp_seq=2 Destination Host Unreachable
From 192.168.253.1 icmp_seq=3 Destination Host Unreachable
From 192.168.253.1 icmp_seq=4 Destination Host Unreachable
From 192.168.253.1 icmp_seq=5 Destination Host Unreachable
From 192.168.253.1 icmp_seq=6 Destination Host Unreachable
--- 192.168.253.2 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6028ms
, pipe 3

eth1 에 물린 다른 호스트 (라우터)에서는 리눅스 머신의 맥주소를 받아옵니다.
r3-2507>show arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  192.168.253.1           7   0000.c010.b3c9  ARPA   Ethernet0
Internet  192.168.253.2           -   00e0.1e68.6107  ARPA   Ethernet0
Internet  192.168.253.100        55   0000.0c91.963c  ARPA   Ethernet0
emptysky의 이미지

레댓이라면 /etc/sysconfig/network 에
GATEWAYDEV=eth0
service network restart

『 아픔은.. 아픔을 달래줄 약이 무엇인지 알면서도 쓰지 못할 때 비로소 그 아픔의 깊이를 알수가 있음이다. 』
『 for return...』

댓글 달기

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