Open GoogleCodeExporter opened 8 years ago
see attached file for settings:
use a NAT interface (1 interface)
and enable port forwarding as written in the screenshot
host ip: 127.0.0.2
host port: 2222
guest ip: 10.2.0.15
guest port: 22 (ssh port)
Original comment by leander....@gmail.com
on 1 Aug 2014 at 12:38
Attachments:
leanderd@lleanderd ~
$ ssh -p 2222 127.0.0.2 -l centos
centos@127.0.0.2's password:
[centos@localhost ~]$ ls
Desktop Documents Downloads Music Pictures Public Templates Videos
[centos@localhost ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:C3:B0:F9
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fec3:b0f9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39472 errors:0 dropped:0 overruns:0 frame:0
TX packets:20338 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52720028 (50.2 MiB) TX bytes:1108201 (1.0 MiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:19:EA:5C
inet6 addr: fe80::a00:27ff:fe19:ea5c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:11070 (10.8 KiB)
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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:578 (578.0 b) TX bytes:578 (578.0 b)
Original comment by leander....@gmail.com
on 1 Aug 2014 at 12:39
Original issue reported on code.google.com by
leander....@gmail.com
on 1 Aug 2014 at 11:57