Hi Aaron, In my DHCP config of the private network, I did define the option routers. That caused the problem. I just removed that line and now I can connect to the machines using public IP as well as internet connection. Everything works perfectly. Thank you for pointing that out.
-Dan On Tue, May 28, 2013 at 10:32 AM, Aaron Peeler <[email protected]>wrote: > Hi Dan, > > In your dhcp server config. Do you have the 'option routers' defined > correctly for your public subnet? > > Aaron > > > > > > On Thu, May 23, 2013 at 5:45 PM, Dan Huynh <[email protected]>wrote: > >> Hi, >> For VCL we need 2 NICs, 1 for private and 1 for public. >> *I created RHEL 6 image, If I use the default setting : * >> DEVICE=eth0 /eth1 >> BOOTPROTO=dhcp >> ONBOOT=yes >> >> then I wont be able to ping public address or to connect to the internet. >> >> I changed the default route by* adding DEFROUTE=yes/no* accordingly to >> the config files of eth1 and eth0. Now I get both NICs working fine. >> >> But after image captured, VCL changed the config and removed >> DEFROUTE=yes/no. >> >> Because of this, every time I make the reservation, I can never connect >> to the machine via public IP address. >> >> *What should I do to have both private and public NIC working? Should I >> do hard-coding the Linux.pm file, so that DEFROUTE will be added to the >> network config files?* >> >> Thanks >> -- >> *Dan Huynh* >> * >> Cary, NC 27513* >> > > > > -- > Aaron Peeler > Program Manager > Virtual Computing Lab > NC State University > > All electronic mail messages in connection with State business which are > sent to or received by this account are subject to the NC Public Records > Law and may be disclosed to third parties. > -- *Dan Huynh* * Cary, NC 27513*
