Point-to-Point Communication Established between a pair of Isolated Physical HostsThis is a featured page

  1. First off, the physical hosts Scofield and Montgomery both had the openssh-server daemon installed on them.
  2. Both machines were disconnected from the LAN, and a point-to-point physical connection was established between the two physical machines by means of an appropriate Ethernet cable.
  3. Since both physical hosts had the avahi daemon running on them, there was no need of configuring the network manually, as both machines were able to auto-detect each other because of the avahi daemon installed on them.

The following excerpt shows the P2P communication that was established between scofield and montgomery:

reichsfuhrer@montgomery:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:72:74:f5:e6
inet6 addr: fe80::213:72ff:fe74:f5e6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:954428 errors:13 dropped:0 overruns:0 frame:0
TX packets:115798 errors:0 dropped:0 overruns:0 carrier:0
collisions:20996 txqueuelen:1000
RX bytes:342560170 (326.6 MB) TX bytes:9598802 (9.1 MB)
Interrupt:16

eth0:avahi Link encap:Ethernet HWaddr 00:13:72:74:f5:e6
inet addr:169.254.10.166 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16

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:2294 errors:0 dropped:0 overruns:0 frame:0
TX packets:2294 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:118572 (115.7 KB) TX bytes:118572 (115.7 KB)

vmnet8 Link encap:Ethernet HWaddr 00:50:56:c0:00:08
inet addr:192.168.53.1 Bcast:192.168.53.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:486 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

reichsfuhrer@montgomery:~$ ssh 169.254.7.148

The authenticity of host '169.254.7.148 (169.254.7.148)' can't be established.
RSA key fingerprint is c5:e0:9f:dc:03:7f:49:d0:e9:e5:39:1a:b4:81:ee:7f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '169.254.7.148' (RSA) to the list of known hosts.
reichsfuhrer@169.254.7.148's password:
Linux scofield 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
Last login: Tue Jun 3 14:48:02 2008

reichsfuhrer@scofield:~$ echo logged into scofield from montgomery via openSSH-server
logged into scofield from montgomery via openSSH-server

reichsfuhrer@scofield:~$ traceroute 169.254.10.166
traceroute to 169.254.10.166 (169.254.10.166), 30 hops max, 40 byte packets
1 montgomery.local (169.254.10.166) 0.220 ms 0.196 ms 0.184 ms

reichsfuhrer@scofield:~$ traceroute scofield
traceroute to scofield (127.0.1.1), 30 hops max, 40 byte packets
1 scofield (127.0.1.1) 0.041 ms 0.012 ms 0.008 ms

reichsfuhrer@scofield:~$ logout
Connection to 169.254.7.148 closed.

The next logical step after this is to manually configure the networking in the physical hosts, and assign static IP addresses to them. After establishing communication between them, we can make the physical hosts act as routers (NOTE: the Multi-Threaded Routing toolkit has already been installed on the machines), and establish communication between the VMs that are running on Scofield & Montgomery, across the P2P connection.

For more information on Avahi, visit the Avahi Project.





sbanerj1
sbanerj1
Latest page update: made by sbanerj1 , Jun 3 2008, 8:20 PM EDT (about this update About This Update sbanerj1 Rename - sbanerj1

No content added or deleted.

- complete history)
Keyword tags: None
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.