E
Reaction score
0

Joined
Last seen

Profile posts Latest activity Postings About

  • Part 2 -------------

    adapt in /etc/sysctl.conf


    # Uncomment the next line to enable packet forwarding for IPv4
    net.ipv4.ip_forward=1

    # Uncomment the next line to enable packet forwarding for IPv6
    net.ipv6.conf.all.forwarding=1

    #-- OpenVZ begin --#

    # On Hardware Node we generally need
    # packet forwarding enabled and proxy arp disabled
    #net.ipv4.conf.default.forwarding= 0
    net.ipv4.conf.default.proxy_arp = 1

    # Enables source route verification
    net.ipv4.conf.all.rp_filter = 1

    # Enables the magic-sysrq key
    kernel.sysrq = 1

    # TCP Explict Congestion Notification
    #net.ipv4.tcp_ecn = 0

    # we do not want all our interfaces to send redirects
    net.ipv4.conf.default.send_redirects = 1
    net.ipv4.conf.all.send_redirects = 0

    #-- OpenVZ end --#

    ------

    please let me know if it works for you.

    Greetz

    Ellen
    Part 1:

    These are my settings:

    proxmox1:~# more /etc/network/interfaces
    # network interface settings
    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet static
    address 188.40.44.firstIP
    netmask 255.255.255.xxx
    gateway 188.40.44.1

    auto vmbr0
    iface vmbr0 inet static
    address 188.40.44.secondIP
    netmask 255.255.255.xxx
    gateway 188.40.44.firstIP
    bridge_ports none
    bridge_stp off
    bridge_fd 0

    # vmbr1 is only necessary if you buy an extra subnet op IP's
    auto vmbr1
    iface vmbr1 inet static
    address 188.40.188.FirstIpofExtraSubnet
    netmask 255.255.255.224
    gateway 188.40.44.firstIP
    bridge_ports none
    bridge_stp off
    bridge_fd 0
    Sorry for the PM, I needed a quick answer (if possible)
    Did you resolve (Proxmox) KVM network configuration on Hetzner server?
    I don't want to assign 2 IPs in host so what is the easiest solution?
    If you want the shorewall example please send to me your address.

    diaolin[@]diaolin.com is my email

    Ciao
  • Loading…
  • Loading…
  • Loading…