LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-02-2007, 09:16 AM   #1
varala_kanth
Member
 
Registered: Feb 2004
Posts: 51

Rep: Reputation: 15
IPVS configuring


hello list

Iam trying to use IPVS with telnet service.

I gone through entire documenation of mini howto of ipvs in linuxvirtualserver.org.

still there is not much suceess . i followed all the configs .

my client is 192.168.68.254 .

i want to use the direct routing with ipvs.


the .conf files as said in the mini how to
and http://www.ultramonkey.org/papers/lvs_tutorial/html/ i changed.

the following are the commands which i used.

in director
------------


/sbin/ifconfig eth0:0 192.168.68.201 broadcast
192.168.68.255 netmask 255.255.255.255
/sbin/route add -host 192.168.68.201 dev eth0:0
/sbin/ipvsadm -A -t 192.168.68.201:telnet -s rr
/sbin/ipvsadm -a -t 192.168.68.201:telnet -r
192.168.68.74 -g -w 1
/sbin/ipvsadm -a -t 192.168.68.201:telnet -r
192.168.68.73 -g -w 1



in realserver
-------------

sbin/ifconfig lo:0 192.168.68.201 netmask
255.255.255.255

still when i try to connect from 192.168.68.254
it doesnto even connect.

Your help will be highly appreciated.

scenarios looks like below.

A-> eth0 192.168.68.49 and eth0:0 192.168.68.201 ( director)
B-> eth0 192.168.68.73 lo:0 192.168.68.201 (real server)
C-> eth0 192.168.68.74 lo:0 192.168.68.201 (real server)

I have kernel version 2.6.10 running redhat EL in
three machines .

My aim is to acheive the following architectures

in B and C iam running the telnet service so any body
connectes to telent 192.168.68.201 it has to check with
real servers and connect to them based on availability

In sysctl.conf of all ips ipv4 forward is enabled.
No firewall or iptables running.

if i try to connect from other machine like 192.168.68.254 it s
trying to connect at last it will fail.

as a matter of fact i never seen B and C as connected
state in director when i see with ipvsadm.


so any bodys ideas and help will be highly appreciated
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Load balance multiple user with only ONE source Client IP through IPVS tinus Linux - Networking 0 01-31-2006 02:58 AM
info about ipvs and iptables entropia Linux - Security 1 01-25-2006 01:15 PM
Can't initialize ipvs: Protocol not available bahria Red Hat 2 08-10-2005 02:31 PM
configuring sunil_lc Linux - Networking 2 10-28-2003 12:30 PM
Compiling kernel - IPVS Ztyx Linux - General 2 01-04-2003 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration