Skip to content

[WIP] Adjustments for SUSE manager for retail - Fine network setting#383

Closed
Bischoff wants to merge 2 commits intouyuni-project:masterfrom
Bischoff:retail-adjustments
Closed

[WIP] Adjustments for SUSE manager for retail - Fine network setting#383
Bischoff wants to merge 2 commits intouyuni-project:masterfrom
Bischoff:retail-adjustments

Conversation

@Bischoff
Copy link
Copy Markdown
Contributor

@Bischoff Bischoff commented Jun 28, 2018

WORK IN PROGRESS - proof of concept, not finished

This PR adds support for private network between proxy ("branch server") and clients ("terminals"). It creates a second network interface on the proxy that connects to the clients. Both networks can communicate through routing, with masquerading enabled. A DHCP server on the proxy gives the addresses to the clients.

    +-----------+  10.160.0.0/16
    |           |
+---+----+   +--+----+
|  eth0  |   | eth0  |
|        |   |       |   +--------+   +--------+
| server |   | proxy |   | client |   | minion |
+--------+   |       |   |        |   |        |
             |  eth1 |   |  eth0  |   |  eth0  |
             +---+---+   +---+----+   +---+----+
                 |           |            |
                 +-----------+------------+  192.168.5.0/24

What is not finished yet:

  1. help libvirt set the IP address of bridge on the real host to some address in the private network
  2. as avahi does not span over networks, server and controller do not know about client.tf.local

Remarks:

  1. addressed by this PR ; meanwhile, it can be worked around with
# ip address add 192.168.5.251/24 dev virbr1
  1. addressed by (still) incomplete code in salt/default/unfinished

Apart from those details, it works. Major problem of this approach is that all DHCP / avahi / DNS setup that we do for sumaform to work has to be undone once we do retail for real.

Plan is to rebase this on top of #386.

@Bischoff Bischoff changed the title [WIP] Adjustments for SUSE manager for retail [WIP] Adjustments for SUSE manager for retail - Network part Jul 2, 2018
@Bischoff Bischoff changed the title [WIP] Adjustments for SUSE manager for retail - Network part [WIP] Adjustments for SUSE manager for retail - Fine network setting Jul 5, 2018
@Bischoff
Copy link
Copy Markdown
Contributor Author

Bischoff commented Sep 4, 2018

Keeping this branch private only: closing.

@Bischoff Bischoff closed this Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant