CSE 451: Operating Systems, Spring 2011
  CSE Home   About Us   Search   Contact Info 
 
Course Home
Home
Administrivia
Overview
Course email
 
Materials
Course Calendar
Sections
goPost Board
Anonymous feedback
View feedback
 
Assignments
Homework
Projects
Turnin
Gradebook
 
Information
Home Virtual Machine
Linux information
   

Project 1 Setup: Host Only Networking

For security reasons, the CSE451 VM has been set up to use "host only networking." It's accessible via the usual network tools (e.g., ssh, scp, etc.), but only from the machine on which VMware Player is running.

To access the VM using networking tools, you need to know its IP address. You determine that by opening a shell on the VM and executing ifconfig:

[451user@cse451-2011-04-09 kernel]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 31:39:18:88:65:C4  
          inet addr:192.168.16.130  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: ee90::20c:290f:fea8:65c4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:28084 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60093 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1895248 (1.8 MiB)  TX bytes:87245770 (83.2 MiB)
          Interrupt:19 Base address:0x2024 

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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:480 (480.0 b)  TX bytes:480 (480.0 b)
In this particular case, the VM is at 192.168.16.130 (2nd line of information for interface eth0). To login to the VM over the network, I could do this:
$ ssh 451user@192.168.16.130
(but it will work only when issued on the machine on which the VM is running.)

Computer Science & Engineering
University of Washington
Box 352350
Seattle, WA  98195-2350
(206) 543-1695 voice, (206) 543-2969 FAX
[comments to zahorjan at cs.washington.edu]