Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've setup an XP VM using Red Hat's KVM. The physical Red Hat box has two NICs, a fiber one in use and active and a CAT-5 one that is disabled and with no wire connected.
The physical box has br0 active and bridging on the subnet of 192.168.10.0/24. ip route show also displays for virbr0 192.168.0.0/16
My physical box (192.168.10.228)can ping the virbr0 IP of 192.168.122.1, but not the XP VM of 192.168.122.228
I have played around with Window's route command to try and setup some method for the Windows VM to ping the 192.168.10.0 network, but have not had any luck. I've also messed around with the Red Hat netmask and such to work it from the Linux side. But then, as would be expected, I can't talk to other Linux boxes on the physical network.
Does anyone have any ideas how to get the Windows box to communicate with the Red Hat box and the other Linux systems beyond while keeping the two distinct networks of 192.168.10.0 and 192.168.122.0 leaving them both as Class C (255.255.255.0)?
I mentioned the unused CAT-5 NIC thinking perhaps it could operate as an internal router even with no cable attached. That was just a random thought and I have not even explored that.
Thanks everyone for reading and especially for your thoughts and expertise.
I actually had some contact with Red Hat and my barking-up the 184.108.40.206 tree seems to be a dead end perhaps. Here is their statement:
"The virbr0 IP address is completely unrelated to the IP address of the guest operating systems. You should simply be able to set the IP address as you wish. Bridges act like virtual ethernet switches, rather than as routers."
So it seems I've been trying to route via "switches." I guess I would need some sort of software based routing RPM so that systems attached to the 192.168.10.0 network and the 192.168.122.0 network could be routed to each other.
In his statement above he says "...You should simply be able to set the IP address as you wish..." and that is true. I can set the VM IP to one on the 192.168.10.0 network and it is happy. I can ping other systems.
I've also played around with your route command using all sorts of combinations of the parameters and their variables, but haven't hit on any success yet.
I had hoped to try and trick the VM by setting the IP to something like 192.168.122.2 and then use a netmask of 255.255.0.0 so the network portion of the IP would match (well sort of match), but this did not work.
Oh well, it seems I have two machines, one physical and one virtual. Either I put them on the same subnet and move on or I find a virtual router. I seen rumors that squid might do this, but I haven't found any good examples of setting that up. All the examples and forums point squid to being more useful as a proxy for web stuff and such.
If I get something figured out, I'll let you know.