Hi,

I was trying to use vde_switch utility and form a virtual network for
UML instances running on multiple hosts.

Here is my configuration:

Two linux machines: (host1)10.130.130.180, (host2)10.130.131.90

On host1 did the following:

1) created tap0 and assigned 192.168.0.254
2) ran vde switch with the following commands: vde_switch -tap tap0
-daemon -s /tmp/switch -unix /tmp/switch/ctl

On  host2 did the following:

1) created tap0 with192.168.0.100 ip address
2) ran vde switch with the following commands: vde_switch -tap tap0
-daemon -s /tmp/switch -unix /tmp/switch/ctl


- Created vde cable using dpipe vde_plug /tmp/switch/ctl = ssh host2
vde_plug /tmp/switch/ctl on host1 and dpipe vde_plug /tmp/switch/ctl =
ssh host1 vde_plug /tmp/switch/ctl on host2
- Changed routing on host1 to talk to internet (enabling ip_forward
and enabling masquarade)
- Made the following changes on host2:
     a) ip rule add from 10.130.131.90 table eth0-table
     b) ip route del default via 10.130.131.254
     c) ip route add default via 10.130.131.254 table eth0-table
     d) ip route add default via 192.168.0.254 (host1 tap0 address)

- Ran UML instances on both host1 and host2 with the following command line

./linux ..... eth0=daemon,,unix,/tmp/switch/ctl

Assigned 192.168.0.1 ip for the UML eth0 on host1
Assigned 192.168.0.3 ip for the UML eth0 on host2

Both the UML instances are not able to ping each other. 192.168.0.1 is
able to connect to internet but not 192.168.0.3(expected). Am I
missing any suggested configuration?

I will be happy to provide suggested logs if additional information is
required. My requirement is that both 192.168.0.1 and 192.168.0.3
should see each other.

Regards,
Sirisha

------------------------------------------------------------------------------
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to