하나로통신의 홈랜을 사용하는데..mtu값은 어디서 바꾸나요?

익명 사용자의 이미지

안녕하세요.

다름이아니라, 하나로통신의 홈랜을 사용합니다.

DHCP로 자동으로 ip를 받아오며..당연히 유동ip입니다.

한컴리눅스2.2를 설치했는데...

약간의 문제땜시 리눅스상에서 eth0(외부망 연결 디바이스)

의 mtu값을 변경하고자 합니다.

ifconfig eth0 mtu 1492

이런식으로 했더니..다시 재부팅하면 드대로 1500 으로 나옵니다.

다른곳에 수정을 하느건지..아님 원래 재부팅하면 다시 바뀌는건지..

궁금합니다.

그럼 답변 부탁드리겠습니다.

익명 사용자의 이미지

재부팅 하면 바뀌는것이 정상입니다.
부팅할때 실행되도록 /etc/rc.d/rc.local 같은 곳에 해당 명령을 넣어주시면 되겠죠.

익명 사용자의 이미지

우선, 답변해주셔셔 감사드립니다.

그런데..제가 mtu값을 바꾸려는 이유가 특정사이트만 접속이 안되길래...

한번 mtu값을 바꿔볼려구 하는것이거든요...

저같은 경우 하나로통신의 홈랜(유동ip)사용하고 있으며..

리눅스박스에 ip_masq 을 통하여..윈도우pc도 인터넷이 가능하게 만들었습
니다.

rc.firewall-2.4-stronger 파일을 사용하였습니다.(iptables...)

그런데 이상하게도 윈도우pc에서 다른 사이트들은 모두 접속이 되는데...

유독 아파치사이트(http//www.apache.org)만 접속이 안됩니다.

물론 ping테스트 및 traceroute 테스트는 모두 정상입니다.

왜그런지 이상합니다.

질답란을 검색해보니..님이 작성하신 아래의 내용이 있어서 그대로 했는
데...마찬가지이더라구요..

단, mtu값이 바뀌게 rc.lcoal파일에 추가는 안한 상태여서 마지막으로 한
번 해볼려구요

1.mtu값조정
ifconfig eth0 mtu 1450

2.rule 셋적용
iptables 룰셋에 다음을 추가해 봅니다.
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-
mss-to-pmtu

혹시 왜 그런건지 아시면 제발 좀 알려주시길...

댓글 달기

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