MAAS configuration for using autopilot later

Sacha Yunusic sacha at penta-sec.com
Mon Mar 30 15:12:01 UTC 2015


Sorry, where says XXX, I ment https://askubuntu.com/questions/595558/how-should-i-setup-maas-so-that-it-can-be-used-by-the-canonical-openstack-autopi/595559#595559.

 

 

From: Sacha Yunusic 
Sent: lunes, 30 de marzo de 2015 12:11
To: 'Andreas Hasenack'
Cc: ubuntu-openstack-installer at lists.ubuntu.com
Subject: RE: MAAS configuration for using autopilot later

 

I’ve a question on the interfaces configuration:

This is my /etc/network/interfaces:

==============

auto lo

iface lo inet loopback

 

# The primary network interface

auto em1

iface em1 inet static

        address 192.168.30.10

        netmask 255.255.255.0

        network 192.168.30.0

        broadcast 192.168.30.255

        gateway 192.168.30.1

        # dns-* options are implemented by the resolvconf package, if installed

        dns-nameservers 192.168.10.7

        dns-search pentasec.local

        pre-up iptables-restore < /etc/network/iptables.rules

 

auto em2

iface em2 inet manual

 

auto br0

iface br0 inet static

  address 10.222.221.1

  netmask 255.255.255.0

  bridge_ports em2

=================

Next step is to install MAAS. I don’t want to install it until I’m clear on this. 

In XXX, there is a part where is said: 

1.    “You should see a list of NICs on the machine. Click the edit symbol for the NIC that's connected to the private network, that is, the network where all the nodes are”

With my configuration, should I see that em2 on MAAS? Because the IP is on the bridge and not in the interface itself (em2).

If I want to see em2 on MAAS (automatically), should I use this interface configuration, or another one?

 

Thanks,

 

Sacha.-

 

From: Andreas Hasenack [mailto:andreas at canonical.com] 
Sent: lunes, 30 de marzo de 2015 9:38
To: Sacha Yunusic
Cc: ubuntu-openstack-installer at lists.ubuntu.com
Subject: Re: MAAS configuration for using autopilot later

 

On Sat, Mar 28, 2015 at 10:21 PM, Sacha Yunusic <sacha at penta-sec.com> wrote:

Hi there, 

I’m studying about how to correctly configure and wire MAAS, and I’m reading https://askubuntu.com/questions/595558/how-should-i-setup-maas-so-that-it-can-be-used-by-the-canonical-openstack-autopi/595559#595559.

I want to do what there is called split network (public 192.168.30.0/24m private 10.222.221.0/24). I have some questions and due I don’t have enough points, I can’t ask there, so I’ll do it here:

The split network diagram shows a router that connects both, private and public networks, is that correct? An actual router has to do the routing between the private and the public networks? Is not MAAS who does that (I thought MAAS routed the traffic from the private network, em2 or eth1 to the public network, em1 or eth0)?.

In the same page, talks about the Router IP (private network) you’ve to configure in MAAS. Supposing I’ve this split network, that IP should be this router I’m asking’s IP? Or MAAS em2 (eth1)’s IP?

 

That IP needs to be whatever will route the traffic. You can have MAAS do the routing and not have that explicit router device, just don't forget to enable ip_forwarding on the box. The diagram is meant to show how to insert that layout into an existing network so people know which pieces do what.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-openstack-installer/attachments/20150330/7f616d2f/attachment.html>


More information about the ubuntu-openstack-installer mailing list