vmware 네트워크 설정 헤맨지 벌써 5일째...부탁드립니다.ㅜ.ㅜ

kngom83의 이미지

HOST OS : WIN XP PRO
vmnet8 ip : 192.168.0.1
subnet : 255.255.255.0
gateway :
로컬 ip : xxx.xxx.xxx.252
subnet : 255.255.255.192
gateway : xxx.xxx.xxx.193
GUEST OS : WIN2003 Enterprise Edition
Ubuntu_Nov_29(개발자사이트에올라온Ubuntu)
로컬 ip : 192.168.154.129
subnet : 255.255.255.0
gateway : 192.168.154.2
입니다.
문제는 Samba인데..Ubuntu_Nov_29는 삼바가 설치되어있고
사용자 v43도 만들어져 있어서 그냥 접속만 하면 되는걸로
알거든요.\\192.168.154.129\v43 검색이 안되서
ping을 해보니 GUEST OS에서는 HOST에 ping이 되는데
HOST에서는 GUEST의 ip(192.168.154.129)가
ping이 안됩니다.
어떻게 하면 HOST와 GUEST가 서로 네트웍이 될까요.
참고로 GUEST OS 두개 모두 인터넷은 가능하구요
네트웍은 custom으로 vmnet8(NAT)로 연결했습니다.
그리고 HOST에서 네트워크 연결을 보니 vmnet8은 패킷의
이동이 없구요..GUEST OS에서 인터넷을 하면
vmnet8의 패킷이동없이 로컬연결에서 패킷이 바로 움직입니다.
많은 관심과 답변 부탁드립니다.

acooda의 이미지

VMnet8(NAT) 으로 연결하셨다고 하셨는데, VMnet8아답터의 아이피와 님의 guest로 쓰고 계시는 우분투의 아이피 설정이 잘못 되었습니다.

계스트의 게이트웨이가 VMnet8아답터의 아이피가 되야대는데, 위와 같은 상황에서는 계스트에선 인터넷이 될 수가 없는 상황입니다.

그런데 계스트에서 호스트로 핑이 가나요??? 이부분은 잘 이해가 안가네요;;;

VMnet8 아답터의 아이피가 위와 같이 하셨다면, 그럼 계스트쪽 게이트웨이는 192.168.0.1로 해주셔야 됩니다. 아이피는 192.168.0.2 정도로 해주시면 되겠구요.

저와 같은 경우는 처음 설치할때 VMnet8아답터의 아이피가 192.168.241.1로 되어있었습니다. 그리고 계스트로 데비안을 설치했는데, 저의 interfaces파일입니다.

acooda@sarge2:/var/www/files/active/1$ 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
 
# The primary network interface
auto eth0
iface eth0 inet static
#iface eth0 inet DHCP
address 192.168.241.5
netmask 255.255.255.0
gateway 192.168.241.1
acooda@sarge2:/var/www/files/active/1$      

우선 아이피 설정 하시고 인터넷 연결이 제대로 되시면 삼바문제는 쉽게 해결될거 같습니다.

노트북 잃어버렸음;;

노트북 잃어버렸음;;

kngom83의 이미지

답변감사합니다. 가르쳐주신대로 하니 내부 네트워크는 작동을 하는데

외부와 접속이 안되더군요...그래서 제가 vm nat설정을 보니

192.168.154.128부터 ip를 쓰도록 되어있어서.

Guest os에서
gateway를 192.168.154.1
ip를 192.168.154.129로
설정하고

Host os에서
vmnet8에서 ip를 192.168.154.1 로 설정하니
내부와 외부로 모두 가능하네요..

그냥 ip,gateway xxx.xxx.xxx.xxx 넣어라 하시지 않고
설정 방법과 같이 가르쳐 주셔서 감사합니다.

댓글 달기

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