Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I hope that makes enough sense. I've configured the linux machines as a name server and have enabled IP forwarding. From a virtual machine I can now ping eth0 aswell as vmnet1 and I can make nameserver lookups, i.e; nslookup www.google.com returns the correct IP.
My question is, how do I configure zebra/quagga and ripd on the Linux machine? I have them both installed but having not used them before I thought I'd post here whilst I trawl through some guides.
Do I really need to have my Linux machine act as a router? Is a simply route add enough?
eth0 = 192.168.1.70
vmnet1 = 192.168.0.1
How would I construct a route between those two interfaces?
wow, from vmware to zebra... quite a big leap there... what's the actual goal? just to get internet accss, or is there some bigger reasoning behind mentioned routing engines? if you just want the end result, change the vmware network mode to bridged and that's all there is to it, assuming the speedtouch router is runnign a standard local subnet and such like. other than bridged networking, the vmware host machien has nothign whatsoever to do with it.
I want to retain my Virtual Machines on the private subnets and not use bridging due to some things I would like to try out and document. Hence why I thought the best bet would be by running zebra on the host machine to route traffic to my ADSL Router.
My ADSL router;
192.168.1.254
My Host;
eth0 : 192.168.1.76
vmnet1 : 192.168.0.1 (private subnet for VM's)
My VMs;
VM1: 192.168.0.2
VM2: 192.168.0.3
So VM's can ping all interfaces on the host and can make dns lookups.
Not being very clued up I tried a simple ripd.conf;
ok, well if you want to route, again there's no need for a routing protocol, it's much simpler than that. a routing protocol is only useful if you have more than one device using said protocol, which you don't, unless you speedtouch router is also part of rip, which i very much doubt.
right...
1) "echo 1 > /proc/sys/net/ipv4/ip_forward" on the vmware host.
2) add route for 192.168.0.0/24 via 192.168.1.70 on the router.
simple as that, firewalls and things exlucded... step 2 could be enable ip masquerading on the vmware host instead, but i don't think you'd like to do it that way, you seem to want a more technically correct solution.
Last edited by acid_kewpie; 05-11-2007 at 07:28 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.