Re: [CentOS] mysql secure installation and multi mysqld

2012-05-17 Thread Leon Jacobs
On Thu, May 17, 2012 at 5:44 AM, Bob Hoffman b...@bobhoffman.com wrote:
 is it possible to make each one of those instances a replicate/slave of
 a different master
 (thus a backup mysql server in a way?)

I just recently finished playing with this. I ended up brining up a
dedicated VM for this backup mysql server. I then created 2 new init
scripts (based off the mysqld one) and modified both to point to their
respective my.cnf's (with auto startup via chkconfig etc etc). Both
have separate data directories, run off 2 separate ports (and socket
files) - which are fire walled anyways as I have no requirement for
this to be open on the slaves and replicate 2 separate masters :)

L.

-- 
Sent using electronic mail
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mysql secure installation and multi mysqld

2012-05-17 Thread Bob Hoffman
On 5/17/2012 5:30 AM, Leon Jacobs wrote:
 On Thu, May 17, 2012 at 5:44 AM, Bob Hoffmanb...@bobhoffman.com  wrote:
 is it possible to make each one of those instances a replicate/slave of
 a different master
 (thus a backup mysql server in a way?)
 I just recently finished playing with this. I ended up brining up a
 dedicated VM for this backup mysql server. I then created 2 new init
 scripts (based off the mysqld one) and modified both to point to their
 respective my.cnf's (with auto startup via chkconfig etc etc). Both
 have separate data directories, run off 2 separate ports (and socket
 files) - which are fire walled anyways as I have no requirement for
 this to be open on the slaves and replicate 2 separate masters :)

 L.

Okay, so it looks doable.
My plan is to add the instances inside of the my.cnf and then use 
mysqld_multi to run them as slaves
to separate website masters...

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem building latest Courier-authlib on CentOS4

2012-05-17 Thread Bowie Bailey
Upgrading to CentOS6 is on my list, but I'm trying to get the latest 
Courier-MTA running at the moment.

I downloaded the current courier tarballs and tried to build the rpms on a 
CentOS4 system.  I got these errors:

$ rpmbuild -tb courier-authlib-0.64.0.tar.bz2
...
libtool: link: ar cru .libs/libauthpipe.a  authpipe.o authpipelib.o
libtool: link: ranlib .libs/libauthpipe.a
libtool: link: ( cd .libs  rm -f libauthpipe.la  ln -s
../libauthpipe.la libauthpipe.la )
libtool: link: gcc -I/usr/include/mysql -g -pipe -m32 -march=i386
-mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-fno-strict-aliasing -I/usr/include -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -Wall -I.. -I./.. -o authdaemontest authdaemontest.o 
./.libs/libcourierauthcommon.a
/home/bowieb/rpm/BUILD/courier-authlib-0.64.0/.libs/libcourierauth.a -ldl
libtool: link: cannot find the library `libltdl/libltdlc.la' or
unhandled argument `libltdl/libltdlc.la'
make[2]: *** [authdaemondprog] Error 1
make[2]: *** Waiting for unfinished jobs
libtool: link: gcc -I/usr/include/mysql -g -pipe -m32 -march=i386
-mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-fno-strict-aliasing -I/usr/include -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -Wall -I.. -I./.. -o .libs/authpasswd authpasswd.o 
./.libs/libcourierauthcommon.so
/home/bowieb/rpm/BUILD/courier-authlib-0.64.0/.libs/libcourierauth.so
libhmac/.libs/libhmac.a md5/.libs/libmd5.a sha1/.libs/libsha1.a
rfc822/.libs/libencode.a -ldl -Wl,-rpath -Wl,/usr/lib/courier-authlib
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.93944 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.93944 (%build)

I asked on the Courier list and Sam said that my libtool is too old.  He 
suggested adding an autoreconf line to the spec file, but that just generated 
an error that my Autoconf is too old.

Can someone give me a pointer as to how to fix this?

Thanks

-- 
Bowie

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem building latest Courier-authlib on CentOS4

2012-05-17 Thread m . roth
Bowie Bailey wrote:
 Upgrading to CentOS6 is on my list, but I'm trying to get the latest
 Courier-MTA running at the moment.

 I downloaded the current courier tarballs and tried to build the rpms on a
 CentOS4 system.  I got these errors:

 $ rpmbuild -tb courier-authlib-0.64.0.tar.bz2
snip
 RPM build errors:
 Bad exit status from /var/tmp/rpm-tmp.93944 (%build)

 I asked on the Courier list and Sam said that my libtool is too old.  He
 suggested adding an autoreconf line to the spec file, but that just
 generated an error that my Autoconf is too old.

 Can someone give me a pointer as to how to fix this?

You may not be able to, not without doing some programming yourself.
You're trying to build a current package on an o/s two releases old, with
no updates since, um, last year?

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem building latest Courier-authlib on CentOS4

2012-05-17 Thread Bowie Bailey
On 5/17/2012 11:34 AM, m.r...@5-cent.us wrote:
 Bowie Bailey wrote:
 Upgrading to CentOS6 is on my list, but I'm trying to get the latest
 Courier-MTA running at the moment.

 I downloaded the current courier tarballs and tried to build the rpms on a
 CentOS4 system.  I got these errors:

 $ rpmbuild -tb courier-authlib-0.64.0.tar.bz2
 snip
 RPM build errors:
 Bad exit status from /var/tmp/rpm-tmp.93944 (%build)

 I asked on the Courier list and Sam said that my libtool is too old.  He
 suggested adding an autoreconf line to the spec file, but that just
 generated an error that my Autoconf is too old.

 Can someone give me a pointer as to how to fix this?
 You may not be able to, not without doing some programming yourself.
 You're trying to build a current package on an o/s two releases old, with
 no updates since, um, last year?

As I said, I've got plans to replace it with a CentOS6 server, but
that's going to take a bit longer, but I was hoping to be able to
upgrade Courier first.

-- 
Bowie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation of CentOS 6 on KVM - Hangs

2012-05-17 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/16/2012 12:29 PM, Tim Nelson wrote:
 - Original Message -
 Greetings-
 
 I'm attempting to install CentOS-6 x86_64 to a virtual machine running
 via KVM on a Proxmox 1.9 system. The specs are 4x CPUs, 4GB RAM, and
 160GB HDD. Installation proceeds fine using either minimal or netinstall
 CDs until installation of the selinux or
 
 More specifically, it's hanging on the selinux-policy-targeted RPM. Not
 sure if this makes a difference, but I thought it worthy of note.
 
 --Tim ___ CentOS mailing list 
 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
How much memory did you give to the VM?  selinux-policy rpm within a update
takes a lot of memory.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+1Hf8ACgkQrlYvE4MpobMB/wCeN2sJpUoT7GtCbv2bfwh0IYZc
7MYAn3/Us85DbMgOI5bIhJTYb9yRUuaS
=LRnV
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation of CentOS 6 on KVM - Hangs

2012-05-17 Thread Lars Hecking
Daniel J Walsh writes:
 On 05/16/2012 12:29 PM, Tim Nelson wrote:
  - Original Message -
  Greetings-
  
  I'm attempting to install CentOS-6 x86_64 to a virtual machine running
  via KVM on a Proxmox 1.9 system. The specs are 4x CPUs, 4GB RAM, and
  160GB HDD. Installation proceeds fine using either minimal or netinstall
  CDs until installation of the selinux or
  
  More specifically, it's hanging on the selinux-policy-targeted RPM. Not
  sure if this makes a difference, but I thought it worthy of note.
  
  --Tim ___ CentOS mailing list 
  CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
 How much memory did you give to the VM?  selinux-policy rpm within a update
 takes a lot of memory.

 Absolutely. I found that it will not work well or at all with less than
 512MB of RAM. If less is wanted, it can be reduced afterwards, but that's
 the minimum needed for installation.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation of CentOS 6 on KVM - Hangs

2012-05-17 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/17/2012 12:01 PM, Lars Hecking wrote:
 Daniel J Walsh writes:
 On 05/16/2012 12:29 PM, Tim Nelson wrote:
 - Original Message -
 Greetings-
 
 I'm attempting to install CentOS-6 x86_64 to a virtual machine
 running via KVM on a Proxmox 1.9 system. The specs are 4x CPUs, 4GB
 RAM, and 160GB HDD. Installation proceeds fine using either minimal
 or netinstall CDs until installation of the selinux or
 
 More specifically, it's hanging on the selinux-policy-targeted RPM.
 Not sure if this makes a difference, but I thought it worthy of note.
 
 --Tim ___ CentOS mailing
 list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
 How much memory did you give to the VM?  selinux-policy rpm within a
 update takes a lot of memory.
 
 Absolutely. I found that it will not work well or at all with less than 
 512MB of RAM. If less is wanted, it can be reduced afterwards, but that's 
 the minimum needed for installation.
 
 ___ CentOS mailing list 
 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yes installing with less then 512 would be a problem.  It might be a little
better in RHEL7.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+1IY4ACgkQrlYvE4MpobOrKwCZAUUjXBsFmp1oUj64iAnG5uTQ
FcUAn33TyPQwuOyjjHdGoYyhSb/J7pJw
=2sGo
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] kernel: nfs: RPC call returned error 88

2012-05-17 Thread Rhugga Harper
We have a 2-node Oracle RAC that keeps getting the following error:
kernel: nfs: RPC call returned error 88

The storage being mounted is netapp. We don't see any errors/issues on the
storage itself or the switches this client is connecting thru. The NFS
network is a 2-interface ( 2 x 1Gb UTP) bond which shows no errors of any
kind.

We are mounting with the following mount options:
rw,noac,nointr,bg,hard,timeo=
600,wsize=32768,rsize=32768,nfsvers=3,tcp

This problem sometimes hits the OCR votedisk shares and causes the instance
to crash.

These systems were upgraded to 5.6 back in January.

Currently running 2.6.32-300.4.1.

Thanks for any info,
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Rewrite part of a message with rsyslog

2012-05-17 Thread Kanwar Ranbir Sandhu
On Fri, 2012-04-27 at 12:39 +0200, C. L. Martinez wrote:
  Somebody knows how can I do this??

This is a really late reply: you should join the rsyslog mail list -
you'll get lots of help there.

Regards,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux 3.3.5-2.fc16.x86_64 x86_64 GNU/Linux 
12:27:33 up 1 day, 1:13, 3 users, load average: 0.30, 0.45, 0.71 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CONFIG_ARPD turned on in centosplus kernel.

2012-05-17 Thread Steve Clark
On 05/05/2012 04:45 PM, Akemi Yagi wrote:
 On Sat, May 5, 2012 at 12:40 PM, Steve Clarkscl...@netwolves.com  wrote:

 http://bugs.centos.org/view.php?id=5709

 I actually took the latest centosplus kernel srpm and got it going in my
 environment (would like to have
 semi official support though  ;-)  ). It has been running stable for a
 couple of weeks now.

 I have 4 systems setup using it and opennhrp in a DMVPN hub and spoke
 arrangement.
 I have 2 hubs with each of the spokes connected to each of the hubs. The
 spokes would be units in the field while
 the hubs would be at HQ in a failover environment using OSPF amongst them
 all.
 I've updated the RFE you filed with some info. Will be nice if you
 also add the above note in there.

 Akemi
 ___

Thanks Akemi,

I am just preparing to test the new kernel.

-- 
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Setting overcommit_memory=2 kills system

2012-05-17 Thread Michael Coffman
Hello,

In general I am in the habit of turning off memory overcommit because I
believe it's a bad thing in a multi-user environment.   This was never a
problem on rhel5 systems, but on rhel6, I am having issues.When I try
to set overcommit_memory=2, my system locks up.   It basically behaves as
if the memory is all used up...   I see the same behavior on centos6 or
rhel6.   Following is some output from each platform.

# --   RHEL6
# uname -a
Linux joker 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64
x86_64 x86_64 GNU/Linux

#lsb_release -a
LSB Version:
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseWorkstation
Description:Red Hat Enterprise Linux Workstation release 6.2 (Santiago)
Release:6.2
Codename:   Santiago

# free
 total   used   free sharedbuffers cached
Mem:   2052176 2348281817348  0  15352 112852
-/+ buffers/cache: 1066241945552
Swap:  2052088  02052088

# sysctl -a |grep commit
vm.overcommit_memory = 0
vm.overcommit_ratio = 50
vm.nr_overcommit_hugepages = 0
# sysctl -w vm.overcommit_memory=2
vm.overcommit_memory = 2
# ls
-bash: fork: Cannot allocate memory
#

#--- CENTOS6 --
# uname
-a
Linux joker 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64
x86_64 x86_64 GNU/Linux

# lsb_release -a
LSB Version:
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:CentOS release 6.2 (Final)
Release:6.2
Codename:   Final

# free
 total   used   free sharedbuffers cached
Mem:   2052176 3786681673508  0  19472 252576
-/+ buffers/cache: 1066201945556
Swap:  2052088  02052088

# sysctl -a |grep commit
vm.overcommit_memory = 0
vm.overcommit_ratio = 50
vm.nr_overcommit_hugepages = 0
# sysctl -w vm.overcommit_memory=2
vm.overcommit_memory = 2
[root@joker ~]# ls
-bash: fork: Cannot allocate memory

One last point.   If I set the overcommit values in /etc/sysctl.conf and
then reboot, the values get set correctly on boot and everything seems
fine.   In addition I can then change the value of overcommit_memory to 0
and back to 2 with out any ill affects.

Searches for issues with setting overcommit_memory=2 haven't turned up
anything useful..


Thanks.
-- 
-MichaelC
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CONFIG_ARPD turned on in centosplus kernel.

2012-05-17 Thread Akemi Yagi
On Thu, May 17, 2012 at 11:33 AM, Steve Clark scl...@netwolves.com wrote:
 On 05/05/2012 04:45 PM, Akemi Yagi wrote:

 On Sat, May 5, 2012 at 12:40 PM, Steve Clark scl...@netwolves.com wrote:

 http://bugs.centos.org/view.php?id=5709

 I actually took the latest centosplus kernel srpm and got it going in my
 environment (would like to have
 semi official support though  ;-)  ). It has been running stable for a
 couple of weeks now.

 I have 4 systems setup using it and opennhrp in a DMVPN hub and spoke
 arrangement.
 I have 2 hubs with each of the spokes connected to each of the hubs. The
 spokes would be units in the field while
 the hubs would be at HQ in a failover environment using OSPF amongst them
 all.

 I've updated the RFE you filed with some info. Will be nice if you
 also add the above note in there.

 Akemi
 ___

 Thanks Akemi,

 I am just preparing to test the new kernel.

That's great. I closed the bug report thinking there would be no
response. I will reopen it so that you can add your test result.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XEN or KVM - performance/stability/security?

2012-05-17 Thread Gordon Messmer
On 05/16/2012 02:47 PM, Luke S. Crawford wrote:
 (how are the paravirt drivers in KVM these days?  I have a server
 full of kvm guests running some ancient version of ubuntu I will be
 moving to RHEL6 shortly.)

Since RHEL guests have the virtio block drivers built-in, I never get 
around to benchmarking them against non-virtio block devices.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] VMWare Issue

2012-05-17 Thread Rhugga Harper
Ok. I run several linux distro's via vmware on top of my windows 7 machine.
Currently have an Ubuntu 32-bit 10.4 guest for work. An Ubuntu 11.10 64-bit
for misc stuff. Also an OEL 6.2 guest running an oracle database.

I just installed CentOS 5.6 32-bit and I can't get the display to work
right. When it first boots, the screen is very small and almost impossible
to select the username field and log in. Once I log in if I de-select full
screen and then re-select full-screen it updates to the correct size.

I've installed vmware tools three times now. Inside the centos guess I set
my resolution to 1920x1200, which matches my windows 7 machine as well as
the resolution I run the other linux guests at. I set the monitor to
generic 1920x1200 LCD because my monitor type isn't detected. (Samsung
P2770H) Video adapter is set to vmware. (Actual device is an ATI HD 6950)

Anyone have any ideas?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-17 Thread Scott Silva
on 5/16/2012 1:03 PM John R. Dennison spake the following:
 On Wed, May 16, 2012 at 02:57:03PM -0500, Gilbert Sebenste wrote:

 No, it was the same reason I couldn't get Apache to work:

 Selinux was enabled.

 I disabled Selinux. Now, both work fine.
 
 Um, both work out of the box with selinux set to enforcing.  There are
 other issues at play.
 
 Disabling selinux is never a fix.
 
Selinux tanked because of the mass file copies he did... The backup

 files didn't have the extended attributes...

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VMWare Issue

2012-05-17 Thread m . roth
Rhugga Harper wrote:
 Ok. I run several linux distro's via vmware on top of my windows 7
 machine.

Ew (cooties! ugh!) (That should be the other way 'round.)
snip
 I just installed CentOS 5.6 32-bit and I can't get the display to work
 right. When it first boots, the screen is very small and almost impossible
 to select the username field and log in. Once I log in if I de-select full
 screen and then re-select full-screen it updates to the correct size.

 I've installed vmware tools three times now. Inside the centos guess I set
 my resolution to 1920x1200, which matches my windows 7 machine as well as
 the resolution I run the other linux guests at. I set the monitor to
 generic 1920x1200 LCD because my monitor type isn't detected. (Samsung
 P2770H) Video adapter is set to vmware. (Actual device is an ATI HD 6950)

 Anyone have any ideas?

Is there an /etc/X11/xorg.conf? If so, either edit it, or delete it.

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6 - Networking: Some Queries

2012-05-17 Thread Sanjay Arora
Hello all

I am setting up a Centos 6 machine with one network card  one onboard
network port. Both are recognized  work. Onboard Network port is unused
yet, but is required for dedicated access to LTSP LAN, which would allow
older PIII machines to boot from this system. I have installed LTSP but
again Networking seems to be the problem area, as the clients won't boot
from this machine.

Have muddled  tinkered with Networking a bit...deleted  reconfigured the
ifcfg files again  again but as I don't understand NetworkManager and
Google is not helping get relevant results, so I have brought the system to
minimum working condition, where one  network card is providing LAN access
on which Internet Router is configured. And now I am posting my system's
condition below as output of various commands.

My network-scripts directory:

[root@swyam network-scripts]# ls
ifcfg-Internet_GW  ifup-eth
ifcfg-lo   ifup-ippp
ifdown ifup-ipv6
ifdown-bnepifup-isdn
ifdown-eth ifup-plip
ifdown-ipppifup-plusb
ifdown-ipv6ifup-post
ifdown-isdnifup-ppp
ifdown-postifup-routes
ifdown-ppp ifup-sit
ifdown-routes  ifup-tunnel
ifdown-sit ifup-wireless
ifdown-tunnel  init.ipv6-global
ifup   net.hotplug
ifup-aliases   network-functions
ifup-bnep  network-functions-ipv6

Ifconfig output:

[root@swyam network-scripts]# ifconfig
eth0  Link encap:Ethernet  HWaddr E0:69:95:77:A7:F3
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  Interrupt:20 Memory:fe60-fe62

eth1  Link encap:Ethernet  HWaddr 00:60:52:0C:0B:DE
  inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:2245698 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1785431 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:3105161344 (2.8 GiB)  TX bytes:148843277 (141.9 MiB)
  Interrupt:16 Base address:0x2000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:525 errors:0 dropped:0 overruns:0 frame:0
  TX packets:525 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:53459 (52.2 KiB)  TX bytes:53459 (52.2 KiB)

[root@swyam network-scripts]# cat ifcfg-Internet_GW
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.1.3
PREFIX=24
GATEWAY=192.168.1.1
DNS1=218.248.245.1
DNS2=8.8.8.8
DOMAIN=218.248.245.1 8.8.8.8 8.8.4.4
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=Internet GW
UUID=d4535709-a05b-459d-a4fd-f08ec9460bcc
ONBOOT=yes
DNS3=8.8.4.4

Network Manager is running and the above card Internet_GW was configured
through the NetworkManager applet. Internet works. One can disconnect
Internet through the NetworkManager applet. Yet the applet's Edit
Connection -- Wired -- Last Used status shows Never.

Now let's come to what I want to do with this machineThe Onboard
network port for LTSP servicesNetwork card on network
192.168.1.0/24(192.168.1.1 is the ISP ADSL router) to provide LAN
access  Internet
access.

Now what I want to do is to create a third network for my virtual machines
(KVM) say 172.16.1.1/24. Now create some sort of dummy bridge and get these
machines talking to the Internetsaid bridge to either forward the
packets through the normal Internet path or somehow use NAT to do it. I
think this should be doable but haven't come across any example or any
tutorial for this.

Now comes why I want a separate networkwhy not use
192.168.1.0/24...problem is...I don't want to disable Network Manager by
putting Managed=NO in my ifcfg file. As with Network Manager enabled, I can
use USB devices whenever my ISP goes downand I'm afraid it happens more
frequently than I care to bear.

I frankly also don't understand how Network Manager worksin a broad
mannerliterature I found was either too technical or too old or was
focussed on a particular problem.

I would like to know a network/bridge/device topology that can solve my
issuethree networks...lan. ltsp, virtual machines, all having access to
each other  the net, while keeping the option of using networkmanager or
any other tool (I'm open) to plugin any other wireless internet access
device.

I am not very advanced admin, but can follow instructions.

Kindly help.

With regards  thanks.
Sanjay.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos