> Your explanations are a bit confusing but I've spotted a few quirks in
> your piranha conf :
> 1. Your netmask doesn't seem correct (should be 255.0.0.0)
> 2. You haven't specified the nat router which might be your problem
> Can you provide us the routing table of each director ? And an output of
> ifconfig or iproute2 ?
There is only one director, I just re-configured it so that local node is
127.0.0.1 as per Joe's email:
IP Virtual Server version 0.8.1 (size=65536)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.122.15.41:80 rr
-> 192.168.0.2:80 Masq 1 0 0
-> 127.0.0.1:80 Local 1 0 0
Machine 1 is director and apache. Machine 2 is just apache.
ifconfig on Machine 1 gives:
eth0 Link encap:Ethernet HWaddr 00:40:95:2D:08:E9
inet addr:10.122.15.41 Bcast:10.122.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33166 errors:0 dropped:0 overruns:0 frame:0
TX packets:5995 errors:0 dropped:0 overruns:0 carrier:0
collisions:137 txqueuelen:100
RX bytes:3060503 (2.9 Mb) TX bytes:1644588 (1.5 Mb)
Interrupt:11 Base address:0x8000
eth1 Link encap:Ethernet HWaddr 00:00:21:DA:0F:38
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:35047 errors:0 dropped:0 overruns:0 frame:0
TX packets:7549 errors:0 dropped:0 overruns:0 carrier:0
collisions:28 txqueuelen:100
RX bytes:3352782 (3.1 Mb) TX bytes:572498 (559.0 Kb)
Interrupt:11 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10995 errors:0 dropped:0 overruns:0 frame:0
TX packets:10995 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:901728 (880.5 Kb) TX bytes:901728 (880.5 Kb)
And ifconfig on Machine 2
eth0 Link encap:Ethernet HWaddr 00:50:BA:F0:6A:7B
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:160725 errors:0 dropped:0 overruns:0 frame:0
TX packets:1451 errors:0 dropped:0 overruns:0 carrier:0
collisions:209 txqueuelen:100
RX bytes:14752645 (14.0 Mb) TX bytes:215983 (210.9 Kb)
Interrupt:11 Base address:0x1800
eth1 Link encap:Ethernet HWaddr 00:50:BA:0A:02:E4
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:132324 errors:0 dropped:0 overruns:0 frame:0
TX packets:10785 errors:0 dropped:0 overruns:0 carrier:0
collisions:850 txqueuelen:100
RX bytes:12281521 (11.7 Mb) TX bytes:2102340 (2.0 Mb)
Interrupt:11 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:67 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9037 (8.8 Kb) TX bytes:9037 (8.8 Kb)
1) Where is the netmask wrong?
2) What do I do to configure my NAT Router? What do I need to set up externaly
to the LVS stuff to have it work?
Mike
|