OpenVZ Forum


Home » General » Support » *SOLVED* redhat enterprise 4 and mapped/ipv6 ips (FIXED)
*SOLVED* redhat enterprise 4 and mapped/ipv6 ips (FIXED) [message #3387] Thu, 25 May 2006 17:03 Go to next message
vmvmvm is currently offline  vmvmvm
Messages: 51
Registered: January 2006
Member
Hi,

I am installing openvz on a RedHat Enterprise 4 machine. The RedHat install is using mapped ipv6 ip's. For example, netstat returns address like:

::ffff:192.168.1.100

I believe this is causing a problem with openvz.

When I boot into the openvz kernel, the server comes up and is pingable. However ssh does not respond.

Is there:

A way to turn this behavior off in RHEL4? I've done many installs with CentOS 4 and have not seen this occur.

A way to adjust openvz to work with the ipv6 mapped IP's (not sure if this is really the problem though).

I would prefer to just make RHEL4 not sure the ipv6 stuff.

Any ideas?

Thanks!

[Updated on: Fri, 26 May 2006 15:43]

Report message to a moderator

Re: redhat enterprise 4 and mapped/ipv6 ips [message #3396 is a reply to message #3387] Fri, 26 May 2006 06:36 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

- kernel version?
- after reboot into OVZ kernel, can you type
# netstat -natp
in the host system please?
- do you use IPv6 at all or it just loaded by RHEL?
- you can turn off IPv6 in /etc/sysconfig/network to test w/o it or if you don't need it at all. Use 'NETWORKING_IPV6=yes|no' parameter.

additional IPv6 info from /etc/sysconfig/network-scripts/ifup-ipv6:
# Uses following information from "/etc/sysconfig/network":
#  NETWORKING_IPV6=yes|no: controls IPv6 initialization (global setting)
#  IPV6_DEFAULTDEV=<device>: controls default route (optional)
#  IPV6_DEFAULTGW=<address>: controls default route (optional)
#
# Uses following information from "/etc/sysconfig/network-scripts/ifcfg-$1":
#  IPV6INIT=yes|no: controls IPv6 configuration for this interface
#  IPV6ADDR=<IPv6 address>[/<prefix length>]: specify primary static IPv6 address
#  IPV6ADDR_SECONDARIES="<IPv6 address>[/<prefix length>] ..." (optional)
#  IPV6_ROUTER=yes|no: controls IPv6 autoconfiguration (no: multi-homed interface without routing)
#  IPV6_AUTOCONF=yes|no: controls IPv6 autoconfiguration
#   defaults:
#    IPV6FORWARDING=yes: IPV6_AUTOCONF=no, IPV6_ROUTER=yes
#    IPV6FORWARDING=no: IPV6_AUTOCONF=yes
#  IPV6_MTU=<MTU for IPv6>: controls IPv6 MTU for this link (optional)



http://static.openvz.org/userbars/openvz-developer.png
Re: redhat enterprise 4 and mapped/ipv6 ips [message #3415 is a reply to message #3396] Fri, 26 May 2006 14:52 Go to previous messageGo to next message
vmvmvm is currently offline  vmvmvm
Messages: 51
Registered: January 2006
Member
dev wrote on Fri, 26 May 2006 02:36

- kernel version?
- after reboot into OVZ kernel, can you type
# netstat -natp
in the host system please?
- do you use IPv6 at all or it just loaded by RHEL?
- you can turn off IPv6 in /etc/sysconfig/network to test w/o it or if you don't need it at all. Use 'NETWORKING_IPV6=yes|no' parameter.

additional IPv6 info from /etc/sysconfig/network-scripts/ifup-ipv6:



I do not use IPv6 at all. This was a box pre-installed at a datacenter. I had no control over the install of the base OS.

Unfortunatly I also cannot see the console (all remote a c cess)

I added :

NETWORKING_IPV6=no

to /etc/sysconfig/network

and did /sbin/service network restart

but still no luck.
Re: redhat enterprise 4 and mapped/ipv6 ips [message #3418 is a reply to message #3415] Fri, 26 May 2006 15:04 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

you still didn't write kernel version. If it is 2.6.8 and you use statefull firewall (conntracks) in the host, then try FAQ #14:
http://openvz.org/documentation/faq/en#14


http://static.openvz.org/userbars/openvz-developer.png
Re: redhat enterprise 4 and mapped/ipv6 ips [message #3421 is a reply to message #3418] Fri, 26 May 2006 15:39 Go to previous messageGo to next message
vmvmvm is currently offline  vmvmvm
Messages: 51
Registered: January 2006
Member
dev wrote on Fri, 26 May 2006 11:04

you still didn't write kernel version. If it is 2.6.8 and you use statefull firewall (conntracks) in the host, then try FAQ #14:
http://openvz.org/documentation/faq/en#14




Oops! Here's the kernel:

vmlinux-2.6.8-022stab077.1

base OS is 2.6.9-11.EL #1

I disabled all firewall rules but still no luck.

The system is pingable - just no ssh working.

Re: redhat enterprise 4 and mapped/ipv6 ips [message #3422 is a reply to message #3421] Fri, 26 May 2006 15:41 Go to previous message
vmvmvm is currently offline  vmvmvm
Messages: 51
Registered: January 2006
Member
Fixed!

I did not realize the datacenter had added some iptables rules. I removed those and all is well. Openvz bliss on another server!

Thanks!
Previous Topic: *SOLVED* need help installing Oracle 10g -- heap error
Next Topic: Enough Resources?
Goto Forum:
  


Current Time: Sat Jul 13 01:20:18 GMT 2024

Total time taken to generate the page: 0.02481 seconds