centos 5.5에서 듀얼랜 잡기

bluezip의 이미지

고정아이피를 쓰고 있는 환경입니다.
랜카드를 하나 더 구해서 지금 듀얼랜으로 구성했는데요.
모듈을 올라와 있고 정상적으로 두개가 잘 잡혔는데 이상하게 기존 처음 랜카드로만 통신이 되고 ping도 첫 랜카드로만 됩니다.
ifconfig 해도 정상적으로 잘 잡혀있습니다.
고정아이피 인데 예를 들어 111.111.111.240(첫번째 랜카드) 111.111.111.241(두번째 랜카드) 이렇게 설정을 했다고 하면
두번째 랜카드만 랜선 연결하면 핑이 안먹고요. 첫번째 랜카드만 랜선 연결하고 핑을 먹이면111.111.111.240 111.111.111.241 둘다 핑이 먹습니다.
도무지 원인을 알 수 가 없네요.

#/etc/syscofig/network-script/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:14:50:00:D4:DC
IPADDR=111.111.111.240
NETMASK=255.255.255.128
ONBOOT=yes

#/etc/syscofig/network-script/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
HWADDR=00:1B:30:00:D4:f4
IPADDR=111.111.111.241
NETMASK=255.255.255.128
ONBOOT=yes

#/etc/syscofig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=host.hostname
GATEWAY=111.111.111.254

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
111.111.111.128 * 255.255.255.128 U 0 0 0 eth0
111.111.111.128 * 255.255.255.128 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 111.111.111.254 0.0.0.0 UG 0 0 0 eth0

이해하기 힘든게 route 해보면 destination이 eth0, eth1이 동일하게 되어있다는 겁니다.
고수분들의 답변을 부탁드립니다.

ahsan의 이미지

eth0과 eth2가 같은 네트웍이기 때문에....

위와 같이 하는 경우는 실무에서는 아무런 의미가 없습니다.
마지막 메시지에서 보시다시피 eth0만 gateway를 넘어 사용될 테니까요

두개의 네카드를 사용하는 이유는 본딩으로 둘중 하나가 죽으면 하나가 작동하든지
외부네트웍과 내부내트웍을 또는 서로 다른 네트윅을 분리해서
양쪽다 연결이 되도록 하기 위해서 사용하는 것이죠

그외에 다른 이유가 있나요?

bushi의 이미지

가져다 붙인다면... http://kldp.org/node/55839 같은 예도 있습니다.

OTL

댓글 달기

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