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.
Does the NAT (default configuration by KVM) allow the installation of the Red Hat over FTP ?
or do i need to configure a Bridge or Routed configuration for the VM?
Hi. Sorry that I didn't understand your original request and fired back with a list of questions to be answered.
In any case, I have been able to do an ftp installation, even unattended using kickstart, on a KVM virtual machine attached to the host with NAT.
My ftp server was on the host.
Now I did find out that guest-to-guest networking can be tricky. If your ftp server is on another KVM guest, this could be the reason for your trouble. I solved my problem by tweaking the host's firewall.
i am able to access the internet on my host machine, however, in my VM (Centos 5.10) , i;m not able to launch a webpage says "google.com". But if i ping "www.google.com",it could resolve to it's IP address. And if i ping to it's ip address which is "22.214.171.124" there is no reply, the cursor just blinks on the next line.
In the VM, the ifconfig shows the only the eth0 and lo. Is there other adapter need to be shown and activated?
# Controls IP packet forwarding
net.ipv4.ip_forward = 0 set 0 to 1 in your case. i use vms too but i pass a nic to a firewall and the bridge is on the lan side so i don't need the packets to be forwarded. I think this is your missing step.
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
# Controls the default maxmimum size of a mesage queue
kernel.msgmnb = 65536
# Controls the maximum size of a message, in bytes
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
#service network restart
All the above goes on your host not virtual machines. then when you use the virtual machine add it's nic to the bridge./ once the instalation starts, make sure to enable the nic in the installation menu.
Last edited by ericson007; 12-30-2013 at 10:53 PM.
Good stuff mate!
The Michael Jang book is pretty good for that. I have it even though not really intending to do the exam, but it does look like it will work rather well.
For your vm's the main thing you are after is to do nat. You don't need a bridge per se. A bridge will allow access to virtual machines from your whole network. The labs are configured on a virtual network , the virtual network hosts should be able to connect to each other and then to get them to download the updates or access the net, you need nat translation and thus forwarding of packets via sysctl.conf will be required.
Best of luck. The rhcsa is actually pretty interesting!