OpenVZ Forum


Home » General » Support » HN and VPS with differen /24 are not working - is this not possible?
Re: HN and VPS with differen /24 are not working - is this not possible? [message #30758 is a reply to message #30753] Fri, 06 June 2008 09:22 Go to previous messageGo to previous message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
Sorry i meant XX.185.176.28. So it is on the same /24.

- firewall on the HN rejects traffic
No:
# iptables -t nat -L && iptables -t filter -L && iptables -t mangle -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     0    --  VPSIP  anywhere            
ACCEPT     0    --  anywhere             VPSIP

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         


- your network configuration doesn't allow to set random IP (your router can reject such kind of traffic)

Mhm what do you mean with random IP? Also other Servers on the same Switch uses XX.185.183.XX IPs without problems.

OK here are more informations:
HN:
ip route list
XX.158.176.0/24 dev eth0  proto kernel  scope link  src XX.158.176.27 
default via XX.158.176.1 dev eth0 


VPS:
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.0.2.1       0.0.0.0         255.255.255.255 UH    0      0        0 venet0
0.0.0.0         192.0.2.1       0.0.0.0         UG    0      0        0 venet0



I've checked with tcpdump, that traffic goes OUT but not in and this is an ARP problem. If i ping the IP of the VPS from another server in the same network than the HN does not respond.
arp -v  
Address                  HWtype  HWaddress           Flags Mask            Iface
VPSIP          (incomplete)                              eth0


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is it possible to share non-private areas when you are not migrating from virtuozzo?
Next Topic: /proc/user_beancounters not reset after VE restart.
Goto Forum:
  


Current Time: Sat Aug 02 12:29:49 GMT 2025

Total time taken to generate the page: 0.68972 seconds