DNS & Load balancing

Antonis Kanavouras ankan at med.auth.gr
Thu Sep 14 13:02:49 EEST 2000


Peiramatizomai me to load balancing

exw sthn eth0 	192.168.0.1
kai sthn eth0:0 192.168.1.1 

h kataxwrhsh gia to virtual.gr exei ws exhs:

-------------------------------------------------------------------
; Authoritative data for virtual.gr
;
@               IN      SOA     virtual.gr. ankan.frummel.virtual.gr.(
                                20009151        ; Serial
                                10800   ; Refresh 3 hours
                                3600    ; Retry   1 hour
                                3600000 ; Expire  1000 hours
                                86400 ) ; Minimum 24 hours*                                IN      MX      frummel 10
@                   "           IN      NS      frummel.virtual.gr.
frummel !                       iN      a       192.168.0.1
frummel     "                   IN      A       192.168.1.1
frummel.virtual.gr.             iN      hINFO   iNTEL-386
gaidur                          IN      A       192.168.0.2

----------------------------------------------------------------------------

Kanonika 8a eprepe ota zhtw ton frummel.virtual.gr na me stelnei mia sto
192.168.0.1 kai mia sto 192.168.1.1. 

To parakatw:
----------------------
while :
do
	ping -c1 frummel.virtual.gr
	sleep 1 # Gia na prolavainoume na vlepoume kai tipota
done 
--------------------------
kanei ping mono sto 192.168.0.1


To routing table einai  entaxei

Kammia idea?

Eyxaristw
Antonis

-- 
Comtuters are useless. They can only give answers...

	Pablo Picasso

--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list