Jump to content

Recommended Posts

Posted
ok when i get home i will run the local ssh and then try and ping the ip and will then note down the results from ifconfig and post it here.
Posted

Ok, localssh works fine, however I cant ping via my physical machine, I get timed out.

 

Results of ifconfig:

 

eth0 Link encap:Ethernet HWaddr 08:00:27:29:61:f1

inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0

inet6 addr: fe80::a00:27ff:fe29:61f1/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:11 errors:0 dropped:0 overruns:0 frame:0

TX packets:44 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:1470 (1.4 KB) TX bytes:5382 (5.2 KB)

Interrupt:11 Base address:0xc020

 

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:452 errors:0 dropped:0 overruns:0 frame:0

TX packets:452 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:27932 (27.2 KB) TX bytes:27932 (27.2 KB)

Posted
What's the output of ipconfig /all on your local machine?

 

Microsoft Windows [Version 6.0.6000]

Copyright © 2006 Microsoft Corporation. All rights reserved.

 

C:\Users\Daniel>ipconfig /all

 

Windows IP Configuration

 

Host Name . . . . . . . . . . . . : Daniel-PC

Primary Dns Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Hybrid

IP Routing Enabled. . . . . . . . : No

WINS Proxy Enabled. . . . . . . . : No

DNS Suffix Search List. . . . . . : lan

 

Ethernet adapter Local Area Connection:

 

Connection-specific DNS Suffix . : lan

Description . . . . . . . . . . . : SiS191 Ethernet Controller

Physical Address. . . . . . . . . : 00-1C-25-89-21-E9

DHCP Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

Link-local IPv6 Address . . . . . : fe80::9dcf:6232:f21:5a04%8(Preferred)

IPv4 Address. . . . . . . . . . . : 192.168.1.64(Preferred)

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Lease Obtained. . . . . . . . . . : 17 July 2008 05:34:10

Lease Expires . . . . . . . . . . : 18 July 2008 06:32:17

Default Gateway . . . . . . . . . : 192.168.1.254

DHCP Server . . . . . . . . . . . : 192.168.1.254

DHCPv6 IAID . . . . . . . . . . . : 134218092

DNS Servers . . . . . . . . . . . : 192.168.1.254

NetBIOS over Tcpip. . . . . . . . : Enabled

 

Tunnel adapter Local Area Connection* 6:

 

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface

Physical Address. . . . . . . . . : 02-00-54-55-4E-01

DHCP Enabled. . . . . . . . . . . : No

Autoconfiguration Enabled . . . . : Yes

IPv6 Address. . . . . . . . . . . : 2001:0:d5c7:a2ca:34:21df:3f57:febf(Prefer

red)

Link-local IPv6 Address . . . . . : fe80::34:21df:3f57:febf%10(Preferred)

Default Gateway . . . . . . . . . : ::

NetBIOS over Tcpip. . . . . . . . : Disabled

 

Tunnel adapter Local Area Connection* 7:

 

Connection-specific DNS Suffix . : lan

Description . . . . . . . . . . . : isatap.lan

Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

DHCP Enabled. . . . . . . . . . . : No

Autoconfiguration Enabled . . . . : Yes

Link-local IPv6 Address . . . . . : fe80::5efe:192.168.1.64%9(Preferred)

Default Gateway . . . . . . . . . :

DNS Servers . . . . . . . . . . . : 192.168.1.254

NetBIOS over Tcpip. . . . . . . . : Disabled

 

C:\Users\Daniel>

Posted

So given your vm is on the 10.* range and your PC is on the 192.* it's unlikely without some clever routing it will work.

 

I suggest you look in VMWare at what network settings you assigned for your VM. I'd think you've set Host-Only and it needs to be Bridged so it gets an IP 192.x.x.x from your DHCP(Router?).

Posted
So given your vm is on the 10.* range and your PC is on the 192.* it's unlikely without some clever routing it will work.

 

I suggest you look in VMWare at what network settings you assigned for your VM. I'd think you've set Host-Only and it needs to be Bridged so it gets an IP 192.x.x.x from your DHCP(Router?).

 

I am using VirtualBox.

Posted

I've had a quick look at the manual but without downloading and installing its difficult to troubleshoot.

 

It would appear that in NAT mode that there are some known issues surrounding the ICMP implementation but it shouldn't be an issue here.

 

OK, forgetting VirtualBox for a minute, run

 

iptables -L

 

and report that back, along with checking

 

system-config-securitylevel

 

to ensure SELinux and the Firewall are disabled.

Posted
I am using VirtualBox.

 

I use VirtualBox on my home Windows XP Home machine. Did the VirtualBox network bridge install okay - under "Network Connections" (or whatever the heck the Vista equivalent is these days) do you have connections labelled "VirtualBox Host Interface 1" and "Network Bridge" or similar, and does your Local Area Connection connection status read "Connected, Bridged"?

 

A network "bridge" is basically the software equivalent of a switch - you're plugging a bunch of network connections (one real, others virtual) into a virtual switch so your virtual connections can all share your real connection.

 

--

David Hicks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...