Community discussions

 
garethiowc
just joined
Topic Author
Posts: 7
Joined: Wed Dec 03, 2014 12:33 am

Proxmox and CHR

Sat Apr 07, 2018 4:02 am

Hi all,

I'm after a little bit of help in running router os inside of proxmox.

So proxmox is running on Debian on a server that is hosted by hertzner.

i have followed this guide to get download a copy of the CHR image and create the container - https://wiki.mikrotik.com/wiki/Manual:C ... stallation

the vm is up and running but i can't reach the outside world and i think it's due to my network config on the host.

Host IP -

ip - *.*.128.17
Netmask - 255.255.255.192
gateway - *.*.128.1
broadcast - *.*.128.63

CHR IP -

ip - *.*.128.105
Netmask - 255.255.255.192
gateway - *.*.128.65
broadcast - *.*.128.127

The CHR ip is a second ip address that hertzner has supplied and assigned to the host server but has a different gateway.

do i need to some how tell the host that the CHR ip address has a different gateway or is that on inside the vm?

Here is my interface config for the host -
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto eth0
iface eth0 inet static
        address  ***.**.128.17
        netmask  255.255.255.192
        gateway  ***.**.128.1
        up route add -net ***.**.128.0 netmask 255.255.255.192 gw ***.**.128.1 dev eth0
# route ***.**.128.0/26 via ***.**.128.1

iface eth0 inet6 static
        address  ****:***:221:1bd1::2
        netmask  64
        gateway  fe80::1

auto vmbr0
iface vmbr0 inet manual
        bridge_ports none
        bridge_stp off
        bridge_fd 0
        bridge_vlan_aware yes

  bridge_maxwait 0

  # Add all single IP's from your subnet
  up route add -host *.*.128.105 dev vmbr0

iface vmbr0 inet6 static
  # Our Host again as the Gateway
  address ****:***:221:1bd1::2
  # Here we use the /64 subnet!
  netmask 64


I've got next to no config in the router just at the stage of trying to send a ping
Screen Shot 2018-04-07 at 01.56.36.png
It's 2am here and i'm really tired to i could juts be doing somthing really silly but any help would be amazing

gareth
You do not have the required permissions to view the files attached to this post.
 
2frogs
Member
Member
Posts: 385
Joined: Fri Dec 03, 2010 1:38 am

Re: Proxmox and CHR

Sat Apr 07, 2018 5:35 am

 
ghusson
just joined
Posts: 4
Joined: Thu Mar 01, 2018 11:41 am

Re: Proxmox and CHR

Fri May 18, 2018 10:22 am

Hello, I am a Proxmox consultant and reseller partner. I have done several CHR installations on Proxmox.
Do you still need help ?
 
garethiowc
just joined
Topic Author
Posts: 7
Joined: Wed Dec 03, 2014 12:33 am

Re: Proxmox and CHR

Fri May 18, 2018 11:49 am

Thank you but i managed to get it working.

Hertzner require you to set the mac address of the wan interface to one they provide with the static ip address.

Who is online

Users browsing this forum: No registered users and 6 guests