OpenVZ Forum


Home » General » Support » CentOS 6 public static IP routing (/29 subnet ip routing)
CentOS 6 public static IP routing [message #50755] Sat, 26 October 2013 22:57 Go to next message
liftnbrah is currently offline  liftnbrah
Messages: 1
Registered: October 2013
Junior Member
I was given 3 of /29 IP subnets to use with my hardware node.
The format of the IPs looks a bit like this:

Network 11.11.11.108
Gateway 11.11.11.109
Broadcast 11.11.11.115
Subnet Mask 255.255.255.248
Usable IPs 11.11.11.110 - 11.11.11.114

The hardware server has eth0 and venet0 adapters. Setting up an IP for the hardware server was simple by editing ifcfg-eth0.

How can I forward/route/etc these IPs so that when I create a container it has access to the internet (and the internet has access to the IP)? I have created several containers with IPs of xxx.xxx.xxx.111 to xxx.xxx.xxx.114 but I can't SSH into them. Thanks!
Re: CentOS 6 public static IP routing [message #50771 is a reply to message #50755] Tue, 29 October 2013 12:06 Go to previous message
curx
Messages: 739
Registered: February 2006
Location: N├╝rnberg, Germany
Senior Member

have you:

- what kind of linux distribution is used?
- enabled ip_forwarding on your host node and in your container?
- any iptables rule activated aka firewall?
- the ipv4 addr are not enabled and used on host node?
Previous Topic: Ploop mount/umount issue
Next Topic: How to discover which user causing high load?
Goto Forum:
  


Current Time: Sat May 25 05:35:07 GMT 2024

Total time taken to generate the page: 0.01688 seconds