Looking for Simple Instructions

Matthew matthew at matthewboehm.com
Wed Nov 15 17:48:31 GMT 2006


Roberto,

> Well, well, well ... are you trying to get the IP packets confused with 
> your setup? :)

	Wasn't "trying" to. Our hosting provider gave us 3 machines with 10 
IP's each. According to them, all three machines are plugged into the 
same physical switch. They are also the ones who setup all the original 
networking parameters below.

> From what I've seen, you seem to "own" a /24 class 
>  --> 72.52.166.0/24. You might either want to:

	For the most part, yes. I think there are 2 blocks in there that we 
don't have: .66 - .128 and .142 - .254  I'm sure other customers of 
theirs have those IPs.

Director: /etc/sysconfig/network-scripts/ifcfg-eth1 (and eth1-range0)

IPADDR=74.52.166.34
GATEWAY=74.52.166.33
NETMASK=255.255.255.240

IPADDR_START=74.52.166.35
IPADDR_END=74.52.166.45
GATEWAY=74.52.166.33
NETMASK=255.255.255.240

Slave #1: /etc/sysconfig/network-scripts/ifcfg-eth1 (and eth1-range0)

IPADDR=74.52.166.50
GATEWAY=74.52.166.49
NETMASK=255.255.255.240

IPADDR_START=74.52.166.51
IPADDR_END=74.52.166.61
GATEWAY=74.52.166.49
NETMASK=255.255.255.240
NO_ALIASROUTING=yes

Slave #2: /etc/sysconfig/network-scripts/ifcfg-eth1 (and eth1-range0)

IPADDR=74.52.166.130
GATEWAY=74.52.166.129
NETMASK=255.255.255.240

IPADDR_START=74.52.166.131
IPADDR_END=74.52.166.141
GATEWAY=74.52.166.129
NETMASK=255.255.255.240
NO_ALIASROUTING=yes

> a) Set your netmasks for the the RIP to /24 or
> b) Put your RIPs inside the same scope for all servers

	So basically for IP-DR, all servers need to use the same GW on the same 
switch? I'm guessing our hosting provider has the switch we are on 
subnetted?

> I hope this will work for you.

	I see some light. Check this:

Director:
11:31:55.232013 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>
11:31:55.232024 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>
11:31:58.221152 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>
11:31:58.221161 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>
11:32:04.254643 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>
11:32:04.254652 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>

Slave #1:
11:31:52.930429 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>
11:31:55.919545 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>
11:32:01.953014 IP 70.241.143.240.2366 > 74.52.166.35.telnet: S 
1094534970:1094534970(0) win 65535 <mss 1452,nop,nop,sackOK>

So now at least Slave #1 is getting the packets but I never got a 
response back.

If I can't get my hosting company to put me on 1 subnet, should I revert 
back to my original IP config and use IP-TUN instead? We discussed this 
load balancing thing in a meeting yesterday and someone thought it would 
be good to put one of our other machines with another provider on as 
'fallback'. That would require using TUN wouldn't it?

Thanks,
Matthew



Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list