<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><div style="direction: ltr;">Dear Dowdell</div><div style="direction: ltr;"><br></div><div style="direction: ltr;">in interface configuration after the gateway statement I should put the IP address of the gateway, I want to put the interface name, like eth0, instead.</div><div style="direction: ltr;">Or I want to do it by ip route statement something like:</div><div style="direction: ltr;">Ip route add 0.0.0.0 via eth0</div><div><br></div>Best regards,</div><div>Amer<br><div style="text-align: right;direction: rtl; ">‏Dick Dowdell ‏<<a href="mailto:dick.dowdell@gmail.com">dick.dowdell@gmail.com</a>>:‬</div></div><div style="direction: rtl; text-align: right;"><br></div><blockquote type="cite"><div>Engineer Amer,<div><br></div><div>Would you explain your objective in more detail, I don't understand what you're trying to accomplish.</div><div><br>On Saturday, March 14, 2015, Amer <<a href="mailto:amer7777@hotmail.com">amer7777@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><div style="direction:ltr">Hello,</div><div style="direction:ltr"><br></div><div style="direction:ltr">I need to make the Ethernet interface as a default gateway not the IP of the router. How?</div><div style="direction:ltr"><br></div><div style="direction:ltr">Best regards,</div><div style="direction:ltr">Amer </div><br><div style="text-align:right;direction:rtl">‏</div></div><blockquote type="cite"><blockquote type="cite"><div><div dir="ltr">Engineer Amer,<div><br></div><div>Glad to help!  Good luck.</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">Regards,<div>Dick Dowdell<div>Phone: 508-528-4018  Mobile: 508-498-7919</div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Mar 13, 2015 at 3:00 PM, Amer <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','amer7777@hotmail.com');" target="_blank">amer7777@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><div style="direction:ltr">Thank you</div><div style="direction:ltr">It is OK now</div><div style="direction:ltr">I connected the VMs to net0 and I gave all of them the same subnet IP. Then, every thing is OK.</div><div style="direction:ltr"><br></div><div style="direction:ltr">Best regards,</div><div style="direction:ltr">Amer</div><br><div style="text-align:right;direction:rtl">‏‫‏Amer ‏<<a href="javascript:_e(%7B%7D,'cvml','amer7777@hotmail.com');" target="_blank">amer7777@hotmail.com</a>>:‬</div></div><div><div><div style="direction:rtl;text-align:right"><br></div><blockquote type="cite"><div><div><div style="direction:ltr">Hello,</div><div style="direction:ltr"><br></div><div style="direction:ltr">Dear all</div><div style="direction:ltr"><br></div><div style="direction:ltr">I tried with host-only and the two VMS in the same subnet 192.168.56.x</div><div style="direction:ltr">However, VM1 can ping the two vboxnet0 and 1, and VM2 can not,</div><div style="direction:ltr">When I changed the IPs and restart the two VMs, reverse happen, VM2 can ping but VM1 can't.</div><div style="direction:ltr">Although, in both scenarios no ping between the two VMs.</div><div style="direction:ltr"><br></div><div style="direction:ltr">Best regards,</div><div style="direction:ltr">Amer</div></div><div style="direction:rtl;text-align:right">.com>:‬<br><br></div><blockquote type="cite"><div><div dir="ltr"><div dir="ltr" style="font-size:12.8000001907349px"><span><span style="font-size:12.8000001907349px">Engineer Amer,</span><div style="font-size:12.8000001907349px">  </div><div style="font-size:12.8000001907349px">If I understood your requirement, you need to set up two virtual machines within VirtualBox running on a Ubuntu host.  These two VMs must be visible to each other (and probably visible to the host machine). If that is correct, the VirtualBox solution is very simple:</div></span><div style="font-size:12.8000001907349px"><ul><li style="margin-left:15px">Use the Network settings to enable, on each of the VMs, two network adapters, a NAT adapter and a Host-only adapter...</li><span><li style="margin-left:15px">Log on to each VM and use the ifconfig command to view the network interface assignments.  Typically, the Host-only assignment will be eth1 and have an IP address of 192.168.56.nnn.  Each VM will be visible at that address from the host and the other VM.</li></span></ul><span>This has always worked for me.<br></span><div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">If you need to reach either of the VMs from outside the host, you can use the VirtualBox Network Manager to set up port forwarding to the appropriate VM and port.  I hope this helps.  I attached images of the Network dialog boxes to an earlier posting, but they're being held for monitor approval.</div></div></div></div><div style="font-size:12.8000001907349px"><div><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><div class="gmail_extra" style="font-size:12.8000001907349px"><span><div><div dir="ltr">Regards,<div>Dick Dowdell<div>Phone: <a href="tel:508-528-4018" value="+15085284018" target="_blank">508-528-4018</a>  Mobile: <a href="tel:508-498-7919" value="+15084987919" target="_blank">508-498-7919</a></div></div></div></div></span></div></div>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>ubuntu-users mailing list</span><br><span><a href="javascript:_e(%7B%7D,'cvml','ubuntu-users@lists.ubuntu.com');" target="_blank">ubuntu-users@lists.ubuntu.com</a></span><br><span>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></span><br></div></blockquote></div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>ubuntu-users mailing list</span><br><span><a href="javascript:_e(%7B%7D,'cvml','ubuntu-users@lists.ubuntu.com');" target="_blank">ubuntu-users@lists.ubuntu.com</a></span><br><span>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></span><br></div></blockquote></div></div></div><br>--<br>
ubuntu-users mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','ubuntu-users@lists.ubuntu.com');" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>ubuntu-users mailing list</span><br><span><a href="javascript:_e(%7B%7D,'cvml','ubuntu-users@lists.ubuntu.com');" target="_blank">ubuntu-users@lists.ubuntu.com</a></span><br><span>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></span><br></div></blockquote></blockquote><blockquote type="cite"><div><span>-- </span><br><span>ubuntu-users mailing list</span><br><span><a href="javascript:_e(%7B%7D,'cvml','ubuntu-users@lists.ubuntu.com');" target="_blank">ubuntu-users@lists.ubuntu.com</a></span><br><span>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></span><br></div></blockquote></div></blockquote></div><br><br>-- <br><div dir="ltr">Regards,<div>Dick Dowdell<div>Phone: 508-528-4018  Mobile: 508-498-7919</div></div></div><br>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>ubuntu-users mailing list</span><br><span><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a></span><br><span>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></span><br></div></blockquote></body></html>