0

I am running on a Windows laptop to a Ubuntu MacBook Pro that's running Ubuntu Sever on VirtualBox. I'm running it over VM because the connection at my house is dynamic and Wi-Fi only, and I cannot change those settings as I have no control over it.

I've tried tinkering with the 00-installer YAML file a bunch, I've attempted messing with port forwarding on the VM. I've re-installed Ubuntu Server something like 4 times just to reset everything, assuming that I may have messed something up to prevent SSH from working. Can't even connect over localhost; and it goes without saying but SSH is installed on all the OS/distros.

No matter how many times I've changed things or it's just been the base install, I am fully unable to SSH into UServer, the base Ubuntu install (not VM), can't SSH into Windows, nor into a VM of Ubuntu on Windows.

Windows base:

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::47cf:c43f:73a:8bfb%2
   IPv4 Address. . . . . . . . . . . : 10.62.195.223
   Subnet Mask . . . . . . . . . . . : 255.0.0.0
   Default Gateway . . . . . . . . . : 10.128.128.128```

Ubuntu base:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp2s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 3c:07:54:10:e4:ea brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 28:cf:da:e0:ec:2e brd ff:ff:ff:ff:ff:ff
    inet 10.253.67.224/8 brd 10.255.255.255 scope global dynamic noprefixroute wlp3s0
       valid_lft 86055sec preferred_lft 86055sec
    inet6 fe80::3a30:6245:451b:b435/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
4: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.133.1/24 brd 192.168.133.255 scope global vmnet1
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:fec0:1/64 scope link 
       valid_lft forever preferred_lft forever
5: vmnet8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 00:50:56:c0:00:08 brd ff:ff:ff:ff:ff:ff
    inet 172.16.98.1/24 brd 172.16.98.255 scope global vmnet8
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:fec0:8/64 scope link 
       valid_lft forever preferred_lft forever

Ubuntu Server (VM & pseudo-static + eth) https://i.sstatic.net/EQ7Qs.png

13
  • Add a NAT virtual network adapter
    – mully
    Commented Jan 18 at 16:09
  • @mully NAT's been enabled
    – SensorMyth
    Commented Jan 18 at 16:36
  • Okay, what error do you get when trying to connect via SSH? Is the service running? Can you ping the VM? Also, your VM is using a /24 mask and ur bases are on /8 Put your VM onto the 10.x.x.x/8
    – mully
    Commented Jan 18 at 16:38
  • SSHing always times out, SSH is active, pinging from Windows to VM is unreachable while Ubuntu to VM filters the packet. I believe I've changed the mask to /8, though same results happen.
    – SensorMyth
    Commented Jan 18 at 17:31
  • Whats the new address that your VM has now?
    – mully
    Commented Jan 18 at 17:41

0

You must log in to answer this question.

Browse other questions tagged .