우분투 사설IP 설정 질문입니다.

승굴이의 이미지

안녕하세요? 학교의 사설IP 설정관련해서 질문이 있습니다.
현재 집에서 우분투 5.04 hoary를 잘 사용하고 있습니다.
맨날 dhcp로 할당받아서 사용하다보니 static ip 설정 메뉴얼을 보고 따라해봐도 막혀서 이렇게 질문을 드리게 되었습니다.

우선 파티션 매직으로 하드를 반쪽으로 쪼개서 우분투와 XP를 멀티부팅하고 있습니다. 물론 XP에서는 이상없이 인터넷에 연결되고 있습니다.
아래는 윈도우의 ipconfig 내용입니다.

Windows IP Configuration

        Host Name . . . . . . . . . . . . : mycom
        Primary Dns Suffix  . . . . . . . : 
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter VMware Network Adapter VMnet8:

        Connection-specific DNS Suffix  . : 
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
        Physical Address. . . . . . . . . : 00-50-56-C0-00-08
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.74.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 

Ethernet adapter VMware Network Adapter VMnet1:

        Connection-specific DNS Suffix  . : 
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
        Physical Address. . . . . . . . . : 00-50-56-C0-00-01
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.233.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 

Ethernet adapter 로컬 영역 연결:

        Connection-specific DNS Suffix  . : 
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC
        Physical Address. . . . . . . . . : 00-80-1E-14-E0-19
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 10.225.38.13
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . : 10.225.1.1
        DNS Servers . . . . . . . . . . . : 168.126.63.1
                                            168.126.63.2

아래 첨부파일은 위 내용을 토대로 우분투에서 설정한 화면입니다.
그런데 파폭으로 구글에 접속하려해도 접속이 되질 않았습니다.
그래서 http://debianusers.org/DebianWiki/wiki.php/%C0%CE%C5%CD%B3%DD%20%BC%B3%C1%A4%20-%20%B5%BF%C0%FBIP/%C1%A4%C0%FBIP 을 보고 따라해 봤지만 소용이 없었습니다.

root@ubuntu:/home/tmdrnfdl # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:80:1E:14:E0:19
          inet addr:10.225.38.13  Bcast:10.255.255.255  Mask:255.255.0.0
          inet6 addr: fe80::280:1eff:fe14:e019/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1605 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:168720 (164.7 KiB)  TX bytes:378 (378.0 b)
          Interrupt:19 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:909 errors:0 dropped:0 overruns:0 frame:0
          TX packets:909 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:80518 (78.6 KiB)  TX bytes:80518 (78.6 KiB)

root@ubuntu:/home/tmdrnfdl # cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth0

# The primary network interface
iface eth0 inet static
address 10.225.38.13
netmask 255.255.0.0
broadcast 10.255.255.255
gateway 10.255.1.1

auto eth0
root@ubuntu:/home/tmdrnfdl # cat /etc/resolv.conf
nameserver 168.126.63.1
nameserver 168.126.63.2
root@ubuntu:/home/tmdrnfdl # sudo ifup eth0
SIOCADDRT: Network is unreachable
Failed to bring up eth0.
root@ubuntu:/home/tmdrnfdl # sudo ifdown eth0
ifdown: interface eth0 not configured
root@ubuntu:/home/tmdrnfdl #

그래서 ping도 해보았습니다.

root@ubuntu:/home/tmdrnfdl # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:80:1E:14:E0:19
          inet addr:10.225.38.13  Bcast:10.255.255.255  Mask:255.255.0.0
          inet6 addr: fe80::280:1eff:fe14:e019/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7628 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:762121 (744.2 KiB)  TX bytes:378 (378.0 b)
          Interrupt:19 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4940 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4940 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:446772 (436.3 KiB)  TX bytes:446772 (436.3 KiB)

root@ubuntu:/home/tmdrnfdl # ping -c 3 10.225.38.13
PING 10.225.38.13 (10.225.38.13) 56(84) bytes of data.
64 bytes from 10.225.38.13: icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from 10.225.38.13: icmp_seq=2 ttl=64 time=0.031 ms
64 bytes from 10.225.38.13: icmp_seq=3 ttl=64 time=0.032 ms

--- 10.225.38.13 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.031/0.031/0.032/0.006 ms
root@ubuntu:/home/tmdrnfdl # ping -c 3 255.255.0.0
connect: Network is unreachable
root@ubuntu:/home/tmdrnfdl # ping -c 3 10.255.1.1
connect: Network is unreachable
root@ubuntu:/home/tmdrnfdl # ping -c 3 168.126.63.1
connect: Network is unreachable
root@ubuntu:/home/tmdrnfdl #

그런데 저는 다음 부분이 제일 이상합니다.

Quote:
root@ubuntu:/home/tmdrnfdl # sudo ifdown eth0
ifdown: interface eth0 not configured

왜 설정을 안했다고 나오는지 모르겠습니다.

그리고 혹시나 하는 마음에 VMWARE(XP환경)에서 Knoppix로 부팅한후에 파폭을 띄워보면 구글 첫화면이 멋지게 나옵니다.
그래서 ifconfig해보았더니 아래와 같이 나왔습니다.

IP 192.168.74.128
BCAST 192.158.74.255
MASK 255.255.255.0

우분투의 ifconfig와 달라서 혹시나 하는 마음에 우분투로 다시 부팅한후 위의 주소로 설정한후 파폭을 띄워보았으나 여전히 실패입니다.

빨리 네트워크 설정을 해서 패키지도 좀 깔고 폰트도 바꾸고 싶은데 더이상 진행이 되질 않습니다. 도움 부탁드리겠습니다.
나름대로 답변해주고 싶은 질문이 되기위해 노력했지만 글이 너무 길어진 것 같습니다. 죄송합니다.

File attachments: 
첨부파일 크기
Image icon cap.jpg147.59 KB
승굴이의 이미지

나름대로 할 수 있는건 다 해보고 질문 드린건데 도움주실분 안계신가요?


=== 시그너쳐 ===
"내가 기억하는 한, 나는 대부분의 시간을 늘 혼자서 보냈다.
그건 내가 비사교적이기 때문이 아니고, 예술가가 창조자로서 작업하기 위해 머리를 쓰기 바란다면
자아 규제 ― 바로 사회로부터 자신을 절단시키는 한 방식 ― 라는 것이 반드시 필요하기 때문이다.
관심의 대상이 될 만한 작품을 산출하고자 하는 예술가라면 누구나 사회 생활면에서 다소 뒤떨어진 존재가 될 수밖에 없다."
- 글렌굴드, 피아노 솔로 중에서

uriel의 이미지

/etc/network/interfaces 의 내용이 어떻게 되는지요?

승굴이의 이미지

root@ubuntu:/home/tmdrnfdl # cat /etc/network/interfaces 
# This file describes the network interfaces available on your system 
# and how to activate them. For more information, see interfaces(5). 

# The loopback network interface 
auto lo 
iface lo inet loopback 

# This is a list of hotpluggable network interfaces. 
# They will be activated automatically by the hotplug subsystem. 
mapping hotplug 
        script grep 
        map eth0 

# The primary network interface 
iface eth0 inet static 
address 10.225.38.13 
netmask 255.255.0.0 
broadcast 10.255.255.255 
gateway 10.255.1.1 

auto eth0

위에 붙여놓아서 읽기가 조금 힘드네요. 죄송합니다.


=== 시그너쳐 ===
"내가 기억하는 한, 나는 대부분의 시간을 늘 혼자서 보냈다.
그건 내가 비사교적이기 때문이 아니고, 예술가가 창조자로서 작업하기 위해 머리를 쓰기 바란다면
자아 규제 ― 바로 사회로부터 자신을 절단시키는 한 방식 ― 라는 것이 반드시 필요하기 때문이다.
관심의 대상이 될 만한 작품을 산출하고자 하는 예술가라면 누구나 사회 생활면에서 다소 뒤떨어진 존재가 될 수밖에 없다."
- 글렌굴드, 피아노 솔로 중에서

trashq의 이미지

혹시 joonis라는 아이디를 쓰시는 분하고 아시는 분인가요?
제가 네트웍 설정 부분을 쪽지로 그분께 보내드렸는데 설정이 틀리셨군요.
설정에 이상이 있네요. :(
Default Gateway를 윈도우에서는 10.225.1.1로 하시고 리눅스에서는 10.255.1.1로 하셨네요.
Default Gateway는 10.225.1.1이 맞는 설정입니다.
설정 후에 ping은 10.225.1.1로 날려서 확인하세요.
댁 에서도 사용하셔서 학교네임서버를 안쓰시는 모양인데, ping이 막혀있는 상태라 연결이 제대로 돼도 코넷네임서버로는 ping이 안날라갈겁니다. (지금은 잠시 열려있는 상태지만... ^^; )
승굴이님도 학교 후배 분이실것 같은 느낌이...;;
연결에 성공하시길... :)

세상이 뭐라하든... :)

승굴이의 이미지

trashq wrote:
혹시 joonis라는 아이디를 쓰시는 분하고 아시는 분인가요?

네 그렇습니다. 학과동기입니다^^

trashq wrote:
Default Gateway를 윈도우에서는 10.225.1.1로 하시고 리눅스에서는 10.255.1.1로 하셨네요.?

아이고... 정말 창피합니다. 오타라니...

trashq wrote:
승굴이님도 학교 후배 분이실것 같은 느낌이...;;

혹시 멀다분수를 아시나요? 그렇다면 선배님이 맞으실듯^^;
답변 감사드립니다. 선배님! 내일 해봐야겠네요.


=== 시그너쳐 ===
"내가 기억하는 한, 나는 대부분의 시간을 늘 혼자서 보냈다.
그건 내가 비사교적이기 때문이 아니고, 예술가가 창조자로서 작업하기 위해 머리를 쓰기 바란다면
자아 규제 ― 바로 사회로부터 자신을 절단시키는 한 방식 ― 라는 것이 반드시 필요하기 때문이다.
관심의 대상이 될 만한 작품을 산출하고자 하는 예술가라면 누구나 사회 생활면에서 다소 뒤떨어진 존재가 될 수밖에 없다."
- 글렌굴드, 피아노 솔로 중에서

댓글 달기

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